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

重新思考熵在优化大语言模型代理工具使用行为中的作用

Rethinking the Role of Entropy in Optimizing Tool-Use Behaviors for Large Language Model Agents

Fudan University(复旦大学);University of Edinburgh(爱丁堡大学);Southern University of Science and Technology(南方科技大学);Oxford University(牛津大学);Haven

Zeping Li, Hongru Wang, Yiwen Zhao, Guanhua Chen, Yixia Li, Keyang Chen, Yixin Cao, Guangnan Ye, Hongfeng Chai, Zhenfei Yin

AI总结:

本文通过熵基实验发现熵减与高质量工具调用正相关,提出两种奖励策略优化工具使用行为,实验表明熵减可提升代理适应性。

摘要:

基于大语言模型(LLMs)的工具使用代理在数学推理和多跳问答任务中表现优异。然而,在长轨迹中,代理常触发过多低质量的工具调用,增加延迟并降低推理性能,使管理工具使用行为变得困难。本文通过熵基实验发现熵减与高质量工具调用存在强正相关性。基于此发现,我们提出将熵减作为监督信号,并设计两种奖励策略以解决优化工具使用行为的不同需求。稀疏结果奖励提供粗粒度的轨迹级指导以提高效率,而密集过程奖励提供细粒度监督以提升性能。在多样化的领域中进行的实验表明,两种奖励设计均能改善工具使用行为:前者将工具调用减少72.07%(相比基线平均值),后者使性能提高22.27%。这些结果将熵减定位为增强工具使用行为的关键机制,使代理在现实应用中更具适应性。

英文摘要:

Tool-using agents based on Large Language Models (LLMs) excel in tasks such as mathematical reasoning and multi-hop question answering. However, in long trajectories, agents often trigger excessive and low-quality tool calls, increasing latency and degrading inference performance, making managing tool-use behavior challenging. In this work, we conduct entropy-based pilot experiments and observe a strong positive correlation between entropy reduction and high-quality tool calls. Building on this finding, we propose using entropy reduction as a supervisory signal and design two reward strategies to address the differing needs of optimizing tool-use behavior. Sparse outcome rewards provide coarse, trajectory-level guidance to improve efficiency, while dense process rewards offer fine-grained supervision to enhance performance. Experiments across diverse domains show that both reward designs improve tool-use behavior: the former reduces tool calls by 72.07% compared to the average of baselines, while the latter improves performance by 22.27%. These results position entropy reduction as a key mechanism for enhancing tool-use behavior, enabling agents to be more adaptive in real-world applications.

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

↑