ChartAB: A Benchmark for Chart Grounding & Dense Alignment

Aniruddh Bansal, Davit Soselia, Dang Nguyen, Tianyi ZhouarXiv 2025 · DOI

Abstract

ChartAB is a new benchmark designed to stress-test how well Vision-Language Models (VLMs) actually "see" the fine-grained details of charts. By moving beyond simple question-answering to evaluate grounding (extracting raw data and styles) and dense alignment (identifying exact differences between two similar charts), the researchers reveal that even top-tier models like GPT-4o suffer from significant spatial biases and "color blindness" when charts get complex.

What Problem Does This Paper Address?

While large multimodal models have become impressively good at reasoning, they often "hallucinate" when it comes to the structural nitty-gritty of data visualization. Most existing benchmarks evaluate charts through high-level Question Answering (QA), which can hide a model's inability to actually perceive the underlying data.

In real-world scenarios—like comparing two financial quarters or tracking scientific variables—users need models that can perform dense alignment: the ability to pinpoint exactly which data points or visual attributes (like legend positions or font styles) have changed between two versions of a chart. This paper addresses the lack of a systematic framework to evaluate these fundamental "perception-first" skills.

Methods

The authors introduce a novel two-stage evaluation pipeline that mirrors high-level human reasoning:

  1. Grounding: The model is first asked to convert a single chart into a structured textual format (a CSV for data or a specific JSON template for attributes like color and text style).
  2. Alignment: The model then compares the grounded outputs of two similar charts to identify discrepancies.

To make this possible, they developed a programmatic "perturbation" engine. Starting with a base chart, they modify 1–3 data cells or a specific visual attribute (e.g., moving the legend from "upper-left" to "center-right") to create a "twin" chart. This allows for objective, automated scoring of whether a model correctly identified the change.

Overview of the dense alignment task across different attribute variations.

Datasets

The researchers built ChartAB using ChartX as a foundation, comprising over 9,000 curated instances. The dataset covers nine chart types, ranging from simple bar and line charts to complex 3D bar, radar, rose, and multi-axis charts. It includes specific subsets for Data Grounding, Attribute Grounding (Color, Legend, Text Style), and a Robustness set to see if changing a chart's color scheme breaks the model's ability to read the underlying data.

Key Insights and Ideas

  • The "Grounding Gateway": The study confirms that precise grounding is a prerequisite for reasoning. If a model fails to extract the data table correctly, its performance on downstream QA tasks drops significantly.
  • Spatial Reasoning Bias: Models have "priors" about where things should be. For example, Phi-3.5 shows a heavy bias toward perceiving legends in the "upper-left" corner, regardless of where they actually are.
  • VLM "Color Blindness": While models recognize basic colors, they struggle with shades and non-standard hex codes. Median L2 errors in RGB space were consistently high, suggesting that current vision encoders aren't sensitive enough to the color nuances often used in professional data viz.
  • Complexity Penalty: Models that perform well on standard 2D bar charts often fall apart on 3D charts or Rose charts. This is largely due to a lack of "depth understanding" and a reliance on text cues rather than geometric scaling.

Key Results

GPT-4o generally leads in legend and text-style grounding, but open-source models like Qwen-2.5-VL actually outperformed it on several specific chart types for data alignment. Almost all models (except GPT-4o in some cases) failed miserably at detecting font family and exact font size, with accuracies often falling below 20%.

Example of a data alignment task where specific values for Sarah and David are perturbed.

For the InternVL-2.5 family, the researchers observed a clear scaling law: larger models perform better at dense alignment, except when the required JSON output format becomes too complex, causing the models to fail at basic syntax. Furthermore, models are generally more robust to changes in color than changes in legend position or text style; moving a legend can "confuse" a model's perception of the data area itself.

Limitations and Future Work

The authors acknowledge that ChartAB currently focuses on synthetic charts generated from clean code. "In-the-wild" charts—which might be low-resolution, hand-drawn, or stylistically "noisy"—remain a frontier. Furthermore, the benchmark is purely evaluative. The authors suggest that the next step for the community is to use the ChartAB framework to fine-tune models, specifically training them on the "ground-then-align" workflow to bridge the gap between visual perception and logical reasoning.

Summary updated

BibTeX
@misc{bansal2025chartab,
  author = {Aniruddh Bansal and Davit Soselia and Dang Nguyen and Tianyi Zhou},
  title = {{ChartAB: A Benchmark for Chart Grounding \& Dense Alignment}},
  year = {2025},
  eprint = {2510.26781},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.26781},
}
Figure