mlsanityData to 14 Oct 2026

AttentionInfluence: Adopting Attention Head Influence for Weak-to-Strong Pretraining Data Selection

arXiv 2505.07293 ↗First posted 12 May 2025cs.CLcited by 5

On the map: LLM reasoning → Test-time compute and efficient thinking

Abstract (arXiv)

Recently, there has been growing interest in collecting reasoning-intensive pretraining data to improve LLMs' complex reasoning ability. Prior approaches typically rely on supervised classifiers to identify such data, which requires labeling by humans or LLMs, often introducing domain-specific biases. Due to the attention heads being crucial to in-context reasoning, we propose AttentionInfluence, a simple yet effective, training-free method without supervision signal. Our approach enables a small pretrained language model to act as a strong data selector through a simple attention head masking operation. Specifically, we identify retrieval heads and compute the loss difference when masking these heads. We apply AttentionInfluence to a 1.3B-parameter dense model to conduct data selection on the SmolLM corpus of 241B tokens, and mix the SmolLM corpus with the selected subset comprising 73B tokens to pretrain a 7B-parameter dense model using 1T training tokens and WSD learning rate scheduling. Our experimental results demonstrate substantial improvements, ranging from 1.4pp to 3.5pp, across several knowledge-intensive and reasoning-heavy benchmarks (i.e., MMLU, MMLU-Pro, AGIEval-en, GSM8K, and HumanEval). This demonstrates an effective weak-to-strong scaling property, with small models improving the final performance of larger models-offering a promising and scalable path for reasoning-centric data selection.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 51 of its 57 references that are in the map. First posted on arXiv 12 May 2025.

Builds on

51 of 57 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct

Other references · 50

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  8. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  11. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
38 more
  1. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  2. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  3. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
  4. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  5. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  6. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  7. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  8. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  9. 2022In-context Learning and Induction Headscited by 964
  10. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
  11. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  12. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
  13. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 716
  14. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
  15. 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
  16. 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
  17. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
  18. 20242 OLMo 2 Furiouscited by 340
  19. 2025SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Modelcited by 335
  20. 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 232
  21. 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 184
  22. 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 177
  23. 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Datasetcited by 160
  24. 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 157
  25. 2024Rho-1: Not All Tokens Are What You Needcited by 133
  26. 2024MATES: Model-Aware Data Selection for Efficient Pretraining with Data Influence Modelscited by 100
  27. 2024Perplexed by Perplexity: Perplexity-Based Data Pruning With Small Reference Modelscited by 84
  28. 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curationcited by 76
  29. 2024Attention Heads of Large Language Models: A Surveycited by 67
  30. 2024Procedural Knowledge in Pretraining Drives Reasoning in Large Language Modelscited by 41
  31. 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Modelscited by 31
  32. 2025DataMan: Data Manager for Pre-training Large Language Modelscited by 17
  33. 2024The Mirrored Influence Hypothesis: Efficient Data Influence Estimation by Harnessing Forward Passescited by 16
  34. 2024CLongEval: A Chinese Benchmark for Evaluating Long-Context Large Language Modelscited by 15
  35. 2024ScalingFilter: Assessing Data Quality through Inverse Utilization of Scaling Lawscited by 15
  36. 2025Optimizing Pretraining Data Mixtures with LLM-Estimated Utilitycited by 15
  37. 2025Focus Directions Make Your Language Models Pay More Attention to Relevant Contextscited by 9
  38. 2024DecorateLM: Data Engineering through Corpus Rating, Tagging, and Editing with Language Modelscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrieval
  2. 2025ZeroTuning: Unlocking the Initial Token's Power to Enhance Large Language Models Without Training
  3. 2024Extending Token Computation for LLM Reasoning
  4. 2025Stream: Scaling up Mechanistic Interpretability to Long Context in LLMs via Sparse Attention
  5. 2025Less Is More: Fast and Accurate Reasoning with Cross-Head Unified Sparse Attention
  6. 2026Pruning via Causal Attribution Preserves Reasoning Performance in Large Language Models
  7. 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processing
  8. 2025Attention Illuminates LLM Reasoning: The Preplan-and-Anchor Rhythm Enables Fine-Grained Policy Optimization