评测大模型在复杂对话中调用API的能力,发现多数模型难处理多步骤调用。
CONFETTI: Conversational Function-Calling Evaluation Through Turn-Level Interactions
- 设计109组模拟对话,覆盖86个API和多种对话复杂场景
- 长对话和多步骤调用时性能显著下降,最多支持20+个API
- 适合评估对话系统在真实任务中的函数调用能力
我们提出CONFETTI,一个用于评估大语言模型(LLMs)函数调用能力和响应质量的对话基准。现有基准缺乏对复杂对话场景下模型表现的全面评估。CONFETTI通过109组人类模拟对话(共313个用户回合)和86个API覆盖多种对话复杂性,如后续追问、目标修正与切换、模糊及隐含目标。采用离策略的逐轮评估方法,结合对话行为标注以分析代理响应。我们评估了一系列前沿LLM,分析其在可用API数量、对话长度和链式函数调用方面的表现。结果表明,部分模型虽能处理长对话并成功调用20+个API,但多数在上下文变长或API增多时表现下降。所有模型在链式函数调用任务上均表现受限。综合表现最优的模型为Nova Pro(40.01%)、Claude Sonnet v3.5(35.46%)、Llama 3.1 405B(33.19%),其次为command-r-plus(31.18%)和Mistral-Large-2407(30.07%)。
原文摘要 · Abstract (English)
We introduce Conversational Function-Calling Evaluation Through Turn-Level Interactions (CONFETTI), a conversational benchmark1 designed to evaluate the function-calling capabilities and response quality of large language models (LLMs). Current benchmarks lack comprehensive assessment of LLMs in complex conversational scenarios. CONFETTI addresses this gap through 109 human-simulated conversations, comprising 313 user turns and covering 86 APIs. These conversations explicitly target various conversational complexities, such as follow-ups, goal correction and switching, ambiguous and implicit goals. We perform off-policy turn-level evaluation using this benchmark targeting function-calling. Our benchmark also incorporates dialog act annotations to assess agent responses. We evaluate a series of state-of-the-art LLMs and analyze their performance with respect to the number of available APIs, conversation lengths, and chained function calling. Our results reveal that while some models are able to handle long conversations, and leverage more than 20+ APIs successfully, other models struggle with longer context or when increasing the number of APIs. We also report that the performance on chained function-calls is severely limited across the models. Overall, the top performing models on CONFETTI are Nova Pro (40.01%), Claude Sonnet v3.5 (35.46%) and Llama 3.1 405B (33.19%) followed by command-r-plus (31.18%) and Mistral-Large-2407 (30.07%).
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。