Introduction
While Large Language Models (LLMs) have demonstrated remarkable proficiency in text-based reasoning and basic image description, real-world data analysis remains a significant challenge. Professional tasks often involve "omni-data"—a complex mixture of unstructured images, semi-structured tables, and textual instructions. Existing benchmarks like MMLU or MME primarily focus on knowledge retrieval or simple conversation, failing to test the "agentic" workflow required for professional data science.
BabelBench is a new benchmark designed to evaluate LLMs as agents capable of solving complex problems by analyzing multimodal (images) and multistructured (tables/CSVs) data through code execution.
The Agentic Workflow
The core of BabelBench is a framework that treats the LLM as an agent operating within a Python sandbox. The workflow follows a "ReAct" (Reason + Act) style:
- Perception & Planning: The model receives a prompt, images, and data files, then determines which data source to prioritize.
- Action (Code Execution): The model generates Python code to process the tables or images.
- Observation & Iteration: The sandbox returns the code output or an error. The model must then refine its plan or provide a final answer.
This iterative process tests the model's ability to debug its own scripts and align information across different modalities—a critical skill for real-world applications.
The BabelBench Dataset
The benchmark consists of 247 meticulously curated, human-annotated problems. These tasks are categorized into two main domains:
- Perception: Tasks such as counting, color recognition, celebrity/landmark identification, OCR, and artwork analysis.
- Reasoning: Tasks involving commonsense, spatial, logical, and mathematical reasoning.
Problems are further ranked by difficulty (Easy, Medium, Hard) to provide a comprehensive view of model capabilities. The evaluation pipeline is automated, matching model-extracted variables against ground-truth values using exact, fuzzy, or numerical tolerance matching.
Evaluation and Results
BabelBench was used to evaluate 13 prominent models, including commercial leaders like GPT-4, Gemini Pro 1.5, and Claude 3 Opus, as well as open-source models like LLaVa.
The results highlight a significant performance gap. GPT-4 leads the field but achieved a score of only 42.11%, failing more than half the time. Gemini-Pro-1.5 followed with 34.01%. A staggering "open-source chasm" exists, with most open-source models scoring below 10%.
Key findings include:
- Alignment Bottlenecks: Models frequently fail to map text constraints to the correct data in images or tables.
- Low Adversity Quotient: Models struggle to recover from errors, often repeating the same mistake in subsequent code execution steps.
- Category-Specific Weaknesses: Performance plummeted on tasks requiring spatial reasoning, mathematical reasoning, and counting.
Conclusion
BabelBench reveals that agentic multi-step reasoning across multimodal and multistructured data remains a "frontier" capability. Even the most advanced models struggle with the alignment and error-recovery required for true "omni-data" problem-solving. Future work will focus on expanding the dataset and incorporating more diverse tools, such as web browsing and specialized APIs, to further bridge the gap between benchmarks and real-world data science.
Summary updated