Advancing Multimodal Large Language Models in Chart Question Answering with Visualization-Referenced Instruction Tuning

Xingchen Zeng, Haichuan Lin, Yilin Ye, Wei Zeng

TL;DR

This paper introduces a "visualization-referenced" instruction tuning approach to fix the blind spots of Multimodal Large Language Models (MLLMs) in chart understanding. By building a specialized data engine that targets complex visual encodings (like inverted axes and stacked areas) and unfreezing the vision encoder during training, the authors' model outperforms state-of-the-art specialized and general-purpose models on chart reasoning tasks.

What Problem Does This Paper Address?

While Multimodal Large Language Models (MLLMs) like GPT-4V are impressive, they often stumble when faced with charts that deviate from standard formats. Most existing Chart Question Answering (CQA) models are trained on datasets dominated by simple bar, line, and pie charts. Consequently, they fail to understand "visual mappings"—the rules that translate data into pixels.

For example, a model might fail to realize a Y-axis is inverted or that a bar chart is truncated, leading to wildly incorrect answers. Furthermore, most MLLMs use vision encoders (like CLIP) that were pre-trained on natural images (cats, dogs, landscapes) and kept "frozen" during tuning, making them poorly suited for the fine-grained text and geometric precision required for chart literacy.

Methods

The authors propose a two-pronged solution involving a novel Data Engine and Architectural Refinements:

  1. The Data Engine (Filter & Generate):
    • Filtering: Instead of just scraping more data, they built a classifier (using a ConvNeXt backbone with Focal Loss) to categorize existing datasets by fine-grained attributes like layout, trend, and number annotations. This allowed them to perform "stratified sampling" to create a balanced training set.
  2. Generation: To fill gaps in existing data, they used a Retrieval-Augmented Generation (RAG) pipeline. They fed an LLM (ChatGPT) table-code pairs and instructed it to generate new charts with diverse visual encodings, such as inverted axes, varied bubble sizes, and stacked area charts.
  3. Model Architecture (LLaVA-based):
    • Unfreezing the Vision Encoder: Unlike standard LLaVA-style training, they unfreeze the CLIP vision encoder. This allows the model to adapt its "eyes" specifically to the sharp edges and text-heavy nature of charts.
  4. Mixture-of-Resolution: They implement a strategy to fuse high-resolution (1024x1024) and normal-resolution (448x448) features, ensuring the model can "see" small text and tiny data points without a massive increase in computational cost.

Datasets

  • Training Data: A newly constructed dataset of 199K items, consisting of 80K table-chart pairs and 119K chart-QA pairs. This was built by filtering and augmenting existing sets like ChartQA, PlotQA, and UniChart.
  • New Benchmark: The authors contributed a meticulously curated benchmark of 736 chart-QA pairs covering 11 chart types and 8 task categories (e.g., finding anomalies, determining ranges, and characterizing distributions).

Key Insights and Ideas

  • Diversity Over Volume: The authors found that simply scaling up data isn't enough. Models trained on human-generated, reasoning-heavy questions (ChartQA-H) performed significantly better than those trained on massive amounts of machine-generated retrieval questions.
  • The "Natural Image" Tax: Keeping vision encoders frozen is a bottleneck for charts. Charts are "low-level" visual structures compared to natural scenes; unfreezing the encoder allows the model to learn the specific spatial relationships and text-alignment rules unique to visualizations.
  • Visual Mapping Awareness: By explicitly training on "edge cases" like truncated or inverted axes, the model learns that the context of the axis is just as important as the height of the bar.

Key Results

The proposed model achieved superior performance across several benchmarks:

  • ChartQA: It reached an average accuracy of 78.6%, outperforming specialized models like Matcha (63.8%) and ChartLlama (69.7%).
  • Human-Authored Questions: On the difficult ChartQA-Human split, it scored 63.6%, a significant jump over previous open-source SOTA.
  • Complex Reasoning: On their new benchmark, the model excelled at "Determining Range" and "Make Comparisons," tasks where even GPT-4-Vision-Preview struggled (e.g., the model scored 35.57% on range determination vs. GPT-4V's 30.77%).

Limitations and Future Work

Despite the gains, the authors note that scatterplots and bubble charts remain a major challenge. Tasks like "finding anomalies" or "finding clusters" require extremely high-precision recognition of tiny points, which current vision encoders still struggle to resolve perfectly.

Future work suggests moving toward referential grounding—using bounding boxes and arrows within the QA process to help the model "point" to exactly what it is looking at, further reducing the "hallucination" of data values. Additionally, exploring better textual representations, like scene graphs, could replace raw data tables for even more efficient reasoning.

Summary updated

BibTeX
@article{zeng2025advancing,
  author = {Xingchen Zeng and Haichuan Lin and Yilin Ye and Wei Zeng},
  title = {{Advancing Multimodal Large Language Models in Chart Question Answering with Visualization-Referenced Instruction Tuning}},
  journal = {IEEE Trans. Vis. Comput. Graph.},
  year = {2025},
  url = {https://openreview.net/forum?id=K1k1dI3MsV},
}
Figure