Supervised Fine-Tuning Achieve Rapid Task Adaption Via Alternating Attention Head Activation Patterns
Not on the map. Why?
Abstract (arXiv)
LLMs' performance on complex tasks is still unsatisfactory. A key issue is that presently LLMs learn in a data-driven schema, while the instructions about these complex tasks are both scarce and hard to collect or construct. On the contrary, a prominent phenomenon is that LLMs can learn rather fast on simpler tasks with adequate prior knowledge captured during pretraining stage. Thus, if the prerequisite and mechanism of such rapid generalization could be elucidated, it could enhance the efficiency and effectiveness of the LLM's ability to learn complex tasks. Thus, in this paper, we employ a gradient-based method, to dissect the process that the SFT process adapts LLMs to downstream tasks via the perspective of attention patterns. We find that: (1) LLMs selectively activate task-specific attention heads during SFT; (2) activation patterns for complex tasks are combinations of basic task patterns; and (3) changes in a few parameters can significantly impact activation patterns after SFT on a small number of samples.Based on these insights, experiments are conducted to actually enhance the efficiency and effectiveness of SFT.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 26 of its 32 references that are in the map. First posted on arXiv 24 Sep 2024.
Builds on
26 of 32 references.
References · 26
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 679
14 more
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 514
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
- 2023How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Compositioncited by 222
- 2022On the Effectiveness of Parameter-Efficient Fine-Tuningcited by 140
- 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 124
- 2024MathBench: Evaluating the Theory and Application Proficiency of LLMs with a Hierarchical Mathematics Benchmarkcited by 103
- 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 87
- 2023IDGI: A Framework to Eliminate Explanation Noise from Integrated Gradientscited by 16
- 2024The Need for Speed: Pruning Transformers with One Recipecited by 15
- 2024Beyond IID: Optimizing Instruction Learning from the Perspective of Instruction Interaction and Dependencycited by 13
- 2024The Right Time Matters: Data Arrangement Affects Zero-Shot Generalization in Instruction Tuningcited by 4
- 2024Automatic Channel Pruning for Multi-Head Attentioncited by 3
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025Beyond Similarity: A Gradient-based Graph Method for Instruction Tuning Data Selectioncited by 7
- 2026Why Supervised Fine-Tuning Fails to Learn: A Systematic Study of Incomplete Learning in Large Language Modelscited by 7
- 2025UFO-RL: Uncertainty-Focused Optimization for Efficient Reinforcement Learning Data Selectioncited by 4
- 2025Enhancing LLMs' Reasoning-Intensive Multimedia Search Capabilities through Fine-Tuning and Reinforcement Learningcited by 3
- 2026Crafting Reversible SFT Behaviors in Large Language Modelscited by 0
- 2026Crafting Reversible SFT Behaviors in Large Language Models7 May 2026
- 2026Why Supervised Fine-Tuning Fails to Learn: A Systematic Study of Incomplete Learning in Large Language Models11 Apr 2026
- 2025Enhancing LLMs' Reasoning-Intensive Multimedia Search Capabilities through Fine-Tuning and Reinforcement Learning24 May 2025
- 2025UFO-RL: Uncertainty-Focused Optimization for Efficient Reinforcement Learning Data Selection18 May 2025
- 2025Beyond Similarity: A Gradient-based Graph Method for Instruction Tuning Data Selection16 Feb 2025