How Good is Your Wikipedia? Auditing Data Quality for Low-resource and Multilingual NLP
Kushal Tatariya, Artur Kulmizev, Wessel Poelman, Esther Ploeger, Marcel Bollmann, Johannes Bjerva, Jiaming Luo, Heather Lent, Miryam de Lhoneux
TL;DR
This work interrogates Wikipedia as a data source for multilingual NLP, showing that non-English Wikipedias often contain noise such as foreign scripts and bot-generated content. It introduces a two-stage filtering pipeline—primary filtering (script-based language filtering and deduplication) followed by corpus-driven heuristic filters—and demonstrates that pruning bad data can preserve or improve downstream performance, especially for low-resource languages. Through monolingual, language-adaptation, and multilingual pretraining experiments, the paper reveals that data quality effects are language- and task-specific, with gains most pronounced in resource-constrained settings. The findings advocate for language- and domain-specific data quality definitions and provide actionable guidelines and code to help practitioners use Wikipedia more efficiently for pretraining and evaluation in multilingual NLP.
Abstract
Wikipedia's perceived high quality and broad language coverage have established it as a fundamental resource in multilingual NLP. In the context of low-resource languages, however, these quality assumptions are increasingly being scrutinised. This paper critically examines the data quality of Wikipedia in a non-English setting by subjecting it to various quality filtering techniques, revealing widespread issues such as a high percentage of one-line articles and duplicate articles. We evaluate the downstream impact of quality filtering on Wikipedia and find that data quality pruning is an effective means for resource-efficient training without hurting performance, especially for low-resource languages. Moreover, we advocate for a shift in perspective from seeking a general definition of data quality towards a more language- and task-specific one. Ultimately, we aim for this study to serve as a guide to using Wikipedia for pretraining in a multilingual setting.
