Elamur Research

Does Corpus Quality Really Matter for Low-Resource Languages?

Paper · 2022 · Mikel Artetxe, Itziar Aldabe, Rodrigo Agerri et al.

Summary

When training data for a language is scarce, collecting more text and cleaning the text already available can compete for the same effort. Artetxe and colleagues study that choice in Basque, a case of low-resource language research where some previous systems depended on private corpora. They ask whether a collection of clean, carefully chosen documents gives a better starting point for language understanding than text obtained through broad web crawling and automatic filtering. They test the question by examining the documents themselves and by using the corpora for pretraining before adapting RoBERTa to a range of Basque tasks.

The authors build EusCrawl by choosing 33 websites and writing scrapers for their content. The public collection draws on Creative Commons material, mostly news, and comprises 12.5M documents and 423M tokens. In a blind audit, native Basque speakers judge 66% of the EusCrawl sample to be high quality, compared with < 33% for each of the Basque collections from mC4 and CC100. The targeted collection has fewer problems with such things as fragments that fail to form a coherent document and page furniture left in the extracted text. Its most conspicuous remaining content problems include short Wikipedia entries that follow a template.

The advantage in the audit does not carry over to the benchmark scores. With the base version of RoBERTa, EusCrawl shares the lead on headline topic classification and gives the highest score on named entity recognition. The CommonCrawl-derived sources lead on the other tasks. The reported averages across the benchmarks are 66.5 for EusCrawl, 67.2 for mC4, and 67.9 for CC100. The smaller Wikipedia-only corpus averages 58.9. A larger RoBERTa trained on EusCrawl improves on the base EusCrawl system across the benchmark suite and exceeds the prior scores the authors use for comparison.

The clearest result is the gap between what the document audit establishes and what the benchmark comparison establishes. Targeted crawling produces text that native readers judge substantially cleaner. Under the tested training procedure, that change in the starting material does not deliver a general improvement in Basque understanding tasks. The authors point to corpus size and the range of writing represented in it as plausible explanations, especially where a benchmark uses tweets and a corpus is dominated by news. The corpora differ in several respects at once, so the comparison leaves the independent contribution of each factor unresolved.

Deep dive: Does Corpus Quality Really Matter for Low-Resource Languages?

A Basque pretraining study asks whether cleaner web text improves language understanding and compares targeted crawling with CommonCrawl filtering. · about 35 minutes to read

The problem and its context

How broad crawls became training corpora

A web crawl collects pages. A training corpus needs usable text from those pages, assigned to the appropriate language. In the research Artetxe and colleagues describe, a common route from one to the other begins with CommonCrawl. A pipeline processes snapshots of the web, predicts which language the extracted material belongs to, and applies filters meant to work across languages. This is an attractive starting point for multilingual natural language processing. A common collection process can supply text for many languages without requiring a separate inventory of websites and an extraction procedure for each language.

The paper cites several prominent uses of this approach. The work on cross-lingual representation learning used CC100 to train XLM-R. mT5 drew on mC4, and XGLM used CC100-XL. Each example situates the Basque corpora in a larger research practice. The authors take the Basque portion of the relevant collections to study what that practice yields for a particular language. The experiments therefore concern language-specific data obtained from multilingual resources.

Wikipedia supplied an established alternative. The paper points to its role in studies such as Multilingual BERT and work on cross-lingual transferability. An encyclopedia gives a researcher a recognizable source with an identifiable genre. That is a useful point of comparison when the other corpora come from a broad web crawl or from multiple deliberately selected publishers. The choice among those sources changes the kinds of writing available to learn from as well as the process by which text enters the collection.

The authors place these choices in the context of research that had emphasized increasing system size and computing effort while also recognizing the role of training data. They cite scaling laws work and the Gopher study in discussing quantity and quality. They also observe that much of the attention to careful curation had focused on English. A result obtained with a language that has many available sources gives limited guidance about where effort is best spent for Basque. For this paper, the practical question concerns the sources a Basque researcher could actually obtain and prepare.

What a document audit leaves open

The audit of web-crawled multilingual datasets that motivates the study had identified several ways in which scalable collection could go wrong. A document might be assigned to the wrong language. Extracted text might retain repeated material from a page layout. A purported document might contain little linguistic content. Each example points to a distinct step in the construction process. Changing the source inventory, improving language identification, and writing a better page extractor could solve different parts of the problem.

There is also a question about what such errors cost. A reader evaluating a document can notice that its paragraphs belong to unrelated passages or that its text includes a navigation menu. Pretraining on a large collection makes use of many pieces of text, so the downstream consequence of any category of defect depends on what else the collection supplies. A collection can contain a considerable amount of poor material and still offer useful examples of the language found in a benchmark. A collection of polished news can be strong by editorial standards while offering less exposure to the kind of language used in social posts.

Corpus quality thus needs a definition before it can be put in relation to benchmark performance. In the first part of the study, the definition comes from readers' judgments about a document's language, coherence, cleanliness, and substance. Those judgments address whether a text looks suitable for a general Basque collection. The second part uses supervised tests to ask how well a system adapted from each corpus handles particular tasks. Judging an individual document and measuring performance on a test set answer different questions, even when the same collection is involved in both.

