2024-12-19 · 专家 · 机器学习 · 计算机视觉 · 自然语言处理

TheAgentCompany: Benchmarking LLM Agents on Consequential Real World Tasks

该论文提出了TheAgentCompany,一个用于评估AI代理在实际工作环境中完成任务能力的可扩展基准。

更新于 2024-12-19。作者:Frank F. Xu、Yufan Song、Boxuan Li、Yuxuan Tang、Kritanjali Jain、Mengxue Bao、Zora Z. Wang、Xuhui Zhou、Zhitong Guo、Murong Cao、Mingyang Yang、Hao Yang Lu、Amaad Martin、Zhe Su、Leander Maben、Raj Mehta、Wayne Chi、Lawrence Jang、Yiqing Xie、Shuyan Zhou、Graham Neubig。

中文摘要

我们每天都会与计算机互动,无论是日常生活还是工作,许多工作都可以完全通过计算机和互联网来完成。同时,得益于大型语言模型(LLM)的改进,与周围环境互动并产生影响的人工智能代理也得到了快速发展。但是,人工智能代理在帮助加速甚至自主完成工作相关任务方面表现如何?对这个问题的回答对希望将AI融入工作流程的行业以及想要了解AI采用可能对劳动力市场产生的影响的经济政策具有重要意义。为了衡量这些LLM代理在执行现实世界专业任务方面的进展,在本文中,我们介绍了TheAgentCompany,这是一个可扩展的基准,用于评估以与数字工作者类似的方式与世界互动的人工智能代理:通过浏览网页、编写代码、运行程序以及与同事沟通。我们构建了一个包含内部网站和数据的自包含环境,模拟了一个小型软件公司的环境,并创建了各种可能由该公司员工执行的任务。我们测试了由封闭API和公开权重的语言模型(LM)驱动的基线代理,并发现在最具有竞争力的代理下,24%的任务可以自主完成。这描绘了一幅关于LM代理任务自动化的微妙图景——在一个模拟真实工作场所的环境中,大量简单任务可以自主解决,但更困难的长远任务仍超出现有系统的范围。

英文摘要

We interact with computers on an everyday basis, be it in everyday life or work, and many aspects of work can be done entirely with access to a computer and the Internet. At the same time, thanks to improvements in large language models (LLMs), there has also been a rapid development in AI agents that interact with and affect change in their surrounding environments. But how performant are AI agents at helping to accelerate or even autonomously perform work-related tasks? The answer to this question has important implications for both industry looking to adopt AI into their workflows, and for economic policy to understand the effects that adoption of AI may have on the labor market. To measure the progress of these LLM agents' performance on performing real-world professional tasks, in this paper, we introduce TheAgentCompany, an extensible benchmark for evaluating AI agents that interact with the world in similar ways to those of a digital worker: by browsing the Web, writing code, running programs, and communicating with other coworkers. We build a self-contained environment with internal web sites and data that mimics a small software company environment, and create a variety of tasks that may be performed by workers in such a company. We test baseline agents powered by both closed API-based and open-weights language models (LMs), and find that with the most competitive agent, 24% of the tasks can be completed autonomously. This paints a nuanced picture on task automation with LM agents -- in a setting simulating a real workplace, a good portion of simpler tasks could be solved autonomously, but more difficult long-horizon tasks are still beyond the reach of current systems.

解读

一句话总结

该论文提出了TheAgentCompany,一个用于评估AI代理在实际工作环境中完成任务能力的可扩展基准。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:随着大型语言模型(LLMs)的快速发展,AI代理在现实世界任务中的表现如何成为关键问题,这对于企业和政策制定者理解AI对劳动力市场的影响至关重要。 • 现有方案不足:目前缺乏客观的基准来评估LLM代理在执行重复性任务方面的能力,以及它们在复杂真实世界环境中的表现。 • 研究目标:开发一个名为TheAgentCompany的基准,以评估AI代理在实际工作环境中执行各种任务的能力。

问题2:论文的核心创新点是什么?

• 技术创新:创建了一个模拟软件公司的环境,其中包含内部网站和数据,以及各种与软件开发、项目管理、财务分析等相关的任务。 • 方法改进:设计了一个可复制的、自托管的基准环境,并引入了严格的评估器来衡量代理的沟通能力和部分正确答案的得分。 • 优势:与现有方法相比,TheAgentCompany提供了更全面、更真实的评估,涵盖了多种工作相关任务和交互需求。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:使用七个大型语言模型在TheAgentCompany基准上进行实验,包括API模型和开源模型。 • 性能提升:最佳模型Claude 3.5 Sonnet能够自主完成24%的任务,并达到34.4%的得分。 • 对比结果:实验结果表明,虽然AI代理能够在日常工作中执行各种任务,但它们仍然无法自动化所有任务,尤其是在复杂和长期的任务上。

问题4:这个研究的实际应用价值是什么?

• 应用场景:TheAgentCompany可以为企业和政策制定者提供有关AI代理在现实世界任务中能力的客观评估。 • 实施建议:企业和政策制定者应考虑AI代理的局限性,并谨慎地将其集成到工作流程中。 • 局限与展望:TheAgentCompany是一个初步的基准,未来可以扩展到其他行业和任务,以更好地模拟真实世界场景。

来源