ComplexFuncBench: Exploring Multi-Step and Constrained Function Calling under Long-Context Scenario

Lucen Zhong, Zhengxiao Du, Xiaohan Zhang, Haiyi Hu, Jie Tang
1/17/2025
cs.CL

No official code found. Best implementation: zai-org/ComplexFuncBench (180 stars, last commit 2025-01-20).

Abstract

Enhancing large language models (LLMs) with real-time APIs can help generate more accurate and up-to-date responses. However, evaluating the function calling abilities of LLMs in real-world scenarios remains under-explored due to the complexity of data collection and evaluation. In this work, we introduce ComplexFuncBench, a benchmark for complex function calling across five real-world scenarios. Compared to existing benchmarks, ComplexFuncBench encompasses multi-step and constrained function calling, which requires long-parameter filing, parameter value reasoning, and 128k long context. Additionally, we propose an automatic framework, ComplexEval, for quantitatively evaluating complex function calling tasks. Through comprehensive experiments, we demonstrate the deficiencies of state-of-the-art LLMs in function calling and suggest future directions for optimizing these capabilities. The data and code are available at \url{https://github.com/THUDM/ComplexFuncBench}.

View on arXivView PDF

Code Implementations(1)

Complex Function Calling Benchmark.

18029PythonJan 16, 20251 years ago

Similar Papers

Cite this paper

@article{zhong2025complexfuncbench,
  title  = {ComplexFuncBench: Exploring Multi-Step and Constrained Function Calling under Long-Context Scenario},
  author = {Lucen Zhong and Zhengxiao Du and Xiaohan Zhang and Haiyi Hu and Jie Tang},
  year   = {2025},
  eprint = {2501.10132},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.10132v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.10132.svg)](https://codeofpaper.com/paper/2501.10132)

Discussion