Template:Model card wikidata item quality

Model card
This page is an on-wiki machine learning model card.
A diagram of a neural network
A model card is a document about a machine learning model that seeks to answer basic questions about the model.
Model Information Hub
Model creator(s)Aaron Halfaker (User:EpochFail) and Amir Sarabadani
Model owner(s)WMF Machine Learning Team (ml@wikimediafoundation.org)
Model interfaceOres homepage
CodeORES Github, ORES training data, and ORES model binaries
Uses PIINo
In production?Yes
Which projects?Wikidata
This model uses data about a revision to predict the likelihood that the item is of a certain quality level.


Motivation

edit

This model card describes a model for predicting the quality of Wikidata items. It uses structural features extracted from the item to label Wikidata items with a probability score for each item quality class.

Wikidata items range in quality from rich, well-illustrated, fully-referenced items that fully cover their topic and are easy to read to stubs that define the topic of the item but do not offer much more information. It is very useful to be able to reliably distinguish between these extremes and the various stages of quality along this spectrum. Wikidata editors have developed rich rubrics for how to evaluate the quality of Wikidata items and are constantly assessing item quality to assist in coordinating work on the wikis. Editors use these quality scores to evaluate and prioritize their work. Researchers use these quality scores to understand content dynamics. Developers use these quality scores as filters when building recommender systems or other tools.

Wikidata is always changing, which makes it time-consuming (and largely impossible) for editors to keep these quality assessments complete and up-to-date. An automatic quality model can help fill these gaps by evaluating the quality for items that are unassessed or have changed substantially since they were last assessed. In doing so, it can provide researchers and tool developers with more consistent data and even potentially help editors identify items that would benefit from a human assessment.

Users and uses

edit
Use this model for
  • high-level analyses of item quality trends
  • filtering / ranking items in tools – e.g. only show low-quality items in a recommender system
  • identifying potential ways to improve items – e.g. using the lowest-value feature from the model as a recommendation
Don't use this model for
Current uses

This model is a part of ORES, and generally accessible via API. It is used for high-level analysis of Wikidata, platform research, and other on-wiki tasks.

Example API call:
{{{model_input}}}

Ethical considerations, caveats, and recommendations

edit
  • The source data for this model is several years old — data drift may skew current outputs relative to the training data.
  • The model does not currently take into account the quality of the specific writing, so a detailed item with many fake statements may register as high quality. It does take into account structure though, so a long item would be penalized if it was poorly referenced.
  • Different wikis have different labeling schemes — do not use this model in conjunction with other models to conduct an interwiki analysis.

Model

edit

Performance

edit

Test data confusion matrix: {{{confusion_matrix}}}

Test data sample rates: {{{sample_rates}}}

Test data performance: {{{performance}}}

Implementation

edit
Model architecture
{{{model_architecture}}}
Output schema
{{{model_output_schema}}}
Example input and output
Input:
{{{model_input}}}

Output:

{{{model_output}}}

Data

edit
Data pipeline
Labels were collected from on-wiki judgements of item quality, and then joined with revision features to create a source dataset.
Training data
Train data was automatically split off from test data using functionality from the revscoring repository.
Test data
Test data was automatically and randomly split off from train data using functionality from the revscoring repository and held out during the training process. The model then makes a prediction on that data, which is compared to the underlying ground truth to calculate performance statistics.

Licenses

edit

Citation

edit

Cite this model card as:

@misc{
  Triedman_Bazira_2023_Wikidata_item_quality,
  title={ Wikidata item quality model card },
  author={ Triedman, Harold and Bazira, Kevin },
  year={ 2023 },
  url={ https://meta.wikimedia.org/wiki/Model_card_wikidata_item_quality }
}