ChartAgent: A Multimodal Agent for Visually Grounded Reasoning in Complex Chart Question Answering

Rachneet Kaur, Nishan Srishankar, Zhen Zeng, Sumitra Ganesh, Manuela VelosoarXiv 2025 · DOI

Introduction

Multimodal Large Language Models (MLLMs) like GPT-4o have demonstrated remarkable capabilities in general visual tasks. However, a significant "blind spot" remains: complex chart understanding, particularly when charts are unannotated—lacking explicit data labels on graphical elements. In these scenarios, models often fail at visual grounding, the ability to map pixels to numerical values. Instead of precisely measuring a bar's height or a pie slice's area, they often rely on textual shortcuts or pattern matching, leading to significant errors in numerically intensive queries.

ChartAgent's approach to visually grounded reasoning compared to standard MLLMs.

To address this, the authors present ChartAgent, a novel framework that shifts the paradigm from passive reading to active, tool-augmented perception. By mimicking human cognitive strategies—such as using a ruler to measure or a highlighter to isolate data—ChartAgent achieves state-of-the-art results on the most challenging chart-based benchmarks.

The ChartAgent Framework

ChartAgent operates as a multi-turn agentic loop based on the ReAct (Reason + Act) paradigm. The system is designed to move beyond one-shot answers by following a structured, verifiable reasoning process.

The detailed architecture of ChartAgent, featuring the orchestrator, modular tool library, and visual self-verification loop.

1. Metadata Extraction & Orchestration

The process begins with an LLM-based orchestrator that extracts essential metadata, such as chart type, title, and legend. It determines if the chart is "annotated." If the data is explicitly labeled, the query is routed to a standard MLLM. If the chart is unannotated or requires complex mathematical reasoning, the orchestrator triggers the specialized agentic loop.

2. The Reasoning Loop

The agent iteratively generates a Thought (planning the next step), executes an Action (invoking a specific tool), and receives an Observation (the tool's output). This loop continues until the agent has sufficient information to provide a final answer.

3. Modular Tool Library

ChartAgent leverages a library of specialized vision tools:

  • Universal Tools: These include legend detection, axis localization (mapping pixel coordinates to numerical values), and semantic segmentation (utilizing models like Segment Anything).
  • Chart-Specific Tools: These functions are tailored to specific geometries, such as computing bar heights, pie segment areas, or boxplot statistics.

4. Visual Self-Verification

A critical innovation of ChartAgent is its self-verification mechanism. Every tool execution generates an "interpretable visualization"—for instance, a chart with a highlighted bar or a colored overlay. The agent "looks" at this intermediate image to confirm the tool correctly identified the target data. If an error is detected, the agent can adjust its parameters and retry the action.

Evaluation and Benchmarks

The framework was rigorously evaluated on benchmarks known for their complexity and high proportion of unannotated charts:

  • ChartBench: Features 9 major categories and 42 subtypes; over 75% of its images are unannotated.
  • ChartX: A challenging dataset with 18 chart types, including 3D bars, bubble charts, and treemaps.
  • Internal Held-out Dataset: To mitigate "data leakage" concerns, the authors curated 125 recent, unannotated charts from the web.

Key Insights

  • Active Perception: Chart understanding is fundamentally a perception task. By grounding logic in the actual geometry of the chart through "rulers" and "highlighters," the model avoids the pitfalls of passive reading.
  • Self-Correction via Visual Feedback: Visual feedback serves as a powerful debugger. In 50% of cases where initial tool outputs were unsatisfactory, the self-verification mechanism allowed the agent to recover and reach the correct answer.
  • Architectural Generalization: As a framework, ChartAgent boosts the performance of various base models (e.g., GPT-4o, Claude 3, Pixtral), indicating that the primary bottleneck in Chart VQA is the reasoning architecture rather than model size alone.

Results

ChartAgent achieved a 16.07% absolute gain overall on ChartBench and a 17.31% gain on unannotated, numerically intensive queries compared to previous state-of-the-art models. Significant improvements were observed in difficult formats, such as horizontal/stacked bars (up to +65%) and pie charts (up to +62%). On the held-out internal dataset, ChartAgent outperformed concurrent models like GPT-o3 and GPT-5 mini by over 10%, demonstrating robust generalization.

Conclusion and Future Work

While ChartAgent significantly advances chart reasoning, it introduces higher latency and cost due to the multi-turn loop. Future work will focus on "smart routing" to optimize when the full agent is needed and expanding the toolset to handle more complex visuals like 3D distorted axes and multi-chart comparisons.

Summary updated

BibTeX
@misc{kaur2025chartagent,
  author = {Rachneet Kaur and Nishan Srishankar and Zhen Zeng and Sumitra Ganesh and Manuela Veloso},
  title = {{ChartAgent: A Multimodal Agent for Visually Grounded Reasoning in Complex Chart Question Answering}},
  year = {2025},
  eprint = {2510.04514},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.04514},
}
Figure