
Zichun Yu, Jiarui Yan, Shlok Sanghvi, Nihar Atri, Chenyan Xiong · arXiv (Cornell University) 2026 · 2026
DOI: 10.48550/arxiv.2609.34287
Counts differ because each database indexes a different set of publications. We treat OpenAlex as the canonical count; Google Scholar is not shown (no API, and crawling it violates its ToS).
LLM pretraining corpora are normally cleaned by a stack of hand-written heuristics. A heuristic scraper extracts the main content from HTML, and dozens of rule-based filters then clean it, so corpus quality is capped by the coarseness and accuracy of the rules. In this work, we propose ReScraper, a unified language model of only 0.6B parameters that replaces this entire stack. To train ReScraper, we carefully curate supervised data from the outputs of three teacher models, so it learns to first extract the main content from raw data and then choose among four operations: keeping the page as extracted, editing out noisy lines and spans, deleting it entirely, or rewriting it when it is poorly written but informative. Based on the same crawled data pool, pretraining 400M, 1.4B, and 2.8B models on our curated data improves the DCLM Core score by a relative 3.8–4.7% over the strongest baseline at each scale, including the costly multi-agent curation. Our analyses show that each operation plays a distinct and complementary role, and that extracting and cleaning in one model outperforms a cascade of separate models. ReScraper also concentrates its operations on the pages that need them, raising the quality of poor pages the most while keeping the corpus diverse. These results demonstrate the feasibility and effectiveness of AI4AI for pretraining data curation, where a small learned model takes over an entire stage of the pipeline from hand-written heuristics. We open-source our code at https://github.com/cxcscmu/ReScraper
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) 2023 · 2023 · 79073 citations90% match
Journal of Machine Learning Research 2003 · 2003 · 27075 citations90% match
2014 · 24939 citations90% match
2001 · 21904 citations90% match
arXiv (Cornell University) 2013 · 2013 · 18054 citations95% match
arXiv (Cornell University) 2014 · 2014 · 14617 citations95% match
Communications of the ACM 1995 · 1995 · 14194 citations90% match
No comments yet — start the discussion below.
Journal of Cross-Cultural Psychology 1970 · 1970 · 13711 citations90% match
ScholarlyCommons (University of Pennsylvania) 2001 · 2001 · 12994 citations90% match
Language 2000 · 2000 · 11686 citations90% match