arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.00132cs.SEcs.AI
收藏

ShortcutsBench:面向基于API的智能体的大规模真实世界基准

ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agents

Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);School of Computer Science, Peking University(北京大学计算机学院);School of Software & Microelectronics, Peking University(北京大学软件与微电子学院);School of Electronics Engineering and Computer Science, Peking University(北京大学电子工程与计算机科学学院);Beijing University of Posts and Telecommunications(北京邮电大学)

Haiyang Shen, Yue Li, Desong Meng, Dongqi Cai, Sheng Qi, Li Zhang, Mengwei Xu, Yun Ma

AI总结:

ShortcutsBench是一个大规模真实世界基准,用于评估基于API的智能体,揭示其在API选择、参数填充和请求输入方面的局限性,并强调其面临的挑战。

摘要:

将大型语言模型(LLMs)与应用程序编程接口(APIs)集成的最新进展在学术界和工业界引起了广泛关注。近期研究表明,这些基于API的智能体展现出相对较强的自主性和规划能力。然而,它们处理多维度难度级别、多样化任务类型以及真实世界需求的能力仍然未知。在本文中,我们介绍了ShortcutsBench,这是一个用于全面评估基于API的智能体在解决真实世界复杂任务中的大规模基准。ShortcutsBench包含了来自Apple Inc.的大量真实API、精炼的用户查询、人工标注的高质量动作序列、详细的参数填充值以及需要系统或用户提供必要输入的参数。我们揭示了现有基准/数据集如何难以适应现有更智能LLMs的高级推理能力。此外,我们对使用5个领先的开源(规模≥57B)和5个闭源LLMs(例如Gemini-1.5-Pro和GPT-4o-mini)构建的智能体进行了广泛评估,这些LLMs具有不同的智能水平,结果揭示了现有基于API的智能体在处理与API选择、参数填充以及向系统和用户请求必要输入相关的复杂查询的整个过程中的显著局限性。这些发现凸显了基于API的智能体在有效满足真实且复杂的用户查询方面面临的巨大挑战。所有数据集、代码、实验日志和结果均可在https://github.com/EachSheep/ShortcutsBench获取。

英文摘要:

Recent advancements in integrating large language models (LLMs) with application programming interfaces (APIs) have gained significant interest in both academia and industry. Recent work demonstrates that these API-based agents exhibit relatively strong autonomy and planning capabilities. However, their ability to handle multi-dimensional difficulty levels, diverse task types, and real-world demands remains unknown. In this paper, we introduce \textsc{ShortcutsBench}, a large-scale benchmark for the comprehensive evaluation of API-based agents in solving real-world complex tasks. \textsc{ShortcutsBench} includes a wealth of real APIs from Apple Inc., refined user queries, human-annotated high-quality action sequences, detailed parameter filling values, and parameters requesting necessary input from the system or user. We revealed how existing benchmarks~/~datasets struggle to accommodate the advanced reasoning capabilities of existing more intelligent LLMs. Moreover, our extensive evaluation of agents built with $5$ leading open-source (size $\geq$ 57B) and $5$ closed-source LLMs (e.g. Gemini-1.5-Pro and GPT-4o-mini) with varying intelligence level reveals significant limitations of existing API-based agents in the whole process of handling complex queries related to API selection, parameter filling, and requesting necessary input from the system and the user. These findings highlight the great challenges that API-based agents face in effectively fulfilling real and complex user queries. All datasets, code, experimental logs, and results are available at \url{https://github.com/EachSheep/ShortcutsBench}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