arXiv:2502.12130cs.AI2025-02ICLR被引 22

用自动奖励建模让大模型智能体自主决策,无需人工标注

Scaling Autonomous Agents via Automatic Reward Modeling And Planning

  • 用随机探索生成动作轨迹,自动构建正负样本对
  • 在多个基准测试中提升智能体决策准确率,效果稳定
  • 适合想部署大模型智能体但缺乏数据和标注资源的团队

大型语言模型(LLMs)在文本生成任务中表现优异,但在需要多步决策与环境反馈的任务(如在线购物、科学推理、数学解题)中仍表现不足。由于大规模决策数据难获取,且许多强大模型仅通过API提供,限制了其微调。为此,我们提出一种无需人工标注即可自动学习奖励模型的框架。首先,一个基于LLM的智能体在环境中随机探索,生成多样化的动作轨迹;随后,另一个独立的LLM为每条轨迹标注任务意图,并合成正确与错误的响应,形成三元组(任务意图、正向响应、负向响应)。这些三元组用于训练一个可评分动作轨迹的奖励模型。在多个智能体基准上的评估验证了该框架的有效性与泛化能力。结果表明,该方法有效克服了数据稀缺与API限制问题,显著提升大模型智能体的决策能力,为复杂交互环境中的智能体应用开辟新路径。

原文摘要 · Abstract (English)

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.

大模型智能体自动奖励建模决策规划

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。