Abstract
This study investigates the impact of corpus quality on the performance of language models for low-resource languages, using Basque as a primary case study. Researchers developed EusCrawl, a high-quality, manually curated corpus, to compare against massive but noisy datasets derived from automated web crawls like mC4 and CC100. Through a combination of qualitative human audits and quantitative benchmarking on Natural Language Understanding (NLU) tasks, the study explores whether the labor-intensive process of tailored crawling is necessary. The findings suggest a "quality paradox": while humans significantly prefer curated data, the resulting models do not necessarily outperform those trained on noisier, larger, and more diverse datasets for NLU tasks.
Introduction
Most contemporary Natural Language Processing (NLP) models for non-English languages are trained on massive datasets derived from CommonCrawl, such as mC4 or CC100. These datasets are generated using automated filters and are notoriously "noisy," often containing language identification errors, boilerplate text (e.g., navigation menus), and gibberish.
In low-resource settings, where data is scarce, researchers face a critical choice: should they invest heavily in "tailored crawling"—manually selecting high-quality sources—or rely on the sheer scale of noisy, automated crawls? This paper addresses whether the messiness of automated datasets actually hinders model performance or if the diversity and volume of such data provide a more significant advantage.
Methodology
The researchers utilized Basque as a representative low-resource language to test these dynamics. The study followed a four-step methodology:
- Tailored Crawling: The team manually identified 33 high-quality Basque websites (including news outlets and encyclopedias) with Creative Commons licenses to build the EusCrawl corpus.
- Qualitative Audit: Native speakers conducted a blind audit of documents from EusCrawl, mC4, and CC100. They rated content based on language identification accuracy, variety (standard vs. dialect), coherence, noise levels, and overall quality.
- Pre-training: To ensure a fair comparison, several RoBERTa models were trained from scratch. Each model used a different corpus (EusCrawl, mC4, CC100, or Wikipedia) while maintaining identical training steps and hyperparameters.
- Evaluation: The models were benchmarked across five diverse NLU tasks: topic classification, sentiment analysis, stance detection, Named Entity Recognition (NER), and Question Answering (QA).
Dataset Comparison
The study compared four distinct corpora:
- EusCrawl: 12.5M documents (423M tokens). Curated for high quality.
- mC4 (Basque portion): 1,004M tokens. Large but highly noisy.
- CC100 (Basque portion): 416M tokens. Automatically filtered, similar in size to EusCrawl.
- Wikipedia (Basque): 66M tokens. Extremely clean but limited in domain and scale.
Key Insights
The Quality Paradox
The human audit revealed a stark contrast in quality. Approximately 66% of EusCrawl documents were rated as "high quality," whereas less than 33% of documents in mC4 and CC100 met that standard. Despite this qualitative gap, the models trained on the "messier" data performed competitively on nearly all downstream tasks.
Quantity and Diversity vs. Cleanliness
For NLU tasks, data quantity and domain coverage appeared to outweigh perfect cleanliness. The mC4-based model often ranked as a top performer, likely due to its larger size. Furthermore, the models struggled most with informal text, such as tweets used in sentiment and stance detection. Because EusCrawl and Wikipedia consist primarily of formal news and encyclopedic entries, they lacked the informal linguistic structures found in noisier web crawls, which actually benefited the mC4 and CC100 models in those specific contexts.
The Role of Wikipedia
While Wikipedia is often considered the gold standard for clean data, the study confirms it is insufficient as a sole source for pre-training robust models in low-resource settings due to its small size and narrow domain focus.
Results and Performance
The evaluation showed no single dominant web-scale corpus for NLU. The average F1 scores for the RoBERTa-base models were remarkably close:
- CC100: 67.9 Avg F1
- mC4: 67.2 Avg F1
- EusCrawl: 66.5 Avg F1
Notably, by scaling to a RoBERTa-large architecture trained on EusCrawl, the authors achieved a new state-of-the-art (SOTA) for Basque NLU with an average F1 of 69.0, surpassing previous models that utilized private, non-public datasets.
Conclusion and Future Work
The study concludes that for Natural Language Understanding, the labor-intensive process of manual curation may not be the most efficient path to better performance. Instead, researchers should prioritize finding diverse data sources that cover a wide range of domains, including social media and informal text.
However, the authors note a significant caveat: while quality may not be paramount for understanding tasks, it is likely crucial for generative tasks (such as summarization or dialogue). Noisy training data in generative models often leads to hallucinations or ungrammatical outputs. Future research should investigate whether these findings hold for "extremely" low-resource languages and how corpus quality specifically impacts generative performance.
Summary updated