The paper gives this distinction a practical form by comparing two routes to getting text. In one, the broad crawl comes first, and automatic selection finds candidate Basque material inside it. In the other, a person first chooses which publishers and sites to include, and a scraper extracts their content directly. The latter shifts some decisions upstream. It uses knowledge of a source to decide where to collect, and knowledge of its website to decide which part of the page counts as text. The resulting collection can serve as a practical alternative to broad crawling even if the authors cannot match all of its properties to those of the existing corpora.

Why Basque makes the comparison concrete

The paper describes mC4 and CC100 as, to the authors' knowledge, the largest publicly available Basque corpora at the time of the study. It also points to earlier Basque work that used private resources. Earlier work on Basque text representations supplies benchmarks and an adaptation recipe for the study, as well as part of the historical comparison. A new public corpus matters in that setting because other groups can see what material the experiments rely on and can work from the same release.

Basque is also the language of the audit and of all the downstream tests. This gives the study a way to ask about the link between data and performance without changing the language of evaluation across conditions. The same language connects the websites, the annotators' expertise, and the benchmark examples. Diversity still exists within that scope. Newspaper text, encyclopedia entries, and tweets demand different kinds of familiarity, and conversational questions add another form of language use to the test suite.

This setup turns a broad complaint about noisy multilingual corpora into a testable comparison. If the targeted method yields more usable documents by the audit's criteria, the study can ask whether the advantage survives pretraining and adaptation to Basque tasks. The design also makes room for independent answers. A researcher can value direct collection because it produces cleaner, traceable text, while using benchmark evidence to judge where that effort changes predictive performance.

The method, step by step

The two routes from documents to evidence

The authors first assemble four corpora in Basque. They then use the collections in two evaluations. A sample from each of the large web-derived collections goes to native speakers for document-level assessment. All four collections enter a pretraining comparison that ends with scores on supervised test sets. The audit requires readers to make judgments about the actual text they see. The downstream experiment requires separate training runs so that each corpus can supply its own starting point for the same tasks.

From Basque corpus collection to benchmark comparison

The steps in order.

From Basque corpus collection to benchmark comparisonStep 1: Assemble the Basque corpora1. Assemble the Basque corporaStep 2: Sample and blind the web-corpus documents2. Sample and blind the web-corpus documentsStep 3: Have native readers assess document quality3. Have native readers assess document qualityStep 4: Learn a separate vocabulary for each corpus4. Learn a separate vocabulary for each corpusStep 5: Pretrain RoBERTa independently on each corpus5. Pretrain RoBERTa independently on each corpusStep 6: Adapt each system to the Basque benchmarks6. Adapt each system to the Basque benchmarksStep 7: Compare held-out scores across corpus choices7. Compare held-out scores across corpus choices

The audit and the training branch share an interest in the same source material. An audit label is never used as a training target or as a rule for reweighting a corpus. The paper compares the completed collections as they stand. The available design therefore answers what happens when a practitioner changes the source collection and follows the same basic training recipe. It also allows the authors to ask whether the relative rankings from the two evaluations agree.

Building EusCrawl and assembling the comparison corpora

For EusCrawl, the authors identify 33 websites with Basque content and restrict collection to material available under Creative Commons licenses. They develop scrapers tailored to those sites. In practice, the extractor is allowed to use the particular arrangement of the site it is processing. A page may present the article alongside menus or other repeated material, and a site-specific scraper can aim for the part that belongs to the article. The authors describe this approach as a way to recover more of the chosen publishers' material and to extract it more cleanly.

They emphasize that appearing on the open web does not guarantee that a document makes it into mC4 or CC100. A page can be absent from the relevant CommonCrawl snapshots. It can also be present in the crawl and subsequently removed by a filter. That distinction matters because choosing a source deliberately can recover valid text at either point. The authors report that a large share of the material from the sites they chose is missing from the filtered collections. They give no measured overlap rate, so the observation explains the motivation for direct crawling without quantifying the relative contribution of missed pages and rejected pages.

The source inventory gives a better picture of EusCrawl's domain than its total size alone. Tokikom is a local media network and supplies the largest source grouping in the paper's inventory, with 784 MiB and 153M tokens. Berria is a national newspaper, listed at 525 MiB and 101M tokens. The Hitza regional newspapers contribute 418 MiB and 80M tokens. The corpus also includes the Basque Wikipedia, the Argia news magazine, the Bilbo Hiria radio station, and the Sarean technology blog. The radio station contributes material collected as website text. The inventory describes the source of the data and gives no role to audio in pretraining.

The sizes in the source breakdown help explain what selection achieved. Argia accounts for 101 MiB and 20M tokens. Sarean is listed at 2 MiB and 0.3M tokens. Both add a source, but a source's presence tells less about its weight than the amount of text it contributes. News dominates the collection through major contributions from outlets at different geographic scales. Calling EusCrawl a targeted corpus describes the method used to acquire it. Calling it primarily a news corpus describes the balance of the result.

The other conditions use existing resources. The authors take the Basque material from releases of mC4 and CC100. They also use WikiExtractor to obtain article text from a Wikipedia dump, creating a standalone encyclopedia condition. Wikipedia appears both by itself and as part of EusCrawl. That relationship helps explain why a quality issue connected to some Wikipedia entries can appear in the targeted corpus. It also gives the standalone condition a recognizable place in the design. It represents pretraining on an encyclopedia alone, while EusCrawl incorporates encyclopedia text alongside material from other publishers.

