arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.11128cs.CL
收藏

超越静态评估:一种评估AI助手API调用能力的动态方法

Beyond Static Evaluation: A Dynamic Approach to Assessing AI Assistants' API Invocation Capabilities

Harbin Institute of Technology(哈尔滨工业大学);Huawei Technologies Co., Ltd.(华为技术有限公司)

Honglin Mu, Yang Xu, Yunlong Feng, Xiaofeng Han, Yitong Li, Yutai Hou, Wanxiang Che

AI总结:

本文提出自动化动态评估方法AutoDE,通过基于LLM的用户代理模拟真实人机对话,无需人工参与即可评估AI助手的API调用能力,发现静态评估忽略的错误,更贴近人类评估结果。

摘要:

随着大型语言模型(LLMs)的兴起,AI助手利用工具(尤其是通过API调用)的能力取得了显著进展。这一进步需要更准确的评估方法。许多现有研究采用静态评估,即基于预定义的对话历史来评估AI助手的API调用。然而,这种评估方法可能具有误导性,因为在实际情况中,AI助手可能无法从先前的人类交互中生成API调用。我们不采用资源密集的直接人机交互方法,而是提出了自动化动态评估(AutoDE),以在无需人类参与的情况下评估助手的API调用能力。在我们的框架中,我们努力在人类与机器交互中紧密模拟真实的人类对话模式,使用基于LLM的用户代理,并配备用户脚本以确保与人类对齐。实验结果表明,AutoDE发现了静态评估所忽略的错误,与人类评估更为一致。使用我们精心设计的基准对四个AI助手进行测试,与传统静态评估相比,我们的方法进一步反映了人类的评估结果。

英文摘要:

With the rise of Large Language Models (LLMs), AI assistants' ability to utilize tools, especially through API calls, has advanced notably. This progress has necessitated more accurate evaluation methods. Many existing studies adopt static evaluation, where they assess AI assistants' API call based on pre-defined dialogue histories. However, such evaluation method can be misleading, as an AI assistant might fail in generating API calls from preceding human interaction in real cases. Instead of the resource-intensive method of direct human-machine interactions, we propose Automated Dynamic Evaluation (AutoDE) to assess an assistant's API call capability without human involvement. In our framework, we endeavor to closely mirror genuine human conversation patterns in human-machine interactions, using a LLM-based user agent, equipped with a user script to ensure human alignment. Experimental results highlight that AutoDE uncovers errors overlooked by static evaluations, aligning more closely with human assessment. Testing four AI assistants using our crafted benchmark, our method further mirrored human evaluation compared to conventional static evaluations.

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

↑