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

推理模型中回溯与潜在置信方向的相互作用研究

On the Interplay between Backtracking and Latent Confidence Directions in Reasoning Models

University of Maryland(马里兰大学);Emory University(埃默里大学)

Stephen Cheng, Zahra Sodagar, Sandeep Soni, Dinesh Manocha, Sarah Wiegreffe

AI总结:

本研究探究推理模型的内部置信度与回溯行为的关联,提取潜在置信方向可调控回溯及响应长度,且能在保持准确率的前提下缩短推理轨迹。

摘要:

推理模型会对多个答案提议进行斟酌,常因回溯导致推理轨迹过长,即便已得出正确答案(在三个32B模型中,约87%的 rollout 包含1个唯一答案,但平均仍会提出约8个答案提议)。针对这种潜在“装饰性”的思维链(CoT)推理,我们能否利用模型内部状态判断其是否会回溯或确定某个答案提议?基于模型会维护不确定性内部表示的假设,我们尝试提取该表示并刻画其与答案提议时回溯行为的关系。通过在响应轨迹中查询答案提议后的模型口头置信度,我们提取出区分高低口头置信度的潜在置信线性方向。该方向可按预期调控口头置信度,还能意外调控回溯的下一个 token 概率,其表现与直接从回溯示例提取的线性方向相当。随后我们在逐步更真实的干预下测试该方向:从轨迹中间的某个答案提议持续调控,可双向调节响应长度(约-1300至+2500 token)和答案提议数量(-4.18至+4.75),且对准确率影响极小;在生成开始时应用该置信方向(此时提议位置未知),仍能在相当准确率下缩短轨迹,其效果体现在提议的语言置信度中。总体而言,本研究揭示了模型内部置信度与其回溯或确定答案倾向之间的复杂相互作用。

英文摘要:

Reasoning models deliberate over multiple answer proposals, often resulting in excessively long traces due to backtracking, even when the correct answer has already been reached (Across three 32B models, ~87% of rollouts contain 1 unique answer yet still make ~8 answer proposals on average). Given this potentially "decorative" chain of thought (CoT) reasoning, can we look to the model internals to determine if the model will backtrack or commit to an answer proposal? Operating under the hypothesis that models maintain an internal representation of their uncertainty, we seek to extract this representation and characterize its relationship with backtracking behavior at answer proposals. By querying the model's verbalized confidence following answer proposals throughout a response trace, we extract a linear direction for latent confidence that separates high and low verbalized confidence. This direction can steer verbalized confidence as expected, but it surprisingly can also steer the next token probability of backtracking, performing on par with a linear direction extracted directly from backtracking examples. We then test the direction under progressively more realistic interventions. Steering continuously from a mid-trace answer proposal modulates response length (~-1.3k - ~+2.5k tokens) and the number of answer proposals (-4.18 - +4.75) in both directions, with minimal cost to accuracy. Applying the confidence direction from the start of generation, where proposal positions are unknown, still shortens traces at comparable accuracy, and its effect surfaces in the linguistic confidence of proposals. Overall, our study reveals the intricate interplay between a model's internal confidence and its proclivity to backtrack or commit to an answer.

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

↑