The public output of the collection effort is EusCrawl itself. The authors also make RoBERTa checkpoints available. Releasing the corpus makes the collection a usable research resource independently of its performance in any particular task. A researcher investigating a preprocessing choice, for example, can examine a source that is described by publisher and license, as well as by its size. The corpus release is part of the practical contribution alongside the audit and benchmark comparison.

Defining quality for the native-speaker audit

The authors draw 100 documents at random from each of EusCrawl, mC4, and CC100, for 300 documents in the main audit. They mix the order and withhold the corpus labels from the annotators. Assigning documents randomly to positions prevents the sequence from announcing that an annotator has moved to a different source collection. Withholding the labels lets readers make their judgments from the document instead of its reputation. Features of the text can still suggest a genre or publisher, so the blinding applies to the identity of the collection presented to the annotator.

The linguistic annotation procedure asks readers to make separate judgments about several possible problems. The first is language identification. A document is problematic if a significant part of it is in a language other than Basque. The second is language variety, judged against the study's target of correct, standard Basque. The instructions give nonstandard dialect writing and suspected machine translation as examples that might trigger this flag. A coherent dialect passage can thus receive a language-variety flag under this rubric. The flag records a departure from the standard the authors set for the corpus.

Coherence concerns how the document holds together. A piece can consist of individually readable paragraphs and still seem to have gaps or to combine unrelated passages. Noise concerns extraneous items embedded in the extracted text. Menu entries or bits of page markup are examples in the instructions. Separating these categories allows the audit to distinguish a bad choice of text boundaries from the inclusion of surrounding website material. A single document can present both problems, since the checklist is applied category by category.

The content criterion asks whether a document looks human-written and substantively informative enough to include. The annotation instructions use a football standings table as an example of text that can fail this check even though it contains meaningful information for a person interested in league positions. Its usefulness as a record of standings differs from its usefulness as a piece of connected language in a general corpus. The category also covers texts that appear to have been assembled automatically. This helps explain why a clean and coherent-looking item can still draw a content flag.

The overall rating is a separate judgment about retaining the document. A high rating means the reader sees it as good material for the corpus. A middle rating indicates some reservations after finding relatively minor issues. A low rating indicates problems serious enough to favor excluding it. The instructions frame these categories in terms of an annotator's decision about corpus membership. They provide no weighting rule that turns the checklist into an overall score. This gives the paper both an account of where problems occur and a broader judgment about the practical quality of a random sample.

To check whether the conclusions depended heavily on the first annotation, the authors ask two additional native speakers to evaluate a randomly chosen subset of 100 documents. They report that the main patterns agree across the 3 annotations and omit the additional detailed results. This is a check on the direction of the findings. Readers can see the intended safeguard and the authors' account of consistency, while the paper leaves the exact extent of agreement for each judgment unspecified.

Giving every corpus the same starting procedure

The training comparison uses RoBERTa. Its pretraining task is masked prediction. Some of the input tokens are hidden, and the system learns to predict the missing material from its context. It can do this on raw documents because the answer to a masked prediction comes from the document itself. The same text collection can therefore serve as training data before anyone assigns task-specific labels such as a headline topic or an entity class.

The paper uses SentencePiece for tokenization, the conversion of text into the units the system processes. With subword tokenization, such units can be parts of words. For each corpus the authors learn a separate vocabulary of 50k entries. Thus a corpus determines both the raw examples used in pretraining and the vocabulary used to represent those examples. The training procedure for obtaining a vocabulary is shared. Its learned contents can vary with the text.

The use of separate vocabularies has a practical implication for reading corpus size. Token counts describe text under the segmentations used in the experiments. A difference in counts can reflect how much text is present and how that text is divided into tokens. For that reason, the paper reports uncompressed text size and document counts as well as tokens. The measures are complementary. The byte size describes stored text, the document count describes the number of records, and the token count describes the units available under the specified text representation.

For the central comparison, the authors pretrain RoBERTa-base separately on every corpus. During pretraining, the model runs for 125k steps using batches of size 2048 and sequences of length 512. A step is an update in training, a batch is the set of examples processed together for an update, and the sequence length specifies the span in token units used for the inputs. The base runs use a learning rate of 7e-4. The learning rate determines the scale of an update to the learned parameters. The paper follows the RoBERTa settings for the rest of the pretraining recipe.

The authors also pretrain RoBERTa-large on EusCrawl, using a learning rate of 4e-4. This supplies a comparison of the base and large configurations on the same corpus. For each pretraining run they retain the final checkpoint, the system as it stands at the end of the prescribed schedule. They do not use early stopping to choose an earlier point. Equal step counts give the corpus comparison a common training schedule. The collections offer differing amounts of text under that schedule, so a small corpus and a large corpus do not provide the same opportunity to encounter fresh material.

Adapting to the labeled tasks

After pretraining comes fine-tuning, which continues training on examples labeled for a specific task. The starting parameters come from the corpus-specific checkpoint. The supervision comes from the same benchmark splits for each system. A topic classifier learns from headlines with assigned topics, for instance, while an extractive question-answering system learns from examples with answers found in the accompanying text. This stage gives the pretrained system experience with the required output before its predictions are measured on held-out examples.

