Skip to main content
QUICK REVIEW

[论文解读] AgentBench: Evaluating LLMs as Agents

Xiao Liu, Hao Yu|arXiv (Cornell University)|Aug 7, 2023
Topic ModelingComputer Science被引用 44
一句话总结

AgentBench 引入一个8个环境的多任务基准,用于评估将LLMs作为代理的能力,在真实世界任务中,顶级API LLM与开源模型之间存在显著差距。

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.

研究动机与目标

  • 定义一个多维基准(AgentBench),在交互环境中评估作为自治代理的LLMs。
  • 评估覆盖八个现实世界任务,涵盖代码基础、游戏基础和网络基础设置。
  • 识别失败模式和影响代理性能的因素,以指导未来改进。
  • 提供一个集成、以API为中心的评估工具包,标准化代理评估工作流。

提出的方法

  • 将交互评估形式化为一个部分可观测的马尔可夫决策过程。
  • 将链式推理(Chain-of-Thought)提示作为评估的主要推理策略。
  • 构建八个多样化环境(OS、DB、KG、DCG、LTP、HH、WS、WB),用于测试指令遵循、编码、规划和工具使用。
  • 使用标准化提示和零温度解码,对27个LLMs(基于API和OSS)进行评估,采用任务分项和加权的总体评分。
  • 提供一个服务器-客户端、基于Docker的评估工具包,通过HTTP API在隔离环境中运行任务。
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.

实验结果

研究问题

  • RQ1在多样化的现实世界任务中,将当前基于API的LLMs与OSS模型作为代理部署时的比较如何?
  • RQ2在连续、轮次多的环境中,限制LLMs作为代理有效运作的主要失败模式是什么?
  • RQ3对代码训练和高质量对齐数据在多大程度上提升代理行为和性能?
  • RQ4任务结构和环境类型如何影响链式推理提示对代理的有效性?

主要发现

  • GPT-4在多个环境中具有最高的综合表现,特别是在House-Holding任务上达到78%的成功率。
  • 在AgentBench中,基于API的商业化LLMs与OSS模型之间存在显著差距,OSS模型在若干任务上的表现通常较弱。
  • 对代码数据的训练可以提升面向程序的任务的性能,但可能会在其他任务上带来负面影响,表明过程性执行与通用推理之间存在取舍。
  • 高质量的对齐数据(例如ShareGPT风格)可以显著提升OSS LLMs的性能,有时甚至能与更大但对齐较弱的模型相当。
  • 许多OSS模型在KG、DCG和HH任务上表现不佳,揭示长期推理和指令遵循方面的差距。
  • 任务超时限制(TLE)是主导的故障机制,标志着多轮推理和决策能力的局限性。
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.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。