Beyond Text: Unveiling Multimodal Proficiency of Large Language Models with MultiAPI Benchmark

Xiao Liu, Jianfeng Lin, Jiawei Zhang

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in processing and generating text. However, they remain largely isolated from the multimodal reality of the physical world. To address this "blindness," researchers often employ "tool-augmentation," where an LLM serves as a central controller calling external APIs to process images, audio, or video. Despite the promise of this approach, there is a lack of standardized benchmarks to evaluate how effectively these models can navigate complex multimodal toolsets.

The MultiAPI benchmark addresses this gap by providing a large-scale dataset of 235 API calls and over 2,000 prompts. This benchmark evaluates the proficiency of LLMs in selecting and executing the correct tools for multimodal tasks, revealing critical bottlenecks in current model architectures.

The MultiAPI Benchmark

MultiAPI is a comprehensive evaluation suite featuring:

  • 235 functional API calls spanning 9 multimodal domains, such as Depth Estimation, Object Detection, and Video Classification.
  • 2,038 contextual prompts designed to trigger these specific APIs.
  • MultiAPI-SEQ, a specialized subset of 30 instructions that require the sequential execution of two different APIs to solve a single complex task.

Methodology

The authors developed a rigorous four-step workflow to transform raw model descriptions from repositories like HuggingFace into a standardized, executable benchmark.

The four-step workflow for constructing the MultiAPI benchmark, including description verification, model encapsulation, and ground truth transformation.
  1. Description Verification: Human annotators filter out vague or insufficient descriptions to ensure the LLM has enough information to identify a tool's purpose.
  2. Model Encapsulation: Using GPT-3.5-turbo, example code snippets are converted into standardized Python functions.
  3. Argument Standardization: A uniform argument structure is enforced across domains (e.g., standardizing prompt and output_path for all Text-to-Image tools) to simplify evaluation.
  4. Ground Truth Transformation: User instructions are mapped to specific, executable function calls.

To evaluate performance, the benchmark uses a four-level hierarchy: Invocation Assessment (knowing when to use a tool), Domain Match (picking the right category), Function Match (picking the specific tool), and Argument Match (providing correct parameters).

Key Insights and Experimental Results

The study reveals several surprising findings regarding LLM tool usage:

The Context Paradox

While In-Context Learning (ICL) typically improves performance in NLP tasks, the authors found that providing extra examples often degraded an LLM's ability to select the correct API. This "context paradox" suggests that auxiliary context can introduce distracting complexity that impairs tool selection.

Domain and Function Confusion

LLMs frequently struggle with the nuances of visual analysis. For instance, models often confuse "Image Classification" (global analysis) with "Object Detection" (local analysis). While GPT-3.5 is highly proficient at deciding when to use a tool (99.8% invocation accuracy), its accuracy drops significantly to 52.9% when selecting the specific correct function. In contrast, Llama2-13B showed much lower proficiency, with a function selection accuracy of only 9.9%.

The Sequential Bottleneck and Argument Generation

In multi-step tasks (MultiAPI-SEQ), models fine-tuned for single-function calls often failed the second step, frequently reverting to internal knowledge (hallucination) rather than using the external tool. Furthermore, argument generation remains the most significant hurdle; even when the correct tool is chosen, models fail to generate correct arguments (like file paths) more than 50% of the time.

Conclusion and Future Work

The MultiAPI benchmark highlights a persistent "textual bias" in current LLMs, likely stemming from their training on predominantly text-based data. To improve performance, the authors suggest adding detailed domain definitions to system prompts and utilizing secondary "LLM editors" to refine arguments, which improved GPT-3.5’s function accuracy to 59.5%.

Future research will focus on developing better reasoning paths for sequential tasks, reducing parametric memory hallucinations, and expanding the benchmark to include more diverse modalities like audio and 3D point clouds.

Summary updated

BibTeX
@misc{liu2023beyond,
  author = {Xiao Liu and Jianfeng Lin and Jiawei Zhang},
  title = {{Beyond Text: Unveiling Multimodal Proficiency of Large Language Models with MultiAPI Benchmark}},
  year = {2023},
  eprint = {2311.13053},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.13053},
}
Figure