arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.01161cs.LG
收藏

推理偏移:上下文如何无声地缩短LLM推理

Reasoning Shift: How Context Silently Shortens LLM Reasoning

Yandex;HSE University(俄罗斯高等经济学院)

Gleb Rodionov, Roman Garipov, George Yakushev

AI总结:

通过系统评估,发现推理模型在不同上下文条件下(如无关长上下文、多轮对话、子任务)对同一问题的推理链长度显著缩短(最高65%),且伴随自我验证和不确定性管理行为减少,但简单任务性能不受影响,复杂任务可能受影响。

摘要:

展现出测试时缩放行为的大语言模型(LLMs),如扩展推理轨迹和自我验证,在复杂、长期推理任务上表现出色。然而,这些推理行为的鲁棒性仍未得到充分探索。为此,我们对多个推理模型在三种场景下进行了系统评估:(1)添加冗长无关上下文的问题;(2)具有独立任务的多轮对话设置;(3)作为复杂任务中的子任务呈现的问题。我们观察到一个有趣的现象:与问题单独呈现时产生的推理轨迹相比,推理模型在不同上下文条件下对同一问题产生的推理轨迹要短得多(最高达65%)。更细粒度的分析表明,这种压缩与自我验证和不确定性管理行为(如双重检查)的减少相关。虽然这种行为转变不会影响简单问题的性能,但可能会影响更具挑战性任务的表现。此外,我们表明有针对性的监督微调可以部分缓解无关上下文的不利影响。我们希望我们的发现能引起对推理模型鲁棒性以及LLM和基于LLM的智能体上下文管理问题的更多关注。

英文摘要:

Large language models (LLMs) exhibiting test-time scaling behavior, such as extended reasoning traces and self-verification, have demonstrated remarkable performance on complex, long-term reasoning tasks. However, the robustness of these reasoning behaviors remains underexplored. To investigate this, we conduct a systematic evaluation of multiple reasoning models across three scenarios: (1) problems augmented with lengthy, irrelevant context; (2) multi-turn conversational settings with independent tasks; and (3) problems presented as a subtask within a complex task. We observe an interesting phenomenon: reasoning models tend to produce much shorter reasoning traces (up to 74%) for the same problem under different context conditions compared to the traces produced when the problem is presented in isolation. A finer-grained analysis reveals that this compression is associated with a decrease in self-verification and uncertainty management behaviors, such as double-checking. Importantly, we show that even when additional self-checks are forced, their efficiency depends not only on the content of the reasoning traces, but also on the presence of redundant context. We hope our findings draw additional attention to both the robustness of reasoning models and the problem of context management for LLMs.

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

↑