Skip to main content
QUICK REVIEW

[Paper Review] Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpus

Jesse Dodge, Maarten Sap|arXiv (Cornell University)|Apr 18, 2021
Natural Language Processing TechniquesComputer Science7 citations
TL;DR

This paper provides comprehensive documentation for the Colossal Clean Crawled Corpus (C4), a large-scale webtext corpus used to train major language models. It analyzes data sources, content quality, and filtering impacts—revealing significant machine-generated text, contamination from benchmark datasets, and biased removal of minority-language texts—while advocating for multi-level documentation in web-scale NLP datasets.

ABSTRACT

Large language models have led to remarkable progress on many NLP tasks, and researchers are turning to ever-larger text corpora to train them. Some of the largest corpora available are made by scraping significant portions of the internet, and are frequently introduced with only minimal documentation. In this work we provide some of the first documentation for the Colossal Clean Crawled Corpus (C4; Raffel et al., 2020), a dataset created by applying a set of filters to a single snapshot of Common Crawl. We begin by investigating where the data came from, and find a significant amount of text from unexpected sources like patents and US military websites. Then we explore the content of the text itself, and find machine-generated text (e.g., from machine translation systems) and evaluation examples from other benchmark NLP datasets. To understand the impact of the filters applied to create this dataset, we evaluate the text that was removed, and show that blocklist filtering disproportionately removes text from and about minority individuals. Finally, we conclude with some recommendations for how to created and document web-scale datasets from a scrape of the internet.

Motivation & Objective

  • To address the lack of thorough documentation for large-scale, web-crawled language datasets like C4, which are critical for training state-of-the-art language models.
  • To investigate the provenance and composition of text in C4, particularly identifying unexpected sources such as patents and government websites.
  • To evaluate the impact of filtering mechanisms—especially blocklist-based removal—on underrepresented linguistic groups, including African American English and LGBTQ+ content.
  • To quantify sentiment biases in C4 by analyzing co-occurrence patterns of ethnic terms and sentiment lexicons, revealing disparities in positivity toward certain ethnicities.
  • To advocate for standardized, multi-level documentation (metadata, content, and exclusion records) in future web-scale NLP datasets to improve reproducibility and fairness.

Proposed method

  • Collected and analyzed the C4.en dataset, derived from the April 2019 Common Crawl snapshot, using domain-level metadata and text-level filtering techniques.
  • Trained and applied a language detection model (langdetect) to retain only documents classified as English with 99% confidence or higher.
  • Used tokenization and co-occurrence analysis to compare sentiment patterns between ethnic terms like 'Jewish' and 'Arab' across C4 and domain-specific subsets (e.g., NYTimes, Al Jazeera).
  • Evaluated multiple sentiment lexicons—VADER, SocialSent, and a manually curated one from UNQOVER questions—to estimate sentiment polarity in paragraphs containing target ethnicity terms.
  • Applied blocklist filtering to identify disproportionate removal of text from minority-identified linguistic varieties, particularly those associated with African American English and LGBTQ+ identities.
  • Hosted three filtered versions of C4, an indexed search interface, and a public discussion repository to support reproducibility and community scrutiny.

Experimental results

Research questions

  • RQ1What are the primary sources of text in the C4 corpus, and how do they compare to expected distributions from general web content?
  • RQ2To what extent does the C4 corpus contain machine-generated text or contamination from benchmark NLP datasets?
  • RQ3How do filtering mechanisms—particularly blocklist-based removal—affect the representation of minority-identified linguistic groups?
  • RQ4What sentiment biases are present in C4 for specific ethnic identities, and how do they vary across different domains and sentiment lexicons?
  • RQ5What are the key components of a comprehensive, multi-level documentation framework for web-scale language datasets?

Key findings

  • C4 contains significant text from unexpected sources, including US military websites (.mil) and patent databases, which are not typically associated with general webtext corpora.
  • Approximately 73.2% of sentiment-bearing tokens in paragraphs containing 'Jewish' were classified as positive using the SocialSent lexicon, compared to 65.7% for 'Arab', resulting in a 7.5 percentage point positivity gap favoring 'Jewish'.
  • Blocklist filtering disproportionately removed text from linguistic varieties associated with minority identities, including African American English and content discussing LGBTQ+ identities.
  • The UnifiedQA model showed a 67.1% positivity association with 'Jewish' compared to only 36.6% for 'African', indicating strong model-level bias aligned with C4's training data.
  • Sentiment bias was domain-dependent: NYT showed a 4.5% positivity gap for 'Jewish' over 'Arab', while Al Jazeera showed nearly no difference (42.5% vs. 42.8%), highlighting context-dependent bias.
  • The study released three filtered versions of C4, an indexed search interface, and a public discussion forum to support reproducibility and community-driven analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.