KTAE: A Model-Free Algorithm to Key-Tokens Advantage Estimation in Mathematical Reasoning
Wei Sun, Wen Yang, Pu Jian, Qianlong Du, Fuwei Cui, Shuo Ren, Jiajun Zhang
TL;DR
KTAE addresses the limited granularity of rollout-level advantage signals in GRPO and DAPO when training LLMs for mathematical reasoning. It introduces a model-free approach that constructs token-level contingency signals from rollouts, uses Fisher's exact test and Information Gain to quantify token-correctness associations, and combines these with a direction score to form key-token values that augment the standard rollout advantage. Empirically, integrating KTAE with GRPO or DAPO yields higher accuracy on five math benchmarks and achieves shorter, more efficient responses, sometimes surpassing larger models. The method is lightweight, interpretable, and broadly applicable to reasoning tasks, offering a practical route to improve reasoning performance without additional modeling costs.
Abstract
Recent advances have demonstrated that integrating reinforcement learning with rule-based rewards can significantly enhance the reasoning capabilities of large language models, even without supervised fine-tuning. However, prevalent reinforcement learning algorithms such as GRPO and its variants like DAPO, suffer from a coarse granularity issue when computing the advantage. Specifically, they compute rollout-level advantages that assign identical values to every token within a sequence, failing to capture token-specific contributions and hindering effective learning. To address this limitation, we propose Key-token Advantage Estimation (KTAE) - a novel algorithm that estimates fine-grained, token-level advantages without introducing additional models. KTAE leverages the correctness of sampled rollouts and applies statistical analysis to quantify the importance of individual tokens within a sequence to the final outcome. This quantified token-level importance is then combined with the rollout-level advantage to obtain a more fine-grained token-level advantage estimation. Empirical results show that models trained with GRPO+KTAE and DAPO+KTAE outperform baseline methods across five mathematical reasoning benchmarks. Notably, they achieve higher accuracy with shorter responses and even surpass R1-Distill-Qwen-1.5B using the same base model.