The authors adopt the adaptation settings from the previous Basque study by Agerri and colleagues. Topic classification, sentiment classification, and stance detection use batches of 16, a learning rate of 2e-5, a warmup of 6%, and 10 epochs. Warmup is the initial part of the schedule that brings the learning rate up. The subsequent linear decay means that the rate decreases linearly as training progresses. An epoch is a pass through the training set. Each of these classification tasks follows the same specified schedule across the corpus conditions.

The authors train for four epochs on both named entity recognition and question answering, keeping the batch size at 32 and the learning rate fixed at 5e-5. A constant rate holds the update setting fixed during the prescribed training. The authors use no additional hyper-parameter search or selection among checkpoints for these evaluations. They also leave the development sets unused when the datasets supply them. The test scores therefore measure the behavior of the systems under stated, predetermined adaptation settings. The study contains no new mathematical objective. Its method is specified by the corpus construction, the annotation procedure, and the controlled training and evaluation settings.

Experiments and results

What went into each comparison

By the paper's uncompressed text measure, EusCrawl contains 2,149 MiB. Its 423M tokens and 12,528k documents describe the complete collection in the training-corpus inventory. CC100 is close in the first two measures, with 2,027 MiB and 416M tokens, and contains 16,761k documents. The closeness in token count makes these corpora a useful pair for asking whether a large improvement in reader-assessed quality will yield a broad improvement in task performance. The documents in that pair still differ by source, construction, and domain.

The Basque portion of mC4 is larger, at 4,387 MiB, 1,004M tokens, and 30,098k documents. It gives the study a broad-crawl comparison with more available text than either CC100 or EusCrawl. The standalone Wikipedia collection has 313 MiB, 66M tokens, and 2,685k documents. It has the least text by each reported measure and restricts its sources to the encyclopedia. Its evaluation is a comparison with a familiar, narrower source of pretraining text, alongside the comparisons among the larger web collections.

Baselines enter at different points in the experiment. The four RoBERTa-base runs are the direct comparison among corpus choices. Each uses the same base configuration and a common training recipe. The RoBERTa-large run tests what happens to performance when a larger configuration is trained on EusCrawl. Earlier published scores give historical context for the benchmark results. They come from prior systems and are useful for assessing how competitive the new runs are. The cleanest comparison for the corpus question remains the set of runs conducted under the shared procedure.

What readers found in the documents

EusCrawl has the strongest audit results across all the categories the authors measure. Native readers rate 66% of its sampled documents high quality. The corresponding shares for mC4 and CC100 are each < 33%. These are shares of the audited samples. A high rating combines the reader's assessment of the text with a judgment that the document deserves a place in the collection, so the result concerns perceived suitability as well as visible errors.

The category judgments show why the overall rankings differ. In the samples from mC4 and CC100, the authors find substantial problems with coherence, noise, and the nature of the content. Their comparison of the filtered corpora gives mC4 somewhat better overall perceived quality and fewer content flags than CC100. At the same time, mC4 has more problems in the other categories. The authors call particular attention to language identification and the language-variety criterion in its sample. A single ordering by overall quality would obscure those differences in the type of material a filtering pipeline admits.

EusCrawl has few flagged problems in most categories, with content the main exception. Closer reading traces most of its content problems to short, templated Wikipedia articles. The paper gives the example of a brief entry about a lizard genus that supplies a taxonomic fact and a geographic fact in a fixed-looking pattern. Such an entry can be grammatical and develop a single subject, yet still have the properties the rubric asks annotators to flag. The authors view these cases as plausible candidates for filtering in a future version. They do not evaluate a version of EusCrawl after removing them.

The audit supports the collection strategy on its own terms. Deliberate source selection and site-specific extraction produce a collection with markedly fewer of the observed defects. The experiment uses both techniques together, so the audit measures the quality of the resulting collection. The downstream evaluation asks a separate question about the value of the same corpus as training material for a particular set of predictions.

The benchmarks and their metrics

The evaluation benchmarks span different sorts of input and output. BHTC measures headline topic classification. Its 12k headlines come from the Argia news magazine and are assigned to 12 topic categories. In the standard data split, the training, development, and test sets contain 8662, 1861, and 1860 examples, respectively. This test gives a view of performance on short texts from a publication that is also represented in EusCrawl's source inventory.

Behagune measures sentiment classification on 2936 Basque tweets, labeled positive, negative, or neutral. The authors follow the earlier split, with 80% for training, 10% for testing, and 10% for development. VaxxStance also uses tweets, with 1070 examples in its training set and 313 in its test set. Its labels concern the writer's stance towards vaccines, with favor, against, and neutral as the available categories. Sentiment captures the polarity expressed in an example. Stance directs the classification towards a particular issue.

EIEC evaluates named entity recognition, the identification of mentions of named entities in text. Its training portion contains 44K tokens and 3817 unique entities. The test portion contains 15K tokens and 931 entities. The units in these dataset descriptions differ from the document totals for pretraining. The experiment adapts the system using the benchmark's entity annotations and measures how well its predictions match the annotations on held-out material.

Elkarrizketak tests extractive conversational question answering. The system is expected to identify its answer in the accompanying material. The dataset comes from the earlier study of conversational question answering in Basque. It contains 377 dialogues, with 301 for training, 38 for development, and 38 for testing. The associated 1,634 question and answer pairs are divided into 1,306 for training, 161 for development, and 167 for testing. The counts describe different aspects of the data. The dialogue split gives the number of conversational units, while the pair split counts the questions that can be asked about them.

The results use F1, a measure that incorporates both the correctness of predictions that are made and the coverage of the expected answers. For most tasks the reported variant is micro F1, which pools decisions before calculating the score. VaxxStance uses macro F1 over favor and against, following the practice the paper cites for that task. This means that the stance score gives those classes equal weight after scoring them separately. Neutral is part of the dataset, while favor and against are the classes named in the reported average. The paper also gives an average across the task scores to make the broad results easier to compare.

Individual task results are reported on the test sets as means and standard deviations across 5 runs. A mean gives the center of the repeated results. A standard deviation describes their spread, so it helps distinguish a stable point estimate from a result that varies across runs. The variability accompanying a score is particularly relevant to close comparisons. The paper's main evidence comes from recurring patterns across tasks and from a substantial separation in some comparisons, rather than from assigning decisive importance to each small gap between means.

The base configurations on the benchmark suite

RoBERTa-base corpus comparison on the Basque test suite by average F1

The larger corpora cluster together while Wikipedia trails them.

RoBERTa-base corpus comparison on the Basque test suite by average F1Wikipedia: 58.9Wikipedia58.9EusCrawl: 66.5EusCrawl66.5mC4: 67.2mC467.2CC100 (this paper): 67.9CC100 (this paper)67.9
The numbers
System or settingAverage F1
Wikipedia58.9
EusCrawl66.5
mC467.2
CC100 (this paper)67.9

CC100 has the highest reported average for RoBERTa-base. mC4 and EusCrawl are close enough in this view to make the per-task results more informative than a rank based on the average alone. Three source collections can reach similar overall scores while offering different strengths. Wikipedia falls behind the others across the suite, which makes its weaker average a broad pattern instead of an artifact of one benchmark with an unusually low result.

On BHTC, EusCrawl and CC100 each reach a mean test micro F1 of 76.2. The standard deviation is 0.6 for EusCrawl and 0.4 for CC100. mC4 reaches 75.3 with a standard deviation of 0.7, and Wikipedia reaches 70.0 with a standard deviation of 0.8. The match between EusCrawl and CC100 is informative because the targeted news corpus has an obvious domain connection to the test. CC100 nonetheless attains the same reported mean. Knowing that the input is made of headlines provides a reason to examine the relationship between sources and tasks, while the scores establish the result for this particular comparison.

On Behagune, mC4 has the highest base score, a mean test micro F1 of 80.4 with a standard deviation of 1.5. CC100 gives 78.8 with a spread of 1.2, and EusCrawl gives 77.7 with a spread of 1.4. Wikipedia scores 72.4 with a spread of 2.3. This is one of the comparisons the authors use to explain why a mostly news collection may offer weaker preparation for tweets. The result establishes an ordering of the observed means. It leaves open which parts of the filtered corpora helped to produce that ordering.

VaxxStance also favors a filtered collection in the comparison, though the lead goes to CC100. Its mean test macro F1 over favor and against is 63.4 with a standard deviation of 3.5. mC4 scores 59.1 with a standard deviation of 5.2, and EusCrawl scores 57.4 with a standard deviation of 4.7. Wikipedia reaches 53.2 with a standard deviation of 4.6. The variation is substantial relative to the gaps between some of the reported means. The shared use of tweets gives Behagune and VaxxStance a common domain feature, while their labels and scoring rules make them distinct tests.

RoBERTa-base corpus comparison on EIEC test micro F1

EusCrawl leads the base configurations on named entity recognition.

RoBERTa-base corpus comparison on EIEC test micro F1Wikipedia: 71.6Wikipedia71.6CC100: 85.2CC10085.2mC4: 86.0mC486.0EusCrawl (this paper): 86.8EusCrawl (this paper)86.8
The numbers
System or settingMicro F1
Wikipedia71.6
CC10085.2
mC486.0
EusCrawl (this paper)86.8

On EIEC, the standard deviation around the EusCrawl mean is 0.6. The corresponding values are 1.0 for mC4 and 1.2 for CC100. Wikipedia has a standard deviation of 13.1, the conspicuous case of instability in the comparison. Its average score is appreciably lower, and its mean summarizes runs that differ substantially. EusCrawl's lead over the other base systems in this task is a narrower observation than its audit lead. It shows that the targeted collection can produce a strong task-specific result under the shared training procedure.

On Elkarrizketak, CC100 has the highest base mean test micro F1 at 35.8, with a standard deviation of 1.1. mC4 reaches 35.2 with a spread of 1.8, and EusCrawl reaches 34.6 with a spread of 1.8. Wikipedia reaches 27.4 with a spread of 0.2. These results extend the uneven distribution of advantages among the larger corpora to a task that asks for an answer span rather than a document label. As with the other benchmarks, the relevant comparison is between systems on the same dataset. The numerical scale of the QA scores is shaped by the task and does not rank QA difficulty against that of the classification or entity benchmarks.

The larger EusCrawl configuration and prior results

EusCrawl configurations on the Basque test suite by average F1

The larger EusCrawl configuration improves the reported average across tasks.

EusCrawl configurations on the Basque test suite by average F1RoBERTa-base: 66.5RoBERTa-base66.5RoBERTa-large (this paper): 69.0RoBERTa-large (this paper)69.0
The numbers
System or settingAverage F1
RoBERTa-base66.5
RoBERTa-large (this paper)69.0

The larger EusCrawl configuration raises the mean test score on every benchmark compared with the base EusCrawl run. It reaches 77.6 on BHTC with a standard deviation of 0.5 and 78.8 on Behagune with a standard deviation of 0.9. On VaxxStance, its mean is 62.9 with a spread of 2.3. It obtains 87.2 on EIEC with a spread of 0.4 and 38.3 on Elkarrizketak with a spread of 1.3. Each figure uses the test F1 variant specified for that benchmark.

The per-task improvement from the base EusCrawl run is distinct from leadership among all the experiment's configurations. The base mC4 run still gives a higher mean on Behagune, and the base CC100 run gives a higher mean on VaxxStance. The larger EusCrawl configuration has the strongest overall average in the study and the highest means in its comparisons on topic classification, named entity recognition, and QA. This pattern supports the authors' observation about improvement from scaling on the chosen corpus, with the comparison on any given task depending on which other run is used as the reference.

The historical comparison gives the larger run another point of reference. The results table lists an earlier BHTC score of 76.8, a Behagune score of 78.1, and an EIEC score of 87.1 from Agerri and colleagues. It lists 35.0 for Elkarrizketak from Otegi and colleagues. The VaxxStance figure from Lai and colleagues is 57.3, identified in the table as the best prior result for a system using text alone. The larger EusCrawl configuration exceeds each of these reported figures. The text-only qualification matters for the stance comparison because it identifies the set of earlier systems to which the baseline applies.

Overall, the experiments give different practical evaluations of the same collection. The audit demonstrates that the targeted process substantially improved the text by the annotators' criteria. The benchmark suite demonstrates that EusCrawl can serve as the sole pretraining source for a competitive Basque system. The base comparisons supply the evidence on the original question about quality. They show several different corpus winners across tasks and fairly similar averages for the larger collections, in spite of the pronounced separation in their human ratings.

What the ablations show

A corpus comparison with a common training recipe

The paper compares complete corpora and includes a base-to-large comparison on EusCrawl. Its controls come from reusing the training and evaluation procedure while changing the corpus or the RoBERTa configuration. It does not remove individual types of defective text or test the effect of turning off a particular filter. The controlled comparisons therefore describe the behavior of usable training settings, with the identity of a corpus carrying several changes together.

CC100 and EusCrawl provide the closest comparison in token count. Their visual and linguistic defects are judged quite differently in the audit, while the test scores put them in the same broad range. They tie on headline topics, EusCrawl leads on entity recognition, and CC100 leads on sentiment, stance, and question answering in that pair. This distribution gives a stronger reason for caution about using audit quality as a proxy for downstream performance than the average alone. A corpus with strong audit results yields an advantage on one task, a tie on another, and lower means elsewhere.

The mC4 comparison adds a different combination of properties. It gives the learner a larger collection, and the audit identifies several kinds of defect in its sample. It leads the base runs on sentiment, although CC100 tops it on stance and QA and EusCrawl tops it on entities. A larger supply can matter while a particular task still favors another corpus. The study gives a reason to examine what the available text represents in addition to how much of it is available.

These comparisons provide evidence about the costs and benefits of choosing whole resources under a shared recipe. If a practitioner used the audited high-quality share as the sole criterion for selecting one of the corpora, that criterion would select EusCrawl. The held-out scores show what would be gained on particular tasks and where the choice would give up performance. The conclusion applies to the observed gap between an audit and this benchmark suite. Estimating the effect of cleaning an existing corpus would require observing the same material under different cleaning treatments.

The smaller encyclopedia condition

Wikipedia helps show what a weaker result across tasks looks like under the same base pretraining setup. Its scores fall below those of the larger collections on topic, sentiment, stance, entities, and QA. The authors interpret this pattern in light of its small size and narrower domain. Under a matched number of training steps, the smaller collection offers fewer distinct examples overall, and the examples that are available belong to encyclopedia writing. Both facts plausibly affect the usefulness of what is learned for the downstream data.

The relationship between Wikipedia and EusCrawl is important for interpreting this result. Wikipedia contributes to the targeted collection, where it is combined with much larger contributions from news outlets and with a few other sources. The poorer result for encyclopedia-only pretraining says how the standalone collection performs. It leaves open how much Wikipedia contributes inside EusCrawl, which may use that material differently because it is encountered alongside other text. It also leaves open how the different collections would perform at matched sizes.

The audit's finding about brief Wikipedia templates is a separate observation. Some examples from that source attract a content flag in the EusCrawl sample. That tells the authors where a future filtering effort could be directed. Since the paper includes no training condition with those articles removed, it cannot connect the flags to a score change. It is possible to locate a source of unwanted-looking material more precisely than it is to assign it a downstream cost.

