arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.12130cs.AI
收藏

通过自动奖励建模与规划扩展自主智能体

Scaling Autonomous Agents via Automatic Reward Modeling And Planning

MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);UMass Amherst(马萨诸塞大学阿默斯特分校);University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Zhenfang Chen, Delin Chen, Rui Sun, Wenjun Liu, Chuang Gan

AI总结:

本文提出一种无需人工标注、从环境交互中自动构建三元组并训练奖励模型的框架,用于评估LLM智能体轨迹并辅助规划,在多个基准上验证了有效性与泛化性。

摘要:

大型语言模型(LLM)已在一系列文本生成任务中展现出卓越能力。然而,LLM在处理需要多步决策和环境反馈的问题时仍有困难,例如在线购物、科学推理和数学问题求解。与纯文本数据不同,收集大规模决策数据具有挑战性。此外,许多强大的LLM只能通过API访问,由于成本和复杂性,这阻碍了针对智能体任务对其进行微调。为解决LLM智能体的局限,我们提出一个框架,能够在没有人工标注的情况下从环境中自动学习奖励模型。该模型可用于评估LLM智能体的行动轨迹,并为任务规划提供启发式信息。具体而言,我们的方法包括使用一个基于LLM的智能体在环境中随机探索,生成多样化的行动轨迹。随后,利用另一个独立的LLM为每条轨迹分配任务意图,并合成正确回答以及一个负向回答。这些三元组(任务意图、正向回答和负向回答)随后被用作训练数据,以优化一个能够为行动轨迹评分的奖励模型。通过在不同智能体基准上进行评估,我们证明了该框架的有效性和泛化能力。总之,我们提出的框架代表了增强LLM智能体决策能力方面的一项重要进展。通过自动化奖励模型学习,我们克服了数据稀缺和API限制的挑战,有可能变革LLM在复杂交互环境中的应用。这项研究为更复杂的AI智能体铺平了道路,使其能够应对各种需要多步决策的现实世界问题。

英文摘要:

Large language models (LLMs) have demonstrated remarkable capabilities across a range of text-generation tasks. However, LLMs still struggle with problems requiring multi-step decision-making and environmental feedback, such as online shopping, scientific reasoning, and mathematical problem-solving. Unlike pure text data, collecting large-scale decision-making data is challenging. Moreover, many powerful LLMs are only accessible through APIs, which hinders their fine-tuning for agent tasks due to cost and complexity. To address LLM agents' limitations, we propose a framework that can automatically learn a reward model from the environment without human annotations. This model can be used to evaluate the action trajectories of LLM agents and provide heuristics for task planning. Specifically, our approach involves employing one LLM-based agent to navigate an environment randomly, generating diverse action trajectories. Subsequently, a separate LLM is leveraged to assign a task intent and synthesize a negative response alongside the correct response for each trajectory. These triplets (task intent, positive response, and negative response) are then utilized as training data to optimize a reward model capable of scoring action trajectories. The effectiveness and generalizability of our framework are demonstrated through evaluations conducted on different agent benchmarks. In conclusion, our proposed framework represents a significant advancement in enhancing LLM agents' decision-making capabilities. By automating the learning of reward models, we overcome the challenges of data scarcity and API limitations, potentially revolutionizing the application of LLMs in complex and interactive environments. This research paves the way for more sophisticated AI agents capable of tackling a wide range of real-world problems requiring multi-step decision-making.

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

↑