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

快速思考与缓慢思考:面向LLM代理的步骤级认知深度适应

Think Fast and Slow: Step-Level Cognitive Depth Adaptation for LLM Agents

Fudan University(复旦大学);Tencent Hunyuan(腾讯文恩)

Ruihan Yang, Fanghua Ye, Xiang We, Ruoqing Zhao, Kang Luo, Xinbo Xu, Bo Zhao, Ruotian Ma, Shanyi Wang, Zhaopeng Tu, Xiaolong Li, Deqing Yang, Linus

AI总结:

CogRouter通过动态调整认知深度提升LLM代理在多轮决策任务中的性能与效率。

摘要:

大型语言模型(LLMs)正越来越多地被用作自主代理,用于多轮决策任务。然而,当前的代理通常依赖于固定的认知模式:非思考模型生成即时响应,而思考模型则进行深度推理。这种刚性在长时间跨度的任务中效率低下,因为认知需求在步骤之间显著变化,有些需要战略规划,而其他只需例行执行。在本文中,我们引入了CogRouter框架,该框架训练代理在每一步动态适应认知深度。基于ACT-R理论,我们设计了四个层级的认知水平,从本能反应到战略规划。我们的两阶段训练方法包括认知感知监督微调(CoSFT)以建立稳定的层级特定模式,以及认知感知策略优化(CoPO)通过自信感知优势再加权实现步骤级信用分配。关键见解是适当认知深度应最大化最终动作的置信度。在ALFWorld和ScienceWorld上的实验表明,CogRouter在性能和效率方面均达到最先进水平。使用Qwen2.5-7B时,其成功率为82.3%,优于GPT-4o(+40.3%)、OpenAI-o3(+18.3%)和GRPO(+14.0%),同时使用62%更少的token。

英文摘要:

Large language models (LLMs) are increasingly deployed as autonomous agents for multi-turn decision-making tasks. However, current agents typically rely on fixed cognitive patterns: non-thinking models generate immediate responses, while thinking models engage in deep reasoning uniformly. This rigidity is inefficient for long-horizon tasks, where cognitive demands vary significantly from step to step, with some requiring strategic planning and others only routine execution. In this paper, we introduce CogRouter, a framework that trains agents to dynamically adapt cognitive depth at each step. Grounded in ACT-R theory, we design four hierarchical cognitive levels ranging from instinctive responses to strategic planning. Our two-stage training approach includes Cognition-aware Supervised Fine-tuning (CoSFT) to instill stable level-specific patterns, and Cognition-aware Policy Optimization (CoPO) for step-level credit assignment via confidence-aware advantage reweighting. The key insight is that appropriate cognitive depth should maximize the confidence of the resulting action. Experiments on ALFWorld and ScienceWorld demonstrate that CogRouter achieves state-of-the-art performance with superior efficiency. With Qwen2.5-7B, it reaches an 82.3% success rate, outperforming GPT-4o (+40.3%), OpenAI-o3 (+18.3%), and GRPO (+14.0%), while using 62% fewer tokens.

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

↑