mlsanityData to 7 Oct 2026

Language Models Improve When Pretraining Data Matches Target Tasks

arXiv 2507.12466 ↗First posted 16 Jul 2025cs.CL cs.LGcited by 18

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2024The Llama 3 Herd of Modelscited by 14,192
  6. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  7. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  8. 2025Qwen3 Technical Reportcited by 8,195
  9. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  10. 2020Scaling Laws for Neural Language Modelscited by 6,411
  11. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  12. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
38 more
  1. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  2. 2024GPT-4o System Cardcited by 4,467
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  4. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  5. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
  6. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  7. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  8. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  9. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  10. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
  11. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  12. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  13. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  14. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  15. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  16. 2020GLU Variants Improve Transformercited by 1,724
  17. 2019Root Mean Square Layer Normalizationcited by 1,425
  18. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  19. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
  20. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  21. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  22. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  23. 2016Bag of Tricks for Efficient Text Classificationcited by 869
  24. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
  25. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
  26. 2017Crowdsourcing Multiple Choice Science Questionscited by 742
  27. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
  28. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
  29. 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 683
  30. 2018CoQA: A Conversational Question Answering Challengecited by 674
  31. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
  32. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  33. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
  34. 2019ELI5: Long Form Question Answeringcited by 567
  35. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
  36. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
  37. 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
  38. 2023Scaling Data-Constrained Language Modelscited by 391

50 most cited of 104 All 104 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 14.

18 papers.

Sort:

By area:

  1. 2026Learning from Synthetic Data Improves Multi-hop Reasoningcited by 6
  2. 2025MedCEG: Reinforcing Verifiable Medical Reasoning with Critical Evidence Graphcited by 4
  3. 2025Removing Noise, not Finding Gold: Quality Filtering for Large-Scale Pretrainingcited by 3
  4. 2025Data-Centric Lessons To Improve Speech-Language Pretrainingcited by 2
  5. 2025Blu-WERP (Web Extraction and Refinement Pipeline): A Scalable Pipeline for Preprocessing Large Language Model Datasetscited by 1
  6. 2026Linear Model Merging Unlocks Simple and Scalable Multimodal Data Mixture Optimizationcited by 1
  7. 2026Capacity-Aware Mixture Law Enables Efficient LLM Data Optimizationcited by 1
  8. 2026Target-Oriented Pretraining Data Selection via Neuron-Activated Graphcited by 1
  9. 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centralitycited by 1
  10. 2026DataComp-VLM: Improved Open Datasets for Vision-Language Modelscited by 1
  11. 2026SkillRater: Untangling Capabilities in Multimodal Datacited by 0
  12. 2026Prescriptive Scaling Reveals the Evolution of Language Model Capabilitiescited by 0
6 more
  1. 2026FLUX: Data Worth Training Oncited by 0
  2. 2026BioAlchemy: Distilling Biological Literature into Reasoning-Ready Reinforcement Learning Training Datacited by 0
  3. 2026Introspective X Training: Feedback Conditioning Improves Scaling Across all LLM Training Stagescited by 0
  4. 2026LWM-CDE: A Representation Space for Wireless Data Reasoning and Transferabilitycited by 0
  5. 2026Relative Generalization Invariance of LLM Pretrainingcited by 0
  6. 2026Does Learning Protein Folding Generalize to Broader Reasoning?cited by 0