ACL Findings2025
Craw4LLM: Efficient Web Crawling for LLM Pretraining
Shi Yu, Zhiyuan Liu, Chenyan Xiong
Abstract
Web crawl is a main source of large language models' (LLMs) pretraining data, but the majority of crawled web pages are discarded in pretraining due to low data quality. This paper presents CRAW4LLM, an efficient web crawling method that explores the web graph based on the preference of LLM pretraining. Specifically, it leverages the influence of a webpage in LLM pretraining as the priority score of the web crawler's scheduler, replacing the standard graph-connectivity-based priority. Our experiments on a web graph containing 900 million webpages from a commercial search engine's index demonstrate the efficiency of CRAW4LLM in obtaining highquality pretraining data. With just 21% URLs crawled, LLMs pretrained on CRAW4LLM data reach the same downstream performances of previous crawls, significantly reducing the crawling waste and alleviating the burdens on websites. Our code is publicly available at https://github.com/cxcscmu/Craw4LLM.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers2
- ssToken: Self-modulated and Semantic-aware Token Selection for LLM Fine-tuningXiaohan Qin, Victor Wang, Ning Liao, Cancheng Zhang et al.ICLR 2026 · 3 citations
- TiKMiX: Efficient Semi-Dynamic Data Mixture via Data Influence for LLM Pre-trainingYifan Wang, Binbin Liu, Fengze Liu, Yuanfan Guo et al.ACL 2026
Related papers
- RePro: Training Language Models to Faithfully Recycle the Web for PretrainingZichun Yu, Chenyan XiongICML 2026 · 2 citations
- Data, Data Everywhere: A Guide for Pretraining Dataset ConstructionJupinder Parmar, Shrimai Prabhumoye, Joseph Jennings, Bo Liu et al.EMNLP 2024
- MATES: Model-Aware Data Selection for Efficient Pretraining with Data Influence ModelsZichun Yu, Spandan Das, Chenyan XiongNeurIPS 2024 · 117 citations
- Harnessing Diversity for Important Data Selection in Pretraining Large Language ModelsChi Zhang, Huaping Zhong, Kuan Zhang, Chengliang Chai et al.ICLR 2025
- Efficient Pretraining Data Selection for Language Models via Multi-Actor CollaborationTianyi Bai, Ling Yang, Zhen Hao Wong, Fupeng Sun et al.ACL 2025
