arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.17574cs.AIcs.CL
收藏

Agent-Pro:通过策略级反思与优化学习进化

Agent-Pro: Learning to Evolve via Policy-Level Reflection and Optimization

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Nanjing Institute of Software Technology(南京软件技术学院);Nanjing University of Posts and Telecommunications(南京邮电大学);University of Chinese Academy of Sciences(中国科学院大学);Beijing University of Technology(北京工业大学);Nanjing University of Information Science and Technology(南京信息工程大学)

Wenqi Zhang, Ke Tang, Hai Wu, Mengna Wang, Yongliang Shen, Guiyang Hou, Zeqi Tan, Peng Li, Yueting Zhuang, Weiming Lu

AI总结:

本文提出Agent-Pro,通过策略级反思与深度优先搜索优化,使LLM智能体在动态交互场景中持续学习进化,并在Blackjack和Texas Hold'em中超越基线模型。

摘要:

大型语言模型(LLMs)在多样化任务中展现出强大的问题解决能力。然而,大多数基于LLM的智能体被设计为特定任务的求解器,依赖复杂的提示工程,而非能够通过交互学习和进化的智能体。这些任务求解器需要人工精心设计的提示来告知任务规则并规范LLM行为,本质上无法应对复杂的动态场景,例如大型交互式游戏。鉴于此,我们提出Agent-Pro:一个基于LLM的、具备策略级反思与优化能力的智能体,它能够从交互经验中学习丰富的专业知识,并逐步提升其行为策略。具体而言,该方法包含一个用于策略进化的动态信念生成与反思过程。与动作级反思不同,Agent-Pro迭代地反思过去的轨迹和信念,微调其不合理的信念以获得更好的策略。此外,采用深度优先搜索进行策略优化,确保持续提升策略收益。Agent-Pro在两个游戏——Blackjack和Texas Hold'em上进行了评估,其表现优于vanilla LLM和专用模型。我们的结果表明,Agent-Pro能够在复杂动态场景中学习和进化,这也有益于众多基于LLM的应用。

英文摘要:

Large Language Models (LLMs) exhibit robust problem-solving capabilities for diverse tasks. However, most LLM-based agents are designed as specific task solvers with sophisticated prompt engineering, rather than agents capable of learning and evolving through interactions. These task solvers necessitate manually crafted prompts to inform task rules and regulate LLM behaviors, inherently incapacitating to address complex dynamic scenarios e.g., large interactive games. In light of this, we propose Agent-Pro: an LLM-based Agent with Policy-level Reflection and Optimization that can learn a wealth of expertise from interactive experiences and progressively elevate its behavioral policy. Specifically, it involves a dynamic belief generation and reflection process for policy evolution. Rather than action-level reflection, Agent-Pro iteratively reflects on past trajectories and beliefs, fine-tuning its irrational beliefs for a better policy. Moreover, a depth-first search is employed for policy optimization, ensuring continual enhancement in policy payoffs. Agent-Pro is evaluated across two games: Blackjack and Texas Hold'em, outperforming vanilla LLM and specialized models. Our results show Agent-Pro can learn and evolve in complex and dynamic scenes, which also benefits numerous LLM-based applications.

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

↑