Do LLMs Encode Functional Importance of Reasoning Tokens?
Janvijay Singh, Dilek Hakkani-Tür
TL;DR
The paper investigates whether LLMs encode token-level functional importance in their reasoning and introduces greedy pruning, a likelihood-preserving deletion method that iteratively removes tokens to produce a ranking of functional importance and length-controlled reasoning. It formalizes two pruning objectives, $L^{Ans}_{\theta_{\mathcal{P}}}$ and $L^{Joint}_{\theta_{\mathcal{P}}}$, and evaluates the approach via a teacher–pruner–student distillation framework across GSM8K, MMLU-Pro, and MATH, showing that pruned reasoning preserves answer-relevant information and enhances distillation at matched lengths. Across benchmarks, students trained on greedily pruned reasoning outperform baselines, indicating that important tokens for answer generation are retained while less critical content is pruned. Analyses reveal a stable functional structure with symbolic computation preferentially preserved and non-symbolic content pruned earlier, dynamic re-evaluation of pruning ranks as context contracts, and strong predictability of pruning ranks from attention signals, highlighting internal cues of token importance. Overall, greedy pruning provides a principled diagnostic tool for uncovering token-level functional organization in model-generated reasoning and informs efficient reasoning-space exploration.
Abstract
Large language models solve complex tasks by generating long reasoning chains, achieving higher accuracy at the cost of increased computational cost and reduced ability to isolate functionally relevant reasoning. Prior work on compact reasoning shortens such chains through probabilistic sampling, heuristics, or supervision from frontier models, but offers limited insight into whether models internally encode token-level functional importance for answer generation. We address this gap diagnostically and propose greedy pruning, a likelihood-preserving deletion procedure that iteratively removes reasoning tokens whose removal minimally degrades model likelihood under a specified objective, yielding length-controlled reasoning chains. We evaluate pruned reasoning in a distillation framework and show that students trained on pruned chains outperform a frontier-model-supervised compression baseline at matched reasoning lengths. Finally, our analysis reveals systematic pruning patterns and shows that attention scores can predict greedy pruning ranks, further suggesting that models encode a nontrivial functional importance structure over reasoning tokens.
