arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.16516cs.CLcs.HC
收藏

HammerBench:真实移动设备场景中的细粒度函数调用评估

HammerBench: Fine-Grained Function-Calling Evaluation in Real Mobile Device Scenarios

OPPO

Jun Wang, Jiamu Zhou, Muning Wen, Xiaoyun Mo, Haoyu Zhang, Qiqiang Lin, Cheng Jin, Xihuai Wang, Weinan Zhang, Qiuying Peng, Jun Wang

AI总结:

本文提出 HammerBench 基准,基于真实移动应用场景、匿名日志与开源数据生成流程,细粒度评估多轮对话中的 LLM 函数调用能力,并揭示参数名称错误是主要失败来源。

摘要:

评估大语言模型(LLM)在多轮人机交互中的性能面临重大挑战,尤其是用户行为的复杂性和可变性所致。本文提出 HammerBench,这是一种新颖的基准框架,用于评估 LLM 在真实世界多轮对话中的函数调用能力。HammerBench 模拟多样化的移动助手用例,纳入不完整指令、动态问答轨迹、意图和参数偏移,以及通过代词间接使用外部信息。为构建该基准,作者整理了一个综合数据集,其来源于热门移动应用功能和匿名化用户日志,并辅以利用开源模型的高性价比数据生成流程。HammerBench 还进一步增强了细粒度交互快照和指标,从而能够跨各个对话轮次详细评估函数调用性能。作者通过评估多个领先 LLM 并揭示关键性能趋势,证明了 HammerBench 的有效性。实验表明,不同类型的参数名称错误是不同交互场景中失败的重要来源,凸显了移动助手应用中 LLM 鲁棒性有待进一步改进的关键领域。

英文摘要:

Evaluating the performance of LLMs in multi-turn human-agent interactions presents significant challenges, particularly due to the complexity and variability of user behavior. In this paper, we introduce HammerBench, a novel benchmark framework for assessing LLMs' function-calling capabilities in real-world, multi-turn dialogues. HammerBench simulates diverse mobile assistant use cases, incorporating imperfect instructions, dynamic question-answer trajectories, intent and argument shifts, and the indirect use of external information through pronouns. To construct this benchmark, we curate a comprehensive dataset derived from popular mobile app functionalities and anonymized user logs, complemented by a cost-effective data generation pipeline leveraging open-source models. HammerBench is further augmented with fine-grained interaction snapshots and metrics, enabling detailed evaluation of function-calling performance across individual conversational turns. We demonstrate the effectiveness of HammerBench by evaluating several leading LLMs and uncovering key performance trends. Our experiments reveal that different types of parameter name errors are a significant source of failure across different interaction scenarios, highlighting critical areas for further improvement in LLM robustness for mobile assistant applications.

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

↑