跳到主要导航 跳到搜索 跳到主要内容

AppBench: Planning of Multiple APIs from Various APPs for Complex User Instruction

  • Hongru Wang
  • , Rui Wang
  • , Boyang Xue
  • , Heming Xia
  • , Jingtao Cao
  • , Zeming Liu
  • , Jeff Z. Pan*
  • , Kam Fai Wong*
  • *此作品的通讯作者
  • Chinese University of Hong Kong
  • Hong Kong Polytechnic University
  • University of Edinburgh

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Large Language Models (LLMs) can interact with the real world by connecting with versatile external APIs, resulting in better problem-solving and task automation capabilities. Previous research primarily focuses on APIs with limited arguments from a single source or overlooks the complex dependency relationship between different APIs. However, it is essential to utilize multiple APIs collaboratively from various sources (e.g., different Apps in the iPhone), especially for complex user instructions. In this paper, we introduce AppBench, the first benchmark to evaluate LLMs' ability to plan and execute multiple APIs from various sources in order to complete the user's task. Specifically, we consider two significant challenges in multiple APIs: 1) graph structures: some APIs can be executed independently while others need to be executed one by one, resulting in graph-like execution order; and 2) permission constraints: which source is authorized to execute the API call. We have experimental results on 9 distinct LLMs; e.g., GPT-4o achieves only a 2.0% success rate at the most complex instruction, revealing that the existing state-of-the-art LLMs still cannot perform well in this situation even with the help of in-context learning and finetuning. Our code and data are publicly available at https://github.com/ruleGreen/AppBench.

源语言英语
主期刊名EMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Conference
编辑Yaser Al-Onaizan, Mohit Bansal, Yun-Nung Chen
出版商Association for Computational Linguistics (ACL)
15322-15336
页数15
ISBN(电子版)9798891761643
DOI
出版状态已出版 - 2024
活动2024 Conference on Empirical Methods in Natural Language Processing, EMNLP 2024 - Hybrid, Miami, 美国
期限: 12 11月 202416 11月 2024

出版系列

姓名EMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Conference

会议

会议2024 Conference on Empirical Methods in Natural Language Processing, EMNLP 2024
国家/地区美国
Hybrid, Miami
时期12/11/2416/11/24

学术指纹

探究 'AppBench: Planning of Multiple APIs from Various APPs for Complex User Instruction' 的科研主题。它们共同构成独一无二的学术指纹。

引用此