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

Honglin Mu, Yang Xu, Yunlong Feng, Xiaofeng Han, Yitong Li +2 more
3/17/2024
cs.CL

No official code found. Best implementation: hlmu/AutoDE (5 stars, MIT, last commit 2024-03-29).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

hlmu/AutoDECommunity100%
MIT
50Shell, PythonMar 27, 20242 years agoMIT

Similar Papers

Cite this paper

@article{mu2024beyond,
  title  = {Beyond Static Evaluation: A Dynamic Approach to Assessing AI Assistants' API Invocation Capabilities},
  author = {Honglin Mu and Yang Xu and Yunlong Feng and Xiaofeng Han and Yitong Li and Yutai Hou and Wanxiang Che},
  year   = {2024},
  eprint = {2403.11128},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.11128v2}
}

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/2403.11128.svg)](https://codeofpaper.com/paper/2403.11128)

Discussion