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

Jun Wang, Jiamu Zhou, Xihuai Wang, Xiaoyun Mo, Haoyu Zhang, Qiqiang Lin, Jincheng Jincheng, Muning Wen, Weinan Zhang, Qiuying PengACL 2025

Abstract

As Large Language Models (LLMs) transition into mobile agents, their ability to execute tools via function calling in dynamic, multi-turn dialogues becomes paramount. Existing benchmarks often overlook the "messiness" of real-world human interaction. HammerBench addresses this by providing a fine-grained evaluation framework that simulates realistic mobile assistant scenarios, including vague instructions, intent shifts, and argument overrides. By testing 10 prominent LLMs, this work identifies critical failure modes in state tracking and parameter hallucination, while proposing a "Function Calling Snapshot" paradigm that enhances robustness in multi-turn information gathering.

Introduction

The deployment of LLMs as mobile agents—capable of booking tickets, managing calendars, or sending emails—requires seamless integration with external tools. This process frequently necessitates multi-turn conversations to resolve missing parameters. However, current benchmarks primarily focus on structured planning or single-turn execution. In reality, users provide incomplete data, change their minds, or use anaphoric references (e.g., "the time we discussed on Facebook"). HammerBench is designed to pinpoint exactly where models fail under these conditions.

Comparison of HammerBench with existing benchmarks, highlighting its unique focus on multi-turn conversational nuances.

Methods and Dataset

The authors constructed a dataset of 1,063 tools across 60 mobile app categories. To simulate "conversational chaos," they developed a pipeline that generates four specific multi-turn challenges: imperfect instructions, diverse Q&A trajectories, intent/argument shifts, and external information references.

Examples of conversational challenges in HammerBench, including intent shifts, argument shifts, and external information references.

The benchmark also introduces the "Function Calling Snapshot" paradigm. Instead of the model simply asking questions until all data is present, it outputs a formatted function call at every turn with its current knowledge. Rule-based logic then identifies gaps, a method found to be 16% more successful than traditional "Learning to Ask" approaches.

Key Insights and Results

Evaluation of models ranging from GPT-4o to Llama-3.1 revealed several critical insights:

  • Parameter Hallucination: Models frequently hallucinate missing values in early turns rather than seeking clarification. The Parameter Hallucination Rate (PHR) is notably higher in the first turn than the last.
  • Argument Shift Vulnerability: Many open-source models fail to update parameters when a user corrects themselves (e.g., changing a destination), showing a "stubbornness" to initial inputs.
  • Performance Gap: Proprietary models (GPT-4o, Claude 3.5 Sonnet) significantly outperform open-source counterparts in handling slot overriding and complex trajectories, achieving ~74% accuracy. Smaller 7B-8B models struggle significantly with state tracking in multi-turn contexts.

Conclusion

HammerBench exposes the limitations of current LLMs in handling the non-linear nature of human conversation. While the "Snapshot" approach offers a path forward, the high rates of hallucination and failure in argument tracking suggest that current models are not yet fully reliable for complex mobile agency. Future work will focus on dynamic, real-time interaction evaluations to further bridge the gap between benchmarks and live deployment.

Summary updated

BibTeX
@inproceedings{wang2025hammerbench,
  author = {Jun Wang and Jiamu Zhou and Xihuai Wang and Xiaoyun Mo and Haoyu Zhang and Qiqiang Lin and Jincheng Jincheng and Muning Wen and Weinan Zhang and Qiuying Peng},
  title = {{HammerBench: Fine-Grained Function-Calling Evaluation in Real Mobile Assistant Scenarios}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure