Explore the research collection
1 entry · Follow this search
- Paper
Host-Aware Web Crawling for LLM Pretraining Data
Web crawling is the main source of LLM pretraining data, yet selection pipelines discard most crawled pages — so the crawl policy itself is an upstream data-selection decision. Combining scores from ten fastText quality classifiers (DCLM, FineWeb-Edu, Nemotron-CC, GneissWeb) over 3.01M documents on 532,628 hosts from CC-MAIN-2024-10, Ostendorff shows document quality is substantially a host-level property: the intraclass correlation is 0.43–0.62, i.e. roughly half the variation in classifier scores is between hosts. Common Crawl allocates its crawl by harmonic centrality, but in simulations centrality-based host ordering collects at most 1.8× as many high-quality pages as random ordering (and fewer than random for DCLM), versus 4.0–8.0× for an oracle — the centrality signal is confounded by host language composition (English-trained classifiers score languages differently; within-language, centrality correlates positively). For crawl depth, a ~3-page sample per host already predicts the host's remaining quality (Spearman ρ = 0.53 at k=3, plateauing by k≈15–20), and a sample-then-deepen policy — probe a few pages per host, then fetch deeply from high-scoring hosts — collects up to 7.8× more high-quality pages per fetch than uniform-depth crawling at small budgets and approaches the oracle, while also keeping the classifier out of the crawler's hot path (unlike page-level schedulers such as Craw4LLM). Finally, Common Crawl's actual per-host coverage is uncorrelated with quality under every classifier tested (ρ = −0.08 across 5.65M hosts; stable across six crawls 2021–2024): an estimated 58M high-quality pages (~58B tokens at ~1,000 tokens/page) sit among known-but-uncrawled URLs in a single crawl, with 62% concentrated on 369,534 under-crawled "hidden-gem" hosts (6.5% of hosts), skewing toward national/regional news and scholarly repositories.