Language Models Improve When Pretraining Data Matches Target Tasks
Not on the map. Why?
Abstract (arXiv)
Every data selection method inherently has a target. In practice, these targets often emerge implicitly through benchmark-driven iteration: researchers develop selection strategies, train models, measure benchmark performance, then refine accordingly. This raises a natural question: what happens when we make this optimization explicit? To explore this, we propose benchmark-targeted ranking (BETR), a simple method that selects pretraining documents based on similarity to benchmark training examples. BETR embeds benchmark examples and a sample of pretraining documents in a shared space, scores this sample by similarity to benchmarks, then trains a lightweight classifier to predict these scores for the full corpus. We compare data selection methods by training over 500 models spanning 1019 to 1022 FLOPs and fitting scaling laws to them. From this, we find that simply aligning pretraining data to evaluation benchmarks using BETR achieves a 2.1x compute multiplier over DCLM-Baseline (4.7x over unfiltered data) and improves performance on 9 out of 10 tasks across all scales. BETR also generalizes well: when targeting a diverse set of benchmarks disjoint from our evaluation suite, it still matches or outperforms baselines. Our scaling analysis further reveals a clear trend: larger models require less aggressive filtering. Overall, our findings show that directly matching pretraining data to target tasks precisely shapes model capabilities and highlight that optimal selection strategies must adapt to model scale.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 104 of its 119 references that are in the map. First posted on arXiv 16 Jul 2025.
Builds on
104 of 119 references.
References · 104
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025Qwen3 Technical Reportcited by 8,195
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
38 more
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2024GPT-4o System Cardcited by 4,467
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2020GLU Variants Improve Transformercited by 1,724
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2016Bag of Tricks for Efficient Text Classificationcited by 869
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
- 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
- 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 683
- 2018CoQA: A Conversational Question Answering Challengecited by 674
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
- 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
- 2019ELI5: Long Form Question Answeringcited by 567
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
- 2023Scaling Data-Constrained Language Modelscited by 391
50 most cited of 104 All 104 (JSON)
Built on by
Citing papers per year: 2025: 4; 2026: 14.
18 papers.
Sort:
By area:
- 2026Learning from Synthetic Data Improves Multi-hop Reasoningcited by 6
- 2025MedCEG: Reinforcing Verifiable Medical Reasoning with Critical Evidence Graphcited by 4
- 2025Removing Noise, not Finding Gold: Quality Filtering for Large-Scale Pretrainingcited by 3
- 2025Data-Centric Lessons To Improve Speech-Language Pretrainingcited by 2
- 2025Blu-WERP (Web Extraction and Refinement Pipeline): A Scalable Pipeline for Preprocessing Large Language Model Datasetscited by 1
- 2026Linear Model Merging Unlocks Simple and Scalable Multimodal Data Mixture Optimizationcited by 1
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimizationcited by 1
- 2026Target-Oriented Pretraining Data Selection via Neuron-Activated Graphcited by 1
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centralitycited by 1
- 2026DataComp-VLM: Improved Open Datasets for Vision-Language Modelscited by 1
- 2026SkillRater: Untangling Capabilities in Multimodal Datacited by 0
- 2026Prescriptive Scaling Reveals the Evolution of Language Model Capabilitiescited by 0
6 more
- 2026FLUX: Data Worth Training Oncited by 0
- 2026BioAlchemy: Distilling Biological Literature into Reasoning-Ready Reinforcement Learning Training Datacited by 0
- 2026Introspective X Training: Feedback Conditioning Improves Scaling Across all LLM Training Stagescited by 0
- 2026LWM-CDE: A Representation Space for Wireless Data Reasoning and Transferabilitycited by 0
- 2026Relative Generalization Invariance of LLM Pretrainingcited by 0
- 2026Does Learning Protein Folding Generalize to Broader Reasoning?cited by 0
- 2026Does Learning Protein Folding Generalize to Broader Reasoning?30 Sep 2026
- 2026Relative Generalization Invariance of LLM Pretraining26 Sep 2026
- 2026DataComp-VLM: Improved Open Datasets for Vision-Language Models26 Jun 2026
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centrality9 Jun 2026
- 2026LWM-CDE: A Representation Space for Wireless Data Reasoning and Transferability22 May 2026
- 2026Introspective X Training: Feedback Conditioning Improves Scaling Across all LLM Training Stages19 May 2026
- 2026Target-Oriented Pretraining Data Selection via Neuron-Activated Graph17 Apr 2026
- 2026BioAlchemy: Distilling Biological Literature into Reasoning-Ready Reinforcement Learning Training Data3 Apr 2026
- 2026FLUX: Data Worth Training On14 Mar 2026
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimization9 Mar 2026
- 2026Learning from Synthetic Data Improves Multi-hop Reasoning2 Mar 2026
- 2026Prescriptive Scaling Reveals the Evolution of Language Model Capabilities17 Feb 2026
6 more
- 2026SkillRater: Untangling Capabilities in Multimodal Data12 Feb 2026
- 2026Linear Model Merging Unlocks Simple and Scalable Multimodal Data Mixture Optimization4 Feb 2026
- 2025MedCEG: Reinforcing Verifiable Medical Reasoning with Critical Evidence Graph15 Dec 2025
- 2025Blu-WERP (Web Extraction and Refinement Pipeline): A Scalable Pipeline for Preprocessing Large Language Model Datasets22 Nov 2025
- 2025Data-Centric Lessons To Improve Speech-Language Pretraining22 Oct 2025
- 2025Removing Noise, not Finding Gold: Quality Filtering for Large-Scale Pretraining1 Oct 2025
- 2026Learning from Synthetic Data Improves Multi-hop Reasoningcited by 6
- 2025MedCEG: Reinforcing Verifiable Medical Reasoning with Critical Evidence Graphcited by 4
- 2026BioAlchemy: Distilling Biological Literature into Reasoning-Ready Reinforcement Learning Training Datacited by 0
- 2026Does Learning Protein Folding Generalize to Broader Reasoning?cited by 0
- 2026Does Learning Protein Folding Generalize to Broader Reasoning?30 Sep 2026
- 2026BioAlchemy: Distilling Biological Literature into Reasoning-Ready Reinforcement Learning Training Data3 Apr 2026
- 2026Learning from Synthetic Data Improves Multi-hop Reasoning2 Mar 2026
- 2025MedCEG: Reinforcing Verifiable Medical Reasoning with Critical Evidence Graph15 Dec 2025
- 2025Removing Noise, not Finding Gold: Quality Filtering for Large-Scale Pretrainingcited by 3
- 2025Data-Centric Lessons To Improve Speech-Language Pretrainingcited by 2
- 2025Blu-WERP (Web Extraction and Refinement Pipeline): A Scalable Pipeline for Preprocessing Large Language Model Datasetscited by 1
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimizationcited by 1
- 2026Target-Oriented Pretraining Data Selection via Neuron-Activated Graphcited by 1
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centralitycited by 1
- 2026SkillRater: Untangling Capabilities in Multimodal Datacited by 0
- 2026Prescriptive Scaling Reveals the Evolution of Language Model Capabilitiescited by 0
- 2026FLUX: Data Worth Training Oncited by 0
- 2026LWM-CDE: A Representation Space for Wireless Data Reasoning and Transferabilitycited by 0
- 2026Relative Generalization Invariance of LLM Pretrainingcited by 0
- 2026Relative Generalization Invariance of LLM Pretraining26 Sep 2026
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centrality9 Jun 2026
- 2026LWM-CDE: A Representation Space for Wireless Data Reasoning and Transferability22 May 2026
- 2026Target-Oriented Pretraining Data Selection via Neuron-Activated Graph17 Apr 2026
- 2026FLUX: Data Worth Training On14 Mar 2026
- 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimization9 Mar 2026
- 2026Prescriptive Scaling Reveals the Evolution of Language Model Capabilities17 Feb 2026
- 2026SkillRater: Untangling Capabilities in Multimodal Data12 Feb 2026
- 2025Blu-WERP (Web Extraction and Refinement Pipeline): A Scalable Pipeline for Preprocessing Large Language Model Datasets22 Nov 2025
- 2025Data-Centric Lessons To Improve Speech-Language Pretraining22 Oct 2025
- 2025Removing Noise, not Finding Gold: Quality Filtering for Large-Scale Pretraining1 Oct 2025