Abstract
Charts are ubiquitous in data communication, yet Multimodal Large Language Models (MLLMs) often struggle to interpret them accurately, frequently leading to hallucinations. This paper introduces AskChart, a 4.6B-parameter framework that bridges the gap between visual perception and data reading. By explicitly integrating OCR-extracted text with visual features and leveraging a Mixture of Experts (MoE) architecture, AskChart achieves state-of-the-art performance. Trained on the novel 7.5M-sample ChartBank dataset, it outperforms models nearly three times its size on complex reasoning and summarization tasks.
1. Introduction
While humans naturally combine visual patterns with textual labels on axes and legends, most AI models rely almost exclusively on raw image pixels. This reliance often results in precision errors, such as misreading exact values or failing to connect legend colors to data series. AskChart addresses these challenges by treating chart text as a primary input rather than a secondary visual feature.
As shown in Figure 1, conventional approaches often miss critical semantic context, leading to inaccurate summaries. AskChart's "textual enhancement" strategy uses an off-the-shelf OCR tool to extract visual text, which is then grounded alongside visual tokens to provide a more accurate interpretation of the data.
2. Methodology
The AskChart architecture is designed for both efficiency and high-fidelity reasoning. It combines a SigLIP vision encoder with a lightweight Phi-2 LLM, enhanced by Mixture of Experts (MoE) layers. This MoE setup allows the model to activate only the most relevant "experts" for a given token, enabling a 4.6B model to achieve the intelligence of much larger counterparts.
The training process follows a three-stage pipeline:
- Visual-Textual Alignment: Pretraining on "Chart-to-Table" tasks to map visual marks to structured data.
- Multi-task Instruction Tuning: Training on diverse tasks like summarization and reasoning.
- MoE Fine-tuning: Optimizing specialized experts to handle different chart types and complex Chain-of-Thought (CoT) reasoning.
3. The ChartBank Dataset
To support this framework, the researchers curated ChartBank, a massive dataset of ~7.5 million samples categorized into three specialized sub-datasets:
- Visual Prompt Dataset: Teaches the model to focus on specific regions using visual markers like arrows and boxes.
- OCR-aware Data Prompt Dataset: Uses multi-turn conversations grounded in OCR results to reduce hallucinations.
- Chart-to-Table Instruction Following: Focuses on converting complex charts into structured tables through step-by-step reasoning.
4. Key Results and Insights
AskChart delivers remarkable performance gains across standard benchmarks, often surpassing 13B-parameter state-of-the-art (SOTA) models:
- Open-ended ChartQA: Outperforms 13B-parameter SOTA models by 68.3%.
- Chart-to-Text: Achieves a 49.2% improvement on the Pew dataset.
- ChartInsights: Ranks 1st overall with a score of 42.7%, showing particular strength in data retrieval and range identification.
- Zero-Shot Capability: Demonstrates superior generalization on unseen datasets like RealCQA and ChartX, proving the robustness of the textual enhancement strategy.
Key insights from the study highlight that unfreezing the vision encoder is vital for learning chart geometry, and treating text as a "first-class citizen" drastically reduces model hallucinations.
5. Conclusion and Future Work
AskChart demonstrates that textual enhancement and MoE architectures can significantly improve chart understanding without requiring massive parameter counts. While the model currently faces challenges with extremely dense charts and complex multi-step arithmetic, future work will explore higher-resolution chart handling and more sophisticated token merging techniques to further refine its analytical capabilities.
Summary updated