Skip to main content
QUICK REVIEW

[논문 리뷰] AgentGym: Evolving Large Language Model-based Agents across Diverse Environments

Zhiheng Xi, Yiwen Ding|arXiv (Cornell University)|2024. 06. 06.
Topic ModelingComputer Science인용 수 3
한 줄 요약

이 논문은 자가진화를 통해 다양한 환경에서 대규모 언어 모델(Large Language Model, LLM) 기반 에이전트를 발전시킬 수 있는 프레임워크인 AgentGym을 소개한다. 통합 플랫폼과 다양한 작업, 정제된 궤적 데이터셋(AgentTraj), 그리고 새로운 진화 방법(AgentEvol)을 결합하여 에이전트가 시연된 행동을 초월해 향상될 수 있도록 하며, 광범위한 인간의 감시 없이도 최첨단 모델 수준의 성능을 달성한다.

ABSTRACT

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.

연구 동기 및 목표

  • 다양한 환경에서 자율적으로 진화할 수 있는 일반적인 능력을 갖춘 LLM 기반 에이전트를 개발하여, 모방 학습을 넘어서 상호작용 기반 학습으로 나아가고자 한다.
  • 전문가 감독 하의 모방 학습(비용이 많이 들고 확장하기 어려움)과 고립된 환경에서의 훈련(일반화 능력이 떨어지는 전문가형 에이전트)의 한계를 극복하고자 한다.
  • 14개 환경과 89개 작업에서 실시간으로 동시 에이전트 훈련과 평가를 지원하는 통합적이고 확장 가능한 플랫폼을 구축하고자 한다.
  • 기본 에이전트 능력을 기반화하고 공정한 비교를 가능하게 하기 위해 벤치마크 세트(AgentEval)와 고품질 궤적 데이터셋(AgentTraj)을 제공하고자 한다.
  • 유연하고 환경에 종속되지 않는 진화 메커니즘(AgentEvol)을 활용해 LLM 기반 에이전트의 자가진화 잠재력을 탐구하고자 한다.

제안 방법

  • AgentGym은 웹 탐색, 몸체 기반 작업, 스프레드시트 조작 등을 포함한 14종의 환경과 89개의 작업을 지원하는 표준화된 HTTP 기반 API 플랫폼을 제공한다.
  • 다중 라운드 상호작용, 실시간 피드백, 일관된 관측/행동 공간을 갖춘 다양한 환경 간 궤적 샘플링을 위한 통합 인터페이스를 포함한다.
  • 대규모 고품질 궤적 데이터셋(AgentTraj)은 커뮤니티 기반 수집과 AI 기반 지시어 확장(예: 자기지시, 지시어 진화)을 통해 수집되어 다양하고 도전적인 예제를 보장한다.
  • AgentEvol 방법은 다양한 환경에서의 피드백을 활용해 에이전트가 초기 시연 이외의 경험 기반으로 정책을 업데이트함으로써 자가진화를 가능하게 한다.
  • 에이전트 성능 평가를 위한 커리티드 테스트 세트를 포함한 벤치마크 세트(AgentEval)가 포함되어 있다.
  • 시스템은 통합적이고 확장 가능한 형식으로 온라인 평가, 상호작용 훈련, 동시 에이전트 탐색을 지원한다.
Figure 1: An illustration of self-evolution for generally-capable LLM-based agents in our paper. The agent first performs behavioral cloning according to human supervision, and then performs exploring and learning across environments and tasks to evolve themselves.
Figure 1: An illustration of self-evolution for generally-capable LLM-based agents in our paper. The agent first performs behavioral cloning according to human supervision, and then performs exploring and learning across environments and tasks to evolve themselves.

실험 결과

연구 질문

  • RQ1LLM 기반 에이전트가 전문가 시연에 의존하지 않고 자가진화를 통해 다양한 환경에서 일반화 성능을 달성할 수 있는가?
  • RQ2다양한 환경과 표준화된 API를 갖춘 통합 플랫폼이 확장 가능하고 동시에 에이전트 훈련 및 평가를 가능하게 하는가?
  • RQ3정제된 궤적 데이터셋(AgentTraj)이 기본 에이전트 능력을 기반화하고 후속 일반화 성능을 향상시키는 데 얼마나 효과적인가?
  • RQ4자기진화 메커니즘(AgentEvol)이 인간의 감시 없이도 최첨단 모델을 능가하거나 이를 충족시킬 수 있는가, 특히 미리보지 않은 작업에서의 성능은 어떠한가?
  • RQ5다양한 환경, 고품질 궤적, 확장 가능한 진화 방법이 통합되어 에이전트의 일반화 능력과 성능을 어떻게 향상시키는가?

주요 결과

  • AgentGym 프레임워크는 통합 API와 표준화된 인터페이스를 통해 14개 환경과 89개 작업에서 실시간으로 동시 에이전트 탐색을 성공적으로 지원한다.
  • 커뮤니티 기반 수집과 AI 기반 지시어 확장으로 수집된 AgentTraj 데이터셋은 기본 에이전트 훈련을 위한 고품질이고 다양한 궤적을 제공한다.
  • AgentEvol 방법은 시연된 행동을 초월해 에이전트의 자가진화를 가능하게 하여 최첨단 모델 수준의 성능을 달성한다.
  • 벤치마크 세트 AgentEval은 다양한 작업과 환경에서 에이전트 능력을 공정하고 표준화된 방식으로 평가할 수 있도록 한다.
  • 프레임워크는 확장성과 유연성을 입증하였으며, 일관된 피드백 루프를 갖춘 온라인 평가 및 상호작용 훈련을 모두 지원한다.
  • 공개된 세트(플랫폼, 데이터셋, 체크포인트, 코드)는 일반화된 에이전트 개발 분야에서 재현 가능한 연구와 공동체의 발전을 가능하게 한다.
Figure 2: Overview of the AgentGym framework. It covers fourteen environments spanning diverse categories. Each environment is deployed as an HTTP service, and clients provide encapsulated, unified interfaces for agents, facilitating interaction with environments. We gather expert-annotated trajecto
Figure 2: Overview of the AgentGym framework. It covers fourteen environments spanning diverse categories. Each environment is deployed as an HTTP service, and clients provide encapsulated, unified interfaces for agents, facilitating interaction with environments. We gather expert-annotated trajecto

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.