AgentBench:评估作为智能体的大语言模型

AgentBench: Evaluating LLMs as Agents

唐杰 Jie Tang · Tsinghua University / Zhipu AI · 2023-08-07 · arXiv:2308.03688 ↗ · 被引 1014

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

大语言模型作为智能体的潜力近期得到了广泛认可。因此,迫切需要定量评估大语言模型在交互式环境中执行具有挑战性任务时的智能体能力。我们提出了 AgentBench,一个多维基准,包含 8 个不同的环境,用于评估大语言模型作为智能体的推理和决策能力。我们对基于 API 和开源的多个大语言模型进行了广泛测试,结果表明,虽然顶级商业大语言模型在复杂环境中表现出强大的智能体能力,但它们与许多不超过 70B 参数的开源模型之间存在显著的性能差距。我们识别了环境和模型中的典型失败原因,表明长期推理、决策和指令遵循能力不足是开发可用大语言模型智能体的主要障碍。改进指令遵循能力并训练高质量的多轮对齐数据可以提升智能体性能。与现有假设不同,代码训练对不同智能体任务的影响存在矛盾。AgentBench 的数据集、环境和集成评估包已在 https://github.com/THUDM/AgentBench 发布。

The potential of Large Language Model (LLM) as agents has been widely acknowledged recently. Thus, there is an urgent need to quantitatively \textit{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 \num 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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 7)

阅读逐段中英对照全文 →