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

AgentGym:在不同环境中进化基于大语言模型的智能体

AgentGym: Evolving Large Language Model-based Agents across Diverse Environments

Fudan NLP Lab(复旦大学自然语言处理实验室);Fudan Vision and Learning Lab(复旦大学视觉与学习实验室)
Zhiheng Xi, Yiwen Ding, Wenxiang Chen, Boyang Hong, Honglin Guo, Junzhe Wang, Dingwen Yang, Chenyang Liao, Xin Guo, Wei He, Songyang Gao, Lu Chen, Rui Zheng, Yi… 展开作者

Zhiheng Xi, Yiwen Ding, Wenxiang Chen, Boyang Hong, Honglin Guo, Junzhe Wang, Dingwen Yang, Chenyang Liao, Xin Guo, Wei He, Songyang Gao, Lu Chen, Rui Zheng, Yicheng Zou, Tao Gui, Qi Zhang, Xipeng Qiu, Xuanjing Huang, Zuxuan Wu, Yu-Gang Jiang

AI总结:

本文提出AgentGym框架和AgentEvol方法,通过多样化环境、轨迹数据和可扩展进化机制,使LLM智能体实现跨任务自我进化,性能媲美SOTA模型。

摘要:

构建能够处理多样化任务并在不同环境中自我进化的通用智能体是人工智能领域的长期目标。大语言模型(LLMs)因其泛化能力而被视为构建此类智能体的有前景的基础。当前的方法要么让基于LLM的智能体逐步模仿专家提供的轨迹,这需要人工监督,难以扩展并限制了环境探索;要么让智能体在孤立环境中探索和学习,导致产生泛化能力有限的专用智能体。在本文中,我们朝着构建具有自我进化能力的通用LLM智能体迈出了第一步。我们确定了三个关键要素:1)用于智能体探索和学习的多样化环境,2)为智能体配备基本能力和先验知识的轨迹集,以及3)一种有效且可扩展的进化方法。我们提出了AgentGym,这是一个新框架,具有多种环境和任务,支持广泛、实时、统一格式和并发的智能体探索。AgentGym还包括一个包含扩展指令的数据库、一个基准测试套件以及跨环境的高质量轨迹。接下来,我们提出了一种新方法AgentEvol,用于研究智能体在跨任务和跨环境中超越先前所见数据进行自我进化的潜力。实验结果表明,进化后的智能体能够取得与SOTA模型相当的结果。我们发布了AgentGym套件,包括平台、数据集、基准、检查点和算法实现。AgentGym套件可在https://github.com/WooooDyy/AgentGym获取。

英文摘要:

Building generalist agents that can handle diverse tasks and evolve themselves across different environments is a long-term goal in the AI community. Large language models (LLMs) are considered a promising foundation to build such agents due to their generalized capabilities. Current approaches either have LLM-based agents imitate expert-provided trajectories step-by-step, requiring human supervision, which is hard to scale and limits environmental exploration; or they let agents explore and learn in isolated environments, resulting in specialist agents with limited generalization. In this paper, we take the first step towards building generally-capable LLM-based agents with self-evolution ability. We identify a trinity of ingredients: 1) diverse environments for agent exploration and learning, 2) a trajectory set to equip agents with basic capabilities and prior knowledge, and 3) an effective and scalable evolution method. We propose AgentGym, a new framework featuring a variety of environments and tasks for broad, real-time, uni-format, and concurrent agent exploration. AgentGym also includes a database with expanded instructions, a benchmark suite, and high-quality trajectories across environments. Next, we propose a novel method, AgentEvol, to investigate the potential of agent self-evolution beyond previously seen data across tasks and environments. Experimental results show that the evolved agents can achieve results comparable to SOTA models. We release the AgentGym suite, including the platform, dataset, benchmark, checkpoints, and algorithm implementations. The AgentGym suite is available on https://github.com/WooooDyy/AgentGym.

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

↑