arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.25524cs.AIcs.CL
收藏

Cliff Tokens: 识别大语言模型数学推理中的单Token失败触发点

Cliff Tokens: Analyzing Failure Trigger Tokens in LLM Mathematical Reasoning

Seoul National University(首尔大学);Boston University(波士顿大学)

Jaeyong Ko, Jinu Lee, Pilsung Kang, Yukyung Lee

AI总结:

提出“悬崖token”概念,通过自适应阈值和单侧双比例z检验识别导致推理失败的单个token,删除并重采样可恢复pass@64至1.0,并基于贪心选择和token熵建立分类法,通过Cliff-DPO优化提升准确率。

摘要:

大型语言模型(LLMs)在数学推理中达到高准确率,但同一问题的个体轨迹存在分歧:有些得出正确答案,而另一些则失败。先前的工作在步骤、块或句子级别,或在已经发生失败的token处分析失败。这些方法均未能识别出触发转向失败的精确token。我们引入了悬崖token(cliff token),即基于单侧双比例z检验,在随局部token势能缩放的自适应阈值下,token势能显著下降的token。在七个模型和三个数学推理基准(GSM1K、MATH500、AIME 2025)上,悬崖token充当失败触发点;删除第一个悬崖token并重新采样可将pass@64恢复至1.0,而保留它则限制恢复在0.71至1.00之间。我们进一步引入了悬崖分类法,包括确定性悬崖、不确定性悬崖和采样偏离悬崖,由贪心选择和token熵定义。每种类型具有不同的概率特征,且该分类法可跨模型规模泛化。最后,我们通过悬崖位置的单token偏好优化(Cliff-DPO)验证了该分类法。在GSM8K上训练后,Cliff-DPO在多个基准上的准确率提升高达+6.6。优化不确定性悬崖和采样偏离悬崖可改善推理,而确定性悬崖则无此效果。

英文摘要:

Large language models reach high accuracy in mathematical reasoning, but individual traces on the same problem diverge; some arrive at the correct answer while others fail. Prior work localizes such failures at the step, chunk, or sentence level, or identifies tokens where failure has already occurred. These approaches leave open which token triggers failure. We introduce the cliff token, a token at which the estimated probability of reaching the correct answer (success probability) drops beyond an adaptive threshold. Across seven models and three mathematical reasoning benchmarks (GSM1K, MATH500, AIME 2025), cliff tokens act as failure triggers. For incorrect traces containing cliff tokens, we compare resampling immediately before and after the first cliff token. Resampling before it shows higher pass@$k$ at the same sample count. We further introduce a cliff taxonomy of deterministic, uncertain, and sampled-off cliffs, defined by greedy choice and token entropy. Additionally, we show that the three types differ as training signals. Using single-token preference optimization at cliff positions (Cliff-DPO), we find that uncertain and sampled-off cliffs show larger accuracy gains than deterministic cliffs on three evaluation benchmarks. We release token-level rollout data and source code to enable further analysis without regenerating costly rollouts: https://github.com/beaver-22/Cliff-token

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