Skip to main content
QUICK REVIEW

[Paper Review] AgentBench: Evaluating LLMs as Agents

Xiao Liu, Hao Yu|arXiv (Cornell University)|Aug 7, 2023
Topic ModelingComputer Science44 citations
TL;DR

AgentBench introduces an 8-environment, multi-task benchmark to evaluate LLMs acting as agents, showing a significant gap between top API LLMs and OSS models across real-world tasks.

ABSTRACT

The potential of Large Language Model (LLM) as agents has been widely acknowledged recently. Thus, there is an urgent need to quantitatively extit{evaluate LLMs as agents} on challenging tasks in interactive environments. We present AgentBench, a multi-dimensional benchmark that consists of 8 distinct environments to assess LLM-as-Agent's reasoning and decision-making abilities. Our extensive test over um API-based and open-sourced (OSS) LLMs shows that, while top commercial LLMs present a strong ability of acting as agents in complex environments, there is a significant disparity in performance between them and many OSS competitors that are no larger than 70B. We identify the typical reasons of failures in environments and LLMs, showing that poor long-term reasoning, decision-making, and instruction following abilities are the main obstacles for developing usable LLM agents. Improving instruction following and training on high quality multi-round alignment data could improve agent performance. And different from existing assumptions, training on code present ambivalent impacts on different agent tasks. Datasets, environments, and an integrated evaluation package for AgentBench are released at https://github.com/THUDM/AgentBench.

Motivation & Objective

  • Define a multi-dimensional benchmark (AgentBench) to evaluate LLMs as autonomous agents in interactive environments.
  • Assess LLMs across eight real-world tasks spanning code-grounded, game-grounded, and web-grounded settings.
  • Identify failure modes and factors affecting agent performance to guide future improvements.
  • Provide an integrated, API-centric evaluation toolkit to standardize agent evaluation workflows.

Proposed method

  • Formalize interactive evaluation as a partially observable Markov decision process.
  • Use Chain-of-Thought prompting as the primary reasoning strategy for evaluation.
  • Construct eight diverse environments (OS, DB, KG, DCG, LTP, HH, WS, WB) to test instruction following, coding, planning, and tool use.
  • Evaluate 27 LLMs (API-based and OSS) using a standardized prompt and zero-temperature decoding, with task-wise and weighted overall scoring.
  • Provide a server-client, Docker-based evaluation toolkit to run tasks in isolation via HTTP APIs.
Figure 1: An overview of LLMs on AgentBench . While LLMs begin to manifest their proficiency in LLM-as-Agent, gaps between models and the distance toward practical usability are significant.
Figure 1: An overview of LLMs on AgentBench . While LLMs begin to manifest their proficiency in LLM-as-Agent, gaps between models and the distance toward practical usability are significant.

Experimental results

Research questions

  • RQ1How do current API-based and OSS LLMs compare when deployed as agents across diverse, real-world tasks?
  • RQ2What are the main failure modes limiting LLMs from functioning effectively as agents in continuous, multi-turn environments?
  • RQ3To what extent do code training and high-quality alignment data improve agent behavior and performance?
  • RQ4How do task structure and environment type influence the effectiveness of chain-of-thought prompting for agents?

Key findings

  • GPT-4 achieves the highest overall performance across multiple environments, notably 78% success on House-Holding tasks.
  • There is a substantial gap between API-based commercial LLMs and OSS models in AgentBench, with OSS models generally underperforming on several tasks.
  • Training on code data can boost performance on procedure-driven tasks but may harm performance on other tasks, indicating a trade-off between procedural following and general reasoning.
  • High-quality alignment data (e.g., ShareGPT-style) can substantially improve OSS LLMs, sometimes matching larger, less-aligned models.
  • Many OSS models struggle on KG, DCG, and HH tasks, revealing gaps in long-horizon reasoning and instruction following.
  • Task Limit Exceeded (TLE) is a dominant failure mechanism, signaling limitations in multi-turn reasoning and decision-making.
Figure 2: AgentBench is the first systematic benchmark to evaluate LLM-as-Agent on a wide array of real-world challenges and 8 distinct environments. In total, 27 LLMs are examined in this edition.
Figure 2: AgentBench is the first systematic benchmark to evaluate LLM-as-Agent on a wide array of real-world challenges and 8 distinct environments. In total, 27 LLMs are examined in this edition.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.