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

Agent-Omit:适应性上下文省略以提高LLM代理效率

Agent-Omit: Adaptive Context Omission for Efficient LLM Agents

AI Thrust, The Hong Kong University of Science(香港科学与技术大学人工智能前沿);Didichuxing Co. Ltd(滴滴出行有限公司)

Yansong Ning, Jun Fang, Naiqiang Tan, Hao Liu

AI总结:

本文提出Agent-Omit框架,通过省略冗余思考和观察提升LLM代理效率,实验表明其在多个基准测试中表现优异。

摘要:

在多轮代理-环境交互中管理代理上下文(如思考和观察)是提升代理效率的新策略。然而,现有研究将整个交互轨迹视为平等,忽略了不同轮次中思考的必要性和观察的效用存在差异。为此,我们首先定量研究了思考和观察如何影响代理的有效性和效率。基于我们的发现,我们提出Agent-Omit,一个统一的训练框架,使LLM代理能够适应性地省略冗余的思考和观察。具体而言,我们首先合成少量冷启动数据,包括单轮和多轮省略场景,以微调代理的省略行为。此外,我们引入了省略感知的代理强化学习方法,结合双采样机制和定制化的省略奖励以激励代理的适应性省略能力。理论上,我们证明了我们省略策略的偏差被KL散度上界所限制。在五个代理基准测试中的实验结果表明,我们的构造Agent-Omit-8B能够获得与七个前沿LLM代理相当的性能,并在七种高效LLM代理方法中实现了最佳的有效性-效率权衡。我们的代码和数据可在https://github.com/usail-hkust/Agent-Omit获取。

英文摘要:

Managing agent context (e.g., thought and observation) during multi-turn agent-environment interactions is an emerging strategy to improve agent efficiency. However, existing studies treat the entire interaction trajectories equally, overlooking the thought necessity and observation utility varies across turns. To this end, we first conduct quantitative investigations into how thought and observation affect agent effectiveness and efficiency. Based on our findings, we propose Agent-Omit, a unified training framework that empowers LLM agents to adaptively omit redundant thoughts and observations. Specifically, we first synthesize a small amount of cold-start data, including both single-turn and multi-turn omission scenarios, to fine-tune the agent for omission behaviors. Furthermore, we introduce an omit-aware agentic reinforcement learning approach, incorporating a dual sampling mechanism and a tailored omission reward to incentivize the agent's adaptive omission capability. Theoretically, we prove that the deviation of our omission policy is upper-bounded by KL-divergence. Experimental results on five agent benchmarks show that our constructed Agent-Omit-8B could obtain performance comparable to seven frontier LLM agent, and achieve the best effectiveness-efficiency trade-off than seven efficient LLM agents methods. Our code and data are available at https://github.com/usail-hkust/Agent-Omit.

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

↑