arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.14696cs.CL
收藏

AdaTIR: 通过难度感知策略优化实现自适应工具集成推理

AdaTIR: Adaptive Tool-Integrated Reasoning via Difficulty-Aware Policy Optimization

Trip.com Group(Trip.com集团)

Zhaiyu Fang, Ruipeng Sun

AI总结:

AdaTIR通过难度感知策略优化实现自适应工具集成推理,有效减少工具调用并提升推理准确性。

摘要:

工具集成推理(TIR)显著增强了大型语言模型(LLMs)的能力,但当前代理倾向于表现出认知卸载,即使在简单任务上也冗余地调用外部工具。在本文中,我们建议真正的智能代理不仅需要工具调用,还需要适应的智慧来判断何时使用它们。我们提出了AdaTIR框架,该框架将范式从静态工具调用转变为难度感知的推理内化。通过引入难度感知的效率奖励,AdaTIR根据任务复杂性动态调整工具预算——对简单任务内化推理,而对复杂任务则选择性调用工具。此外,我们发现了一个符号反转问题,即工具惩罚超过正确性奖励,错误地对正确的展开施加负优势。为了解决这个问题,我们提出了截断优势塑造(CAS),确保正确性保持为主要目标,同时将效率作为次要约束。实证结果表明,AdaTIR在简单任务上将工具调用减少高达97.6%,在复杂挑战上减少28.2%,同时保持或提高准确性。值得注意的是,AdaTIR成功地内化了推理,在工具访问严格禁用的情况下,比基线高出4.8%在AIME 2024上。

英文摘要:

Tool-Integrated Reasoning (TIR) has significantly enhanced the capabilities of Large Language Models (LLMs), yet current agents tend to exhibit cognitive offloading, redundantly invoking external tools even for simple tasks. In this paper, we suggest that true agentic intelligence requires not just tool invocation, but the adaptive wisdom to discern when to use them. We propose AdaTIR, a framework that shifts the paradigm from static tool invocation to difficulty-aware reasoning internalization. By introducing a difficulty-aware efficiency reward, AdaTIR dynamically adjusts tool budgets based on task complexity--internalizing reasoning for simple tasks while selectively invoking tools for complex tasks. Furthermore, we identify a sign reversal problem where tool penalties outweigh correctness rewards, mistakenly penalizing correct rollouts with negative advantages. To resolve this, we propose Clipped Advantage Shaping (CAS), which ensures that correctness remains the primary objective while using efficiency as a secondary constraint. Empirical results demonstrate that AdaTIR reduces tool calls by up to 97.6% on simple tasks and 28.2% on complex challenges while maintaining or enhancing accuracy. Notably, AdaTIR successfully internalizes reasoning, outperforming baselines by 4.8% on AIME 2024 even when tool access is strictly disabled.

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

↑