Large Language Model-guided Document Selection
Not on the map. Why?
Abstract (arXiv)
Large Language Model (LLM) pre-training exhausts an ever growing compute budget, yet recent research has demonstrated that careful document selection enables comparable model quality with only a fraction of the FLOPs. Inspired by efforts suggesting that domain-specific training document selection is in fact an interpretable process [Gunasekar et al., 2023], as well as research showing that instruction-finetuned LLMs are adept zero-shot data labelers [Gilardi et al.,2023], we explore a promising direction for scalable general-domain document selection; employing a prompted LLM as a document grader, we distill quality labels into a classifier model, which is applied at scale to a large, and already heavily-filtered, web-crawl-derived corpus autonomously. Following the guidance of this classifier, we drop 75% of the corpus and train LLMs on the remaining data. Results across multiple benchmarks show that: 1. Filtering allows us to quality-match a model trained on the full corpus across diverse benchmarks with at most 70% of the FLOPs, 2. More capable LLM labelers and classifier models lead to better results that are less sensitive to the labeler's prompt, 3. In-context learning helps to boost the performance of less-capable labeling models. In all cases we use open-source datasets, models, recipes, and evaluation frameworks, so that results can be reproduced by the community.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 35 of its 49 references that are in the map. First posted on arXiv 7 Jun 2024.
Builds on
35 of 49 references.
References · 35
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
23 more
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
- 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 870
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2023Scaling Data-Constrained Language Modelscited by 403
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
- 2023Data Selection for Language Models via Importance Resamplingcited by 329
- 2023From Quantity to Quality: Boosting LLM Performance with Self-Guided Data Selection for Instruction Tuningcited by 307
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 183
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 182
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 161
- 2022Scaling Laws and Interpretability of Learning from Repeated Datacited by 152
- 2023D4: Improving LLM Pretraining via Document De-Duplication and Diversificationcited by 150
- 2024How to Train Data-Efficient LLMscited by 93
- 2023Active Instruction Tuning: Improving Cross-Task Generalization by Training on Prompt Sensitive Taskscited by 55
- 2024Autonomous Data Selection with Zero-shot Generative Classifiers for Mathematical Textscited by 27
Built on by
Citing papers per year: 2024: 4; 2025: 1.
5 papers.
- 2024Apple Intelligence Foundation Language Modelscited by 24
- 2025Language Models Improve When Pretraining Data Matches Target Taskscited by 19
- 2024Task-Adaptive Pretrained Language Models via Clustered-Importance Samplingcited by 18
- 2024Training Bilingual LMs with Data Constraints in the Targeted Languagecited by 6
- 2024Rethinking KenLM: Good and Bad Model Ensembles for Efficient Text Quality Filtering in Large Web Corporacited by 1
- 2025Language Models Improve When Pretraining Data Matches Target Tasks16 Jul 2025
- 2024Training Bilingual LMs with Data Constraints in the Targeted Language20 Nov 2024
- 2024Task-Adaptive Pretrained Language Models via Clustered-Importance Sampling30 Sep 2024
- 2024Rethinking KenLM: Good and Bad Model Ensembles for Efficient Text Quality Filtering in Large Web Corpora15 Sep 2024
- 2024Apple Intelligence Foundation Language Models29 Jul 2024