Domain and the tasks that use tweets

The strongest motivation for a domain explanation comes from the tweets in Behagune and VaxxStance. The targeted corpus is mainly drawn from publishers producing news, and both CommonCrawl-derived collections outperform base EusCrawl on both tweet tasks. The authors suggest that the filtered collections are probably more varied. The fit between that suggestion and the direction of the scores makes domain coverage a reasonable explanation to investigate.

A domain in this comparison describes the kind of material and the circumstances in which it was written. An edited article and a tweet can differ in form even when they discuss the same event. The annotators' preference for coherent, clean, standard Basque makes sense as a way to judge the intended collection. A sentiment or stance benchmark can nonetheless reward exposure to the kinds of expressions found in its own texts. That creates a plausible route for a more varied corpus to perform well while drawing more quality flags in a different evaluation.

The topic benchmark complements those tweet results. It uses headlines from Argia, which is an EusCrawl source, and EusCrawl shares the highest base mean there with CC100. The connection gives a concrete example of the kind of domain relationship that can matter. The tie also shows the limits of explaining the whole result by the published source names alone. The paper does not inventory how closely each corpus matches each benchmark or measure how much relevant material from Argia appears in the filtered collections. Domain is an interpretation of observed patterns in source and task, with several plausible details unmeasured.

The different winners on the tweet tasks provide a further check on the explanation. mC4 does best for sentiment and CC100 does best for stance among the base configurations. Tweets supply a common genre, but the tasks extract different judgments from them. The evidence supports looking at corpus coverage at the level of individual benchmarks. It is less specific about what vocabulary, style, or subject matter is useful within each task, because the training data are not broken into controlled groups for that purpose.

Scaling on the same corpus

The scale comparison keeps EusCrawl as the training source and changes the RoBERTa configuration. Every mean improves relative to the base configuration on the same corpus. This shows that the benchmark scores can be raised while the underlying text collection and its audit profile stay fixed. The larger setting also creates a direct practical result for the public release, since its scores are strong against the earlier systems listed in the paper.

The two RoBERTa configurations have different learning rates, as specified in their respective recipes. The observed improvement belongs to that change of configuration as a whole. The experiment also evaluates no large counterpart for the other corpus conditions, so the same comparison cannot determine whether the gain depends on EusCrawl's quality or whether a larger system trained on a filtered collection would retain the base ordering. The cleanest finding is the improvement obtained by scaling on EusCrawl under the paper's settings.

Together, the controlled comparisons give the paper's evidence on relative importance. A large change in perceived quality accompanies little separation in the averages of the larger corpora. A move to encyclopedia-only data accompanies lower means across the benchmarks. A larger configuration with the corpus fixed accompanies improvement across those benchmarks. Quantity, domain coverage, and configuration each have an empirical role in interpreting the comparisons, with the experiments identifying specific contrasts instead of estimating a common contribution for every factor.

Limitations

Limits identified by the authors

The authors limit their conclusions to language-understanding tasks. Although question answering produces an answer, the benchmark is extractive and asks the system to find that answer in supplied material. The suite does not evaluate open-ended text generation. The paper explicitly allows for data quality to matter differently when a system must generate text. It also explains that generation quality is harder to evaluate with automatic metrics, which motivates the decision to work with the selected understanding benchmarks.

The study is confined to Basque. Its publishers, available corpora, and benchmarks give the authors one situation in which to observe the relationship between targeted collection and task performance. The paper calls for similar comparisons in other low-resource languages. Replication would help establish whether the Basque pattern holds when the amount of available text, its distribution across domains, and the nature of defects in existing crawls are different. The suggested broader conclusion remains an inference from the case studied.

The authors also identify the central difficulty in assigning a causal effect to quality. Their corpora differ in domain and other respects as well as in audit ratings. They interpret the results as evidence that quality has a limited effect relative to such factors in this setting. The experimental contrast can sustain the narrower finding directly. Choosing the corpus with better audit ratings did not yield a consistent gain across the benchmarks. A numerical estimate of what cleaning alone would do would need a comparison that holds the other corpus properties more nearly fixed.

Further limits visible in the design

The way the audit defines quality is tied to its purpose. It treats standard Basque as the target variety and can flag a coherent document for using a nonstandard dialect. Thus the high-quality rate says how well the corpus meets the expectations in the instructions. It gives no direct measurement of how the collection represents Basque dialects or how systems trained on it handle them. The distinction matters when a result about document suitability is applied to a task with audiences or writing styles unlike those anticipated by the rubric.

The audit uses random samples to estimate how common the defined defects are in the large corpora. It records whether a document has an issue in a category, and the headline percentage gives equal influence to each sampled document. A long article and a short record each count as a document. Training processes sequences of tokens, so a percentage of documents with issues cannot by itself determine the proportion of pretraining input affected. The study supplies no separate estimate of that proportion or of how much useful text survives inside a flagged document.

Blinding and the additional annotations strengthen the interpretation of the reader ratings. The authors report agreement of the main patterns, while giving no detailed agreement results for the additional readers. This limits what can be said about differences in individual categories, especially when the relevant judgment involves an assessment of content value or language variety. The broad result is a substantial gap in perceived corpus quality, supported by several problem categories. Questions about the precision of particular rates or their sensitivity to the rubric remain open.

EusCrawl's design bundles source selection with custom extraction. Its comparison with filtered CommonCrawl shows the outcome of changing both. It leaves the independent value of these choices unmeasured. The same holds for possible overlap among collections. The authors report that much material from chosen sites is missing from the filtered corpora and give reasons for this, but the overlap is not quantified. On the benchmark side, Argia's role in both the source inventory and the provenance of BHTC establishes a link at the publisher level. It supplies no evidence about whether individual held-out examples appear in the training material.

The base comparisons keep sequence length, batch size, and number of training steps fixed. They learn a separate tokenization vocabulary for each condition, which is appropriate for comparing how a practitioner could use each corpus. It means that the source change can affect the units used to encode the text as well as the text itself. Also, matching the pretraining schedule allows corpora with different token totals to be sampled differently over the course of training. The results describe the specified training regime. It remains open whether a different schedule or a common vocabulary would preserve every relative ordering.

Fine-tuning is deliberately simple and uniform across each task. The authors use fixed settings and leave development data unused. This reduces the role of configuration searches in determining the reported scores, while giving no estimate of the best attainable score under separate tuning for every corpus. The means and standard deviations from 5 runs show how outcomes vary under the stated settings. The paper does not report a formal statistical comparison for the differences among corpus conditions. Small mean gaps deserve particular care on stance and on the Wikipedia entity runs, where reported variation is large.

Finally, the suite measures selected forms of predictive accuracy. Its tasks give evidence about handling topics, sentiment, stance, entities, and extractive answers after supervised adaptation. The article's argument about data priorities rests on those outcomes. Cleaner text can also matter for a researcher who needs interpretable provenance or material suitable for inspection, and the paper's release serves those purposes through its documented sources and licenses. The benchmark comparison does not assign those benefits a numerical value.

What came after

The later citations connect the study to several distinct research questions. One concerns how to assemble multilingual training data. Others concern how to build, evaluate, and adapt Basque systems, or how to examine their grammatical knowledge. The titles and citation relationships establish those connections. They leave the particular role of EusCrawl and the details of any methodological transfer unspecified.

The BigScience ROOTS Corpus addresses the construction of a composite multilingual dataset. Its subject places corpus assembly at the center of the research. Artetxe and colleagues make the analogous decisions visible for a single language by identifying the publishers, stating the domain of their contributions, and checking the text people obtain from them. In a composite corpus, the relation between the dataset as a whole and the material available for one language is a natural point of contact with that study. The citation connects the papers at the level of corpus design. It does not establish that ROOTS incorporates EusCrawl or uses the Basque audit procedure.

Latxa pairs an openly available Basque system with an evaluation suite. Its subject brings together two things that the EusCrawl study treats as distinct parts of an empirical program, the resources used to train a system and the tests used to examine what it can do. The earlier paper establishes that a publicly described training corpus can support competitive Basque results on a set of understanding benchmarks. Latxa takes up the broader combination of building for Basque and supplying an evaluation suite for it. Its citation alone does not specify which corpus or training choices it carries forward.

Instructing Large Language Models for Low-Resource Languages makes Basque the setting for a systematic study of instruction following. This is a different stage of work from the source-corpus comparison. Artetxe and colleagues start with unlabeled text, pretrain through masked prediction, and adapt the resulting systems to individual benchmarks. The later study's stated focus is how to instruct systems in a low-resource language setting. The connection matters because an evaluation of Basque instruction following poses a new question about performance in the same language. The EusCrawl results concern supervised understanding benchmarks and supply no result for the later instruction setting.

How Well Can BERT Learn the Grammar of an Agglutinative and Flexible-Order Language? uses Basque to study learned grammar. Its title emphasizes features of the language that make grammatical competence an explicit object of inquiry. Artetxe and colleagues evaluate task outputs such as headline labels and extracted answers. A grammar study asks a more focused question about the language behavior behind a system's responses. The citation ties that question to earlier work on Basque pretraining. It gives no basis for attributing the later study's grammatical findings to a particular corpus or curation choice.

Across these connections, the original result has a specific scope. The authors show that a targeted crawl can yield cleaner Basque documents and a publicly usable corpus, while the tested scores depend on more than the quality ranking produced by native readers. Multilingual corpus construction, Basque evaluation, instruction following, and grammatical assessment each give a different meaning to the usefulness of pretraining data. The paper's contribution to those questions is a measured example of how sharply the answer can change when the criterion shifts from the documents themselves to what a trained system is asked to do.

Cite

Cite as Mikel Artetxe, Itziar Aldabe, Rodrigo Agerri, Olatz Perez-de-Viñaspre and Aitor Soroa. 2022. Does Corpus Quality Really Matter for Low-Resource Languages?. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.emnlp-main.499

@inproceedings{artetxe2022does,
  title = {{Does Corpus Quality Really Matter for Low-Resource Languages?}},
  author = {Mikel Artetxe, Itziar Aldabe, Rodrigo Agerri, Olatz Perez-de-Viñaspre and Aitor Soroa},
  booktitle = {Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.499},
  url = {https://doi.org/10.18653/v1/2022.emnlp-main.499}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/artetxe-2022-does-corpus-quality-really-matter/