Current benchmarks fail to assess complex function calling in real-world LLM scenarios.
This paper introduces ComplexFuncBench, a benchmark for multi-step, constrained function calls, and ComplexEval, an automatic evaluation framework.
-----
https://arxiv.org/abs/2501.10132
Original Problem π€:
β LLMs lack real-time and factual knowledge.
β Function calling enhances LLMs with external APIs.
β Evaluating complex function calls is challenging.
β Existing benchmarks do not cover real-world complexity.
β They lack multi-step calls and parameter reasoning evaluation.
-----
Solution in this Paper π‘:
β This paper introduces ComplexFuncBench.
β It is a benchmark for complex function calling.
β ComplexFuncBench includes multi-step and constrained calls.
β It requires long parameter filling and value reasoning.
β It features 128k long context scenarios.
β The paper also proposes ComplexEval.
β ComplexEval is an automatic evaluation framework.
β It uses multi-dimensional matching for evaluation.
β This includes rule-based, response-based and LLM-based matching.
-----
Key Insights from this Paper π§:
β Current LLMs show deficiencies in complex function calling.
β Parameter value errors are a significant error source.
β Models struggle with constrained parameter reasoning.
β Long context parameter extraction is challenging for models.
β Different models show specific weaknesses in different scenarios.
-----
Results π:
β GPT-4o achieves 60.5% overall success rate on ComplexFuncBench.
β Qwen2.5-72B achieves 40.1% overall success rate.
β Claude-3.5-Sonnet achieves 1.84 completeness score and 1.85 correctness score in response evaluation.










