TL;DR
The paper introduces CHARTANNO, a novel benchmark designed to evaluate Multimodal Large Language Models (MLLMs) on their ability to generate chart annotations from natural language instructions. Testing 10 prominent MLLMs across varying granularities of instruction, the authors reveal that while models excel at following concrete rendering parameters, inferring abstract communicative intent remains a significant bottleneck, and providing chart images alongside underlying code offers surprisingly marginal benefits.
What Problem Does This Paper Address?
Charts are powerful tools for data storytelling, but key insights are rarely immediately obvious to a casual reader. Annotations—such as arrows, highlighted regions, and callout text—bridge this gap by guiding attention and explaining complex data relationships.
While current MLLMs have shown impressive capabilities in generating charts from scratch or performing explicit visual edits, generating annotations from user intent is a distinct and significantly harder challenge. It requires the model to understand abstract communicative goals (e.g., "highlight the impact of the poorest demographic"), map those goals to the underlying data structure, and generate precise, executable code to place visual elements without disrupting the original chart's layout or fidelity. Prior to this work, there was no dedicated benchmark or visualization-grounded evaluation framework to measure how well MLLMs handle this nuanced task.
Methods
The authors frame chart annotation generation as a conditional code generation task. Given a base chart representation and an instruction, the model must output Python code that renders the annotated chart.
To rigorously test model capabilities, the benchmark evaluates performance across three levels of instruction specificity:
- Intent-level: Abstract goals describing the intended message, forcing the model to decide what to annotate and how to design it.
- Operation-level: Qualitative actions and spatial relations (e.g., "draw a dashed rectangle around the initial peak").
- Implementation-level: Concrete rendering parameters, providing exact coordinates, colors, and functions.
The evaluation pipeline combines rule-based metrics (Execution Rate and Structural Compliance, which programmatically checks if the base chart's structure was preserved) and an LLM-judged framework (using GPT-5.4 to evaluate Semantic Consistency and Design Effectiveness based on visualization design principles). This automated judge was strictly validated against human expert ratings.
Datasets
The authors introduce the CHARTANNO dataset, which contains 1,200 real-world charts paired with clean, executable Python/Matplotlib code. The dataset features a balanced mix of sources:
- 653 communicative charts curated from public chart datasets and news graphics.
- 547 scientific charts extracted from recent arXiv papers, featuring manually refined structures.
With three instruction levels generated per chart, the benchmark provides a total of 3,600 evaluation samples.
Key Insights and Ideas
- Abstract intent is the ultimate frontier: Models achieve high execution rates, but their semantic and design scores plummet when given abstract Intent-level instructions compared to explicit Implementation-level instructions. They struggle to bridge the gap between "why" an annotation is needed and "how" to code it.
- Images are secondary to code: Surprisingly, providing the chart image alongside the chart code (
Code + Imageinput) yielded very limited overall performance gains compared to providingCodealone. The visual input primarily helped with fine-tuning local layout and readability (Visual Clarity) rather than improving semantic understanding. - Code is the true anchor: In an
Image-onlyablation study (where models had no access to the underlying code), performance dropped drastically. This indicates that chart code provides the critical semantic and structural grounding required for reliable annotation generation. - Complexity hurts open-source models more: As chart complexity increases (measured by the size of the required code edit or instruction length), all models suffer, but open-source models experience a much sharper performance decline than proprietary ones.
Key Results
- Top Performers: Among proprietary models, Gemini 3.1 Pro Preview consistently dominated across almost all metrics and instruction levels. Among open-source models, Kimi K2.5 was the clear leader, even matching or outperforming some proprietary models in specific settings (e.g., scoring 3.869 in Semantic Consistency under Implementation-level Code Input).
- Modality Impact: Adding image input to code input only marginally improved Design Effectiveness (an absolute gain of 0.021 points on a 0-5 scale) and had a negligible effect on Semantic Consistency (+0.005).
- Human Alignment: The GPT-5.4 automated judge demonstrated exceptionally high alignment with human expert raters (three PhD candidates), achieving a Spearman correlation of 0.8593 and high stability across repeated runs (ICC of 0.9427).
Limitations and Future Work
- Language Constraint: The benchmark is currently restricted to Python/Matplotlib code. While Matplotlib can export to vector formats like SVG, expanding the benchmark to other visualization grammars (like Vega-Lite or Seaborn) remains future work.
- Visual Blindspots: While the LLM judge aligns well with humans, it can still miss subtle visual flaws, such as minor text occlusions, overlapping labels, or weak attention guidance.
- Scope: CHARTANNO isolates the task of annotation generation and does not evaluate an MLLM's broader, end-to-end chart generation or data extraction capabilities.
Summary updated