Skip to main content
QUICK REVIEW

[논문 리뷰] Agent Q: Advanced Reasoning and Learning for Autonomous AI Agents

Pranav Putta, Edmund Mills|arXiv (Cornell University)|2024. 08. 13.
Multi-Agent Systems and NegotiationComputer Science인용 수 5
한 줄 요약

Agent Q는 guided Monte Carlo Tree Search, AI self-critique, 및 offline Direct Preference Optimization을 결합하여 LLM 기반 웹 에이전트를 훈련시키고, WebShop과 실제 예약 작업에서 다단계 추론을 강하게 수행하며 제로샷 및 온라인 검색 성능을 향상시킵니다.

ABSTRACT

Large Language Models (LLMs) have shown remarkable capabilities in natural language tasks requiring complex reasoning, yet their application in agentic, multi-step reasoning within interactive environments remains a difficult challenge. Traditional supervised pre-training on static datasets falls short in enabling autonomous agent capabilities needed to perform complex decision-making in dynamic settings like web navigation. Previous attempts to bridge this ga-through supervised fine-tuning on curated expert demonstrations-often suffer from compounding errors and limited exploration data, resulting in sub-optimal policy outcomes. To overcome these challenges, we propose a framework that combines guided Monte Carlo Tree Search (MCTS) search with a self-critique mechanism and iterative fine-tuning on agent interactions using an off-policy variant of the Direct Preference Optimization (DPO) algorithm. Our method allows LLM agents to learn effectively from both successful and unsuccessful trajectories, thereby improving their generalization in complex, multi-step reasoning tasks. We validate our approach in the WebShop environment-a simulated e-commerce platform where it consistently outperforms behavior cloning and reinforced fine-tuning baseline, and beats average human performance when equipped with the capability to do online search. In real-world booking scenarios, our methodology boosts Llama-3 70B model's zero-shot performance from 18.6% to 81.7% success rate (a 340% relative increase) after a single day of data collection and further to 95.4% with online search. We believe this represents a substantial leap forward in the capabilities of autonomous agents, paving the way for more sophisticated and reliable decision-making in real-world settings.

연구 동기 및 목표

  • 모방 학습을 넘어 긴 기간의 작업에서 자율 웹 에이전트 의사결정을 개선한다.
  • 가이드된 MCTS를 활용하여 학습에 유용한 궤적을 수집하기 위해 가이드된 MCTS를 활용한다.
  • AI self-critique를 사용해 중간 보상을 제공하고 탐색을 안내한다.
  • 성공한 궤적과 실패한 궤적 모두에서 학습하기 위해 Direct Preference Optimization (DPO)의 off-policy 변형으로 오프라인에서 에이전트를 미세 조정한다.
  • WebShop 벤치마크 및 실제 예약 시나리오에서 향상을 시연한다.

제안 방법

  • DOM 기반 관찰 및 복합 액션을 갖는 웹 네비게이션 문제를 POMDP로 형식화한다.
  • 웹 페이지에 대해 Monte Carlo Tree Search (MCTS)를 사용하고, 기본 LLM을 제안 분포로 삼으며 각 노드에서 AI 기반 self-critique로 액션을 평가한다.
  • 탐색-확장-시뮬레이션(롤아웃)-역전파의 네 단계 MCTS를 도입하고, UCB1을 사용해 탐색과 활용의 균형을 맞춘다.
  • 현재 정책으로 궤적을 롤아웃하고 최종 보상(성공/실패)을 역전파해 Q-값을 업데이트한다.
  • 궤적으로부터 노드 수준의 선호도를 구성하고 Direct Preference Optimization (DPO)의 off-policy 변형으로 최적화하되, 별도의 참조 모델 대신 재생 버퍼(replay buffer)를 사용한다.
  • 베이스 모델로 LLaMa-3-70B를 사용하여 WebShop 및 실제 예약 작업을 평가하고, 제로샷 개선 및 온라인 검색 이득을 보여준다.

실험 결과

연구 질문

  • RQ1AI self-critique를 통한 가이드된 MCTS가 자율 웹 에이전트의 탐색 및 정책 품질을 향상시킬 수 있는가?
  • RQ2MCTS에서 파생된 궤적에 대해 오프라인 DPO 미세 조정이 행동 복제(behavior cloning)나 강화 학습 기반 기준선보다 일반화에 낫게 나타나는가?
  • RQ3온라인 검색 여부에 상관없이 Agent Q가 시뮬레이션된 웹 환경(WebShop)과 실제 예약 작업에서 어떻게 수행하는가?
  • RQ4장기-지향 웹 상호작용에 대해 컴팩트한 이력 표현을 사용하는 것이 학습 효율성과 성능에 어떤 영향을 미치는가?

주요 결과

  • Agent Q+MCTS는 기본 모델에 비해 WebShop 성공률을 크게 개선하고 온라인 검색이 사용 가능할 때 평균 인간 성능을 능가한다.
  • 실제 예약 시나리오에서 제로샷 성공률은 데이터 수집 하루 만에 18.6%에서 81.7%로 증가하고, 온라인 검색이 탑재되면 95.4%까지 추가 향상을 보인다.
  • MCTS 흔적의 궤적 선호도를 이용한 오프라인 DPO 미세 조정은 행동 복제(BHC) 및 간단한 강화 미세 조정(RFT) 기준선에 비해 현저한 개선을 보여준다(예: WebShop 기준 DPO 40.6% vs RFT 31.3%).
  • MCTS 중 노드 수준의 AI 피드백과 self-critique가 탐색을 안내하고 최종 에이전트 성공률을 향상시키며, 긴 지평의 보상 신호 희소 문제를 해결한다.
  • 이 접근법은 탐색, 자기 비판, 오프라인 선호 기반 학습의 결합이 모방 기반 방법을 넘어 자율 웹 에이전트를 크게 발전시킬 수 있음을 보여준다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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