AttentionInfluence: Adopting Attention Head Influence for Weak-to-Strong Pretraining Data Selection
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
Other references · 50
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 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
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
38 more
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2022In-context Learning and Induction Headscited by 964
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
- 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 716
- 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
- 20242 OLMo 2 Furiouscited by 340
- 2025SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Modelcited by 335
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 232
- 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 184
- 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 177
- 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Datasetcited by 160
- 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 157
- 2024Rho-1: Not All Tokens Are What You Needcited by 133
- 2024MATES: Model-Aware Data Selection for Efficient Pretraining with Data Influence Modelscited by 100
- 2024Perplexed by Perplexity: Perplexity-Based Data Pruning With Small Reference Modelscited by 84
- 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curationcited by 76
- 2024Attention Heads of Large Language Models: A Surveycited by 67
- 2024Procedural Knowledge in Pretraining Drives Reasoning in Large Language Modelscited by 41
- 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Modelscited by 31
- 2025DataMan: Data Manager for Pre-training Large Language Modelscited by 17
- 2024The Mirrored Influence Hypothesis: Efficient Data Influence Estimation by Harnessing Forward Passescited by 16
- 2024CLongEval: A Chinese Benchmark for Evaluating Long-Context Large Language Modelscited by 15
- 2024ScalingFilter: Assessing Data Quality through Inverse Utilization of Scaling Lawscited by 15
- 2025Optimizing Pretraining Data Mixtures with LLM-Estimated Utilitycited by 15
- 2025Focus Directions Make Your Language Models Pay More Attention to Relevant Contextscited by 9
- 2024DecorateLM: Data Engineering through Corpus Rating, Tagging, and Editing with Language Modelscited by 6
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025AIR: Post-training Data Selection for Reasoning via Attention Head Influencecited by 3
- 2025Predicting Training Re-evaluation Curves Enables Effective Data Curriculums for LLMscited by 2
- 2026Target-Oriented Pretraining Data Selection via Neuron-Activated Graphcited by 2
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centralitycited by 2
- 2025Logical Structure as Knowledge: Enhancing LLM Reasoning via Structured Logical Knowledge Density Estimationcited by 1
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centrality9 Jun 2026
- 2026Target-Oriented Pretraining Data Selection via Neuron-Activated Graph17 Apr 2026
- 2025AIR: Post-training Data Selection for Reasoning via Attention Head Influence15 Dec 2025
- 2025Predicting Training Re-evaluation Curves Enables Effective Data Curriculums for LLMs29 Sep 2025
- 2025Logical Structure as Knowledge: Enhancing LLM Reasoning via Structured Logical Knowledge Density Estimation29 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrieval
- 2025ZeroTuning: Unlocking the Initial Token's Power to Enhance Large Language Models Without Training
- 2024Extending Token Computation for LLM Reasoning
- 2025Stream: Scaling up Mechanistic Interpretability to Long Context in LLMs via Sparse Attention
- 2025Less Is More: Fast and Accurate Reasoning with Cross-Head Unified Sparse Attention
- 2026Pruning via Causal Attribution Preserves Reasoning Performance in Large Language Models
- 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processing
- 2025Attention Illuminates LLM Reasoning: The Preplan-and-Anchor Rhythm Enables Fine-Grained Policy Optimization