Skip to main content
QUICK REVIEW

[논문 리뷰] Agent-as-a-Judge: Evaluate Agents with Agents

Mingchen Zhuge, Changsheng Zhao|arXiv (Cornell University)|2024. 10. 14.
Multi-Agent Systems and NegotiationComputer Science인용 수 3
한 줄 요약

이 논문은 작업 해결 과정 전반에 걸쳐 풍부한 중간 피드백을 제공함으로써 다른 에이전트 시스템을 평가하는 데에 에이전트 기반 시스템을 사용하는 Agent-as-a-Judge 프레임워크를 소개한다. 코드 생성에 적용했을 때, LLM-as-a-Judge를 능가하고 인간 평가의 신뢰성과 동등한 성능을 보이며 평가 비용을 97.64% 감소시켰다.

ABSTRACT

Contemporary evaluation techniques are inadequate for agentic systems. These approaches either focus exclusively on final outcomes -- ignoring the step-by-step nature of agentic systems, or require excessive manual labour. To address this, we introduce the Agent-as-a-Judge framework, wherein agentic systems are used to evaluate agentic systems. This is an organic extension of the LLM-as-a-Judge framework, incorporating agentic features that enable intermediate feedback for the entire task-solving process. We apply the Agent-as-a-Judge to the task of code generation. To overcome issues with existing benchmarks and provide a proof-of-concept testbed for Agent-as-a-Judge, we present DevAI, a new benchmark of 55 realistic automated AI development tasks. It includes rich manual annotations, like a total of 365 hierarchical user requirements. We benchmark three of the popular agentic systems using Agent-as-a-Judge and find it dramatically outperforms LLM-as-a-Judge and is as reliable as our human evaluation baseline. Altogether, we believe that Agent-as-a-Judge marks a concrete step forward for modern agentic systems -- by providing rich and reliable reward signals necessary for dynamic and scalable self-improvement.

연구 동기 및 목표

  • 현재의 에이전트 시스템 평가 방법이 최종 결과에만 초점을 맞추고 중간 피드백이 부족한 데 대한 문제를 해결하기 위해.
  • 비용이 많이 들는 인간 평가에 의존하는 것을 줄이기 위해 자동화되고 확장 가능하며 신뢰할 수 있는 평가 프레임워크를 개발하기 위해.
  • 실제 세계의 복잡성과 계층적 요구사항을 반영하는 실제적인 AI 개발 작업을 위한 벤치마크를 만들기 위해.
  • 에이전트 시스템이 LLM-as-a-Judge보다 더 높은 정밀도로 다른 에이전트 시스템을 효과적으로 평가할 수 있음을 입증하기 위해.
  • 풍부한 과정 인식 보상 신호를 통해 동적이고 자기 향상 가능한 에이전트 시스템을 가능하게 하기 위해.

제안 방법

  • Agent-as-a-Judge 프레임워크는 다른 에이전트 시스템의 전체 사고-행동 궤적을 평가하기 위해 판단 에이전트를 활용한다.
  • 판단 에이전트는 모듈러한 프롬프트를 사용하여 네 가지 핵심 기능을 수행한다: 관련 파일 탐색, 실행 피드백 검색, 요구사항 이행 여부 평가, 구조화된 판단 생성.
  • 코드, 파일 구조, 실행 궤적에서 동적으로 증거를 수집하여 평가 결정을 지원한다.
  • 프레임워크는 새로운 벤치마크인 DevAI를 사용하여 코드 생성에 적용되었으며, 이는 55개의 실제 AI 개발 작업과 365개의 계층적 사용자 요구사항을 포함한다.
  • 일致한 인간 평가 결과를 기준으로 하여 LLM-as-a-Judge 및 인간 평가와의 성능을 비교한다.
  • 언어별 시스템 프롬프트와 구조화된 출력 형식을 사용한 모듈러한 프롬프트 엔지니어링을 통해 시스템을 구현한다.
Figure 1 : We introduce the Agent-as-a-Judge framework wherein agentic systems are used to evaluate agentic systems. We compare this to LLM-as-a-Judge, which uses LLMs to evaluate LLMs and for which Agent-as-a-Judge is a natural evolution, and Human-as-a-Judge, where skilled human labourers manually
Figure 1 : We introduce the Agent-as-a-Judge framework wherein agentic systems are used to evaluate agentic systems. We compare this to LLM-as-a-Judge, which uses LLMs to evaluate LLMs and for which Agent-as-a-Judge is a natural evolution, and Human-as-a-Judge, where skilled human labourers manually

실험 결과

연구 질문

  • RQ1기존의 최종 결과만을 고려하는 방식이나 LLM-as-a-Judge 방식보다 더 풍부한 피드백을 제공하는 에이전트 시스템이 다른 에이전트 시스템을 효과적으로 평가할 수 있는가?
  • RQ2실제 세계의 코드 생성 작업에서 Agent-as-a-Judge는 인간 평가와 LLM-as-a-Judge에 비해 얼마나 높은 신뢰성을 보이는가?
  • RQ3정확도를 유지하거나 향상시키면서도 평가 비용은 어느 정도 감소시키는가?
  • RQ4최종 결과 지표만으로는 놓칠 수 있는 중간 단계의 실패나 추론 오류를 프레임워크가 탐지할 수 있는가?
  • RQ5DevAI에서 사용된 계층적이고 주석이 달린 요구사항은 기존의 벤치마크보다 더 세밀하고 신뢰할 수 있는 평가를 가능하게 하는가?

주요 결과

  • Agent-as-a-Judge는 DevAI에서 인간 공감 결과와 90% 일치도를 달성하여 LLM-as-a-Judge의 70% 일치도를 크게 능가했다.
  • 세 명의 인간 전문가를 사용할 경우와 비교해 평가 비용을 97.64% 감소시키고 시간도 97.72% 절감했다.
  • GPT-Pilot과 OpenHands는 DevAI에서 각각 약 29%의 작업 요구사항을 이행하여 이 벤치마크의 높은 난이도를 보여주었다.
  • Agent-as-a-Judge는 개별 인간 평가자보다 더 높은 신뢰성을 보이며, 더 일관된 평가 기준으로 기능할 수 있음을 시사한다.
  • 프레임워크는 최종 결과 지표만으로는 놓칠 수 있는 중간 단계의 실패와 추론 오류를 성공적으로 탐지했다.
  • 55개의 작업과 365개의 계층적 요구사항을 포함한 DevAI는 에이전트 기반 코드 생성 시스템 평가를 위한 현실적이고 도전적인 시험대를 제공한다.
Figure 2 : Distribution of DevAI Tasks (1) DevAI focuses on AI development tasks and so terms such as “dataset,” “model,” and “results” are particularly common in the queries. (2) The first 53 tasks in DevAI all have a one-paragraph query but of varying lengths (note that task 54 and 55 are excluded
Figure 2 : Distribution of DevAI Tasks (1) DevAI focuses on AI development tasks and so terms such as “dataset,” “model,” and “results” are particularly common in the queries. (2) The first 53 tasks in DevAI all have a one-paragraph query but of varying lengths (note that task 54 and 55 are excluded

이 논문 읽기

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

누빈트에서 이 논문 읽기

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