arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2509.13237cs.LGcs.AI
收藏

元认知复用:将重复的LLM推理转化为简洁行为

Metacognitive Reuse: Turning Recurring LLM Reasoning Into Concise Behaviors

Meta;Mila-Quebec AI Institute, University of Montreal(魁北克AI研究所,蒙特利尔大学);Princeton University(普林斯顿大学);Mila--Quebec AI Institute, Université de Montréal(魁北克AI研究所,蒙特利尔大学)

Aniket Didolkar, Nicolas Ballas, Sanjeev Arora, Anirudh Goyal

AI总结:

本文提出一种元认知复用机制,将LLM重复的推理片段转化为简洁可复用的“行为”,通过行为手册在推理时提供上下文或通过SFT蒸馏入参数,在三种设置下显著降低token用量并提升准确率。

摘要:

大型语言模型(LLMs)现在通过生成扩展的思维链来解决多步问题。在此过程中,它们经常在不同问题间重新推导相同的中间步骤,导致token使用量和延迟增加。上下文窗口的这种饱和状态留给探索的容量更少。我们研究了一种简单机制,通过模型对先前轨迹的自身元认知分析,将重复的推理片段转化为简洁、可复用的“行为”(名称+指令)。这些行为存储在“行为手册”中,在推理时将其提供给模型作为上下文,或通过监督微调将其蒸馏到参数中。该方法在三种不同设置下实现了改进的测试时推理:1)行为条件推理:在推理过程中向LLM提供相关的行为作为上下文,可将推理token数量减少高达46%,同时匹配或提高基线准确率;2)行为引导的自我改进:无需任何参数更新,模型通过利用自身过去解题尝试中的行为来改进其未来的推理。与简单的批评与修订基线相比,这带来了高达10%的准确率提升;3)行为条件SFT:与普通SFT相比,基于行为条件推理轨迹的SFT在将非推理模型转化为推理模型方面更为有效。这些结果共同表明,将缓慢的推导转化为快速的程序性提示,使LLMs能够记住如何推理,而不仅仅是记住结论。

英文摘要:

Large language models (LLMs) now solve multi-step problems by emitting extended chains of thought. During the process, they often re-derive the same intermediate steps across problems, inflating token usage and latency. This saturation of the context window leaves less capacity for exploration. We study a simple mechanism that converts recurring reasoning fragments into concise, reusable "behaviors" (name + instruction) via the model's own metacognitive analysis of prior traces. These behaviors are stored in a "behavior handbook" which supplies them to the model in-context at inference or distills them into parameters via supervised fine-tuning. This approach achieves improved test-time reasoning across three different settings - 1) Behavior-conditioned inference: Providing the LLM relevant behaviors in-context during reasoning reduces number of reasoning tokens by up to 46% while matching or improving baseline accuracy; 2) Behavior-guided self-improvement: Without any parameter updates, the model improves its own future reasoning by leveraging behaviors from its own past problem solving attempts. This yields up to 10% higher accuracy than a naive critique-and-revise baseline; and 3) Behavior-conditioned SFT: SFT on behavior-conditioned reasoning traces is more effective at converting non-reasoning models into reasoning models as compared to vanilla SFT. Together, these results indicate that turning slow derivations into fast procedural hints enables LLMs to remember how to reason, not just what to conclude.

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

↑