Skip to content

Counting Documents Is Not Counting Text: Unit Bias in Web-PDF Corpus Statistics

Aug 2026 · 0 citations · 12 references
Computer Science

TL;DR

This work asks how the headline statistics of a web-PDF corpus change when each document is weighted by the text it contributes rather than counted once, and recommends that corpus statistics be reported in both units, documents and tokens.

Abstract

PDF corpora advertise their size in tokens, but every rate they publish (coverage, OCR routing, re-fetch recovery, language mix) is computed per document, and none decomposes its token total. Because PDF length is extremely skewed, the two units can describe the same corpus very differently. We ask how the headline statistics of a web-PDF corpus change when each document is weighted by the text it contributes rather than counted once. We used CC-MAIN-2021-31-PDF-UNTRUNCATED (7.9M Common Crawl PDFs, 32.6B tokens), the one public corpus that pairs the fragments Common Crawl stored with the re-fetched originals. Text mass is highly concentrated: 3.02% of text-bearing documents hold half the tokens (Gini 0.807). The clearest consequence is Common Crawl's payload cap, which truncated 23.06% of these documents but 63.08% of their text. Reconstructing the truncated fragments and extracting both versions, two widely used text-layer parsers recover only 1.4% and 11.4% of that exposed text, so roughly 55-62% of the corpus's text is unrecoverable from the crawl by such pipelines; under the 5MiB cap adopted in March 2025, 30.19% of tokens would still be exposed. We recommend that corpus statistics be reported in both units, documents and tokens.

View source

Similar papers

#natural language process... Preprint Oct 2026

Measuring Artifact Reliance in Machine-Generated Text Detectors

Detectors of machine-generated text score almost perfectly on scientific-literature benchmarks, implying we can reliably distinguish with these detectors human and machine-generated documents. We looked at ten scientific-document subsets from six popular resources, and on several of them that apparent ease is a side ef...

Anastasia Voznyuk, Andrey Grabovoy · 0 citations
#machine learning Preprint Oct 2026

Forecasting Corpus-Sampling Disagreement in Masked Text Reconstruction

If a second text corpus were collected from the same population, how much would a predictor's outputs change? We study this question for masked-text reconstruction using a smoothed predictor built from nearby token-pair counts and evaluated over the full 50,257-token GPT-2 vocabulary. Treating each source document as o...

Hare Krishna · 0 citations
#artificial intelligence Preprint Aug 2026

MUDDLE: Measuring Understanding of Documents under Distractor and Length Effects

In the complete markdown sweep, hard negatives lower accuracy more than length-matched random documents at both context sizes for gpt-5-mini, while random documents stay near the no-distractor baseline, and for gpt-5-mini hard negatives significantly underperform length-matched random distractors when pooled across con...

Jason Luo, Saibilila Abudukelimu, Judy Song et al. · 2 citations
#large language models Open access Oct 2026

Designing Chinese Tokenizers under Data Constraints: A White-Box Empirical Study of Character Fragmentation

Chinese text requires substantially more tokens than English in large language models (LLMs), increasing API costs and context-window consumption. Most prior work measures this premium using off-the-shelf tokenizers, but the underlying mechanism—where the additional tokens actually arise—remains poorly understood, part...

L. Gong · 0 citations
#natural language process... Preprint Sep 2026

You Can Tell Who's Asking: What the Web's Questions Are Made Of, and Where They Come From

Questions scraped from the web are used across academia and industry as a proxy for what people want to know. Across QA training data, retrieval benchmarks, and content strategy, questions on a page are assumed to reflect human intent. We test this assumption at scale by extracting 13.4B question occurrences across 110...

Calvin Zhou, Vincent McCloskey, Krishna Srinivasan · 0 citations
#artificial intelligence Preprint Sep 2026

Data Scout: Targeted Web Crawling for Domain-Specific Pretraining Corpora

The dominant approach to building domain-specific pretraining corpora is to filter large web archives such as CommonCrawl. This works well for popular domains but breaks down for specialized ones, where relevant content is sparse and often beyond the reach of popularity-driven crawlers. We present Data Scout, which inv...

Chirag Garg, Eelaaf Zahid, Farhan Ahmed et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.