NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CharTool: Tool-Integrated Visual Reasoning for Chart Understanding

Situo Zhang, Yifan Zhang, Zichen Zhu, Da Ma, Lei Pan, Danyang Zhang, Zihan Zhao, Lu Chen, Kai YuarXiv 2026

TL;DR

CharTool enhances Multimodal Large Language Models (MLLMs) for chart understanding by integrating external tools like image cropping and Python code execution. Trained via reinforcement learning on a novel dual-source dataset called DuoChart, CharTool-7B achieves state-of-the-art performance on complex chart benchmarks, outperforming much larger open-source and proprietary models.

What Problem Does This Paper Address?

Charts are a ubiquitous medium for presenting structured data in scientific and financial literature. However, chart reasoning remains a major hurdle for modern MLLMs. The challenge is twofold: a severe lack of diverse, high-quality training data, and the inherent limitations of purely text-based Chain-of-Thought (CoT) reasoning.

When forced to rely entirely on textual logic, models frequently hallucinate or fail to perform precise numerical calculations and fine-grained visual grounding. Complex chart elements—such as overlapping data points, dense annotations, and intersecting trend lines—require a level of local visual focus and mathematical precision that standard text-based MLLMs simply cannot achieve.

Figure 1: Motivation for our method. (Left) Chart reasoning requires fine-grained visual perception and numerical reasoning. (Middle) Existing synthetic chart datasets often lack diversity and visual quality. (Right) Purely text-based reasoning leads to errors on complex layouts, while explicit tool grounding (e.g., image cropping) enables more accurate, localized analysis.

Methods

The authors introduce a complete framework consisting of a novel data pipeline (DuoChart) and a tool-augmented model architecture (CharTool).

  1. DuoChart Data Pipeline: To solve the data scarcity problem, the authors combine the strengths of two distinct sources. They use code-driven synthetic charts (which provide precise underlying data for perfect answer verification) and real-world charts mined from arXiv papers (which offer realistic visual complexity). An MLLM-based judge filters the corpus for visual quality and semantic completeness before a multi-agent system generates 100k high-quality QA pairs.
  2. CharTool Framework: CharTool equips MLLMs with Tool-Integrated Reasoning (TIR). The model can dynamically invoke two core tools via a unified code execution interface:
  3. An image-cropping tool to zoom in on specific subplots or dense regions for localized visual perception.
  4. A code computation tool (Python interpreter) to execute exact mathematical operations, aggregations, and statistical analyses.
  5. Reinforcement Learning via GRPO: To teach the model how to effectively interleave internal reasoning with external tool calls, the authors employ Group Relative Policy Optimization (GRPO). The training uses a tool-aware reward function that scores the model based on final answer accuracy, structural formatting compliance, and successful tool exploration within a safe sandbox environment.
Figure 2: Data synthesis pipeline of DuoChart. (A) Dual-source chart image construction. (B) High-quality QA generation and validation. (C) Cold-start trajectory synthesis.

Datasets

  • DuoChart-100k: A newly introduced dataset containing 16,688 high-quality charts and 100,000 challenging QA pairs split between structural recognition and multi-step reasoning.
  • Evaluation Benchmarks: The framework was evaluated across six standard chart benchmarks:
  • Real-world: CharXiv, ChartQAPro, and ChartQA.
  • Synthetic: ChartBench, ChartX, and ReachQA.
  • Out-of-Domain Visual Math: MathVista, WeMath, and MathVerse.

Key Insights and Ideas

  • The Realism-Controllability Trade-off: Purely synthetic chart datasets often suffer from low layout diversity and text overlapping, while real-world charts lack accessible underlying data values. Merging both paradigms creates a significantly more robust training foundation.
  • Dynamic Tool Adaptation: CharTool naturally learns to adapt its tool selection based on the nature of the problem. For perception-heavy tasks with complex layouts (like CharXiv), it predominantly triggers the image-cropping tool. For simpler layouts with high numerical complexity (like MathVista), it shifts its strategy toward code execution.
  • Parameter Efficiency Over Scale: Rather than scaling up model parameters to handle complex reasoning, providing a smaller model (7B) with explicit perceptual and computational tools yields superior performance.

Key Results

  • State-of-the-Art Performance: CharTool-7B achieved an average score of 66.52% across the chart benchmarks, outperforming GPT-4o (61.52%), Claude 3.5 Sonnet (63.62%), and the much larger Qwen2.5-VL-72B (66.02%).
  • Substantial Baseline Gains: Compared to its base Qwen2.5-VL-7B model, CharTool-7B achieved an absolute accuracy boost of +8.0% on CharXiv (Reasoning) and +9.78% on ChartQAPro.
  • Strong Out-of-Domain Generalization: Despite being trained exclusively on chart data, CharTool generalized remarkably well to general visual math benchmarks, yielding absolute improvements over the base model on MathVista (+1.90%), WeMath (+2.19%), and MathVerse (+1.60%).

Limitations and Future Work

  • Tool Variety: The framework is currently limited to two primary tools (cropping and Python execution). Expanding this to a broader suite of specialized vision or data-parsing tools is an open direction.
  • Domain Scope: The dataset and optimization are strictly tailored to charts. The authors note that extending this methodology to other dense visual-text domains, such as tables, technical manuals, and geometric diagrams, remains an important future task.
  • Reward Granularity: The reinforcement learning phase relies heavily on trajectory-level rewards based on final answer correctness. Introducing more fine-grained, process-level reward signals could further optimize complex, multi-step tool interactions.

Summary updated

BibTeX
@misc{zhang2026chartool,
  author = {Situo Zhang and Yifan Zhang and Zichen Zhu and Da Ma and Lei Pan and Danyang Zhang and Zihan Zhao and Lu Chen and Kai Yu},
  title = {{CharTool: Tool-Integrated Visual Reasoning for Chart Understanding}},
  year = {2026},
  eprint = {2604.02794},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.02794},
}
Figure