AIR: Post-training Data Selection for Reasoning via Attention Head Influence

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Liu, Jinrui, Wu, Jeff, Pan, Xuanguang, Cheung, Gavin, Ma, Shuai, Tao, Chongyang
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915675863252992
author Liu, Jinrui
Wu, Jeff
Pan, Xuanguang
Cheung, Gavin
Ma, Shuai
Tao, Chongyang
author_facet Liu, Jinrui
Wu, Jeff
Pan, Xuanguang
Cheung, Gavin
Ma, Shuai
Tao, Chongyang
contents LLMs achieve remarkable multi-step reasoning capabilities, yet effectively transferring these skills via post-training distillation remains challenging. Existing data selection methods, ranging from manual curation to heuristics based on length, entropy, or overall loss, fail to capture the causal importance of individual reasoning steps, limiting distillation efficiency. To address this, we propose Attention Influence for Reasoning (AIR), a principled, unsupervised and training-free framework that leverages mechanistic insights of the retrieval head to select high-value post-training data. AIR first identifies reasoning-critical attention heads of an off-the-shelf model, then constructs a weakened reference model with disabled head influence, and finally quantifies the resulting loss divergence as the Attention Influence Score. This score enables fine-grained assessment at both the step and sample levels, supporting step-level weighted fine-tuning and global sample selection. Experiments across multiple reasoning benchmarks show that AIR consistently improves reasoning accuracy, surpassing heuristic baselines and effectively isolating the most critical steps and samples. Our work establishes a mechanism-driven, data-efficient approach for reasoning distillation in LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2512_13279
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle AIR: Post-training Data Selection for Reasoning via Attention Head Influence
Liu, Jinrui
Wu, Jeff
Pan, Xuanguang
Cheung, Gavin
Ma, Shuai
Tao, Chongyang
Computation and Language
LLMs achieve remarkable multi-step reasoning capabilities, yet effectively transferring these skills via post-training distillation remains challenging. Existing data selection methods, ranging from manual curation to heuristics based on length, entropy, or overall loss, fail to capture the causal importance of individual reasoning steps, limiting distillation efficiency. To address this, we propose Attention Influence for Reasoning (AIR), a principled, unsupervised and training-free framework that leverages mechanistic insights of the retrieval head to select high-value post-training data. AIR first identifies reasoning-critical attention heads of an off-the-shelf model, then constructs a weakened reference model with disabled head influence, and finally quantifies the resulting loss divergence as the Attention Influence Score. This score enables fine-grained assessment at both the step and sample levels, supporting step-level weighted fine-tuning and global sample selection. Experiments across multiple reasoning benchmarks show that AIR consistently improves reasoning accuracy, surpassing heuristic baselines and effectively isolating the most critical steps and samples. Our work establishes a mechanism-driven, data-efficient approach for reasoning distillation in LLMs.
title AIR: Post-training Data Selection for Reasoning via Attention Head Influence
topic Computation and Language
url https://arxiv.org/abs/2512.13279