ChartVerse: Scaling Chart Reasoning via Reliable Programmatic Synthesis from Scratch

Zheng Liu, Honglin Lin, Xiaoyang Wang, Xin Gao, Yu Li, Mengzhang Cai, Yun Zhu, Zhanping Zhong, Qizhi Pei, Zhuoshi Pan, Xiaoran Shang, Conghui He, Bin Cui, Wentao Zhang, Lijun Wu

TL;DR

ChartVerse is a novel framework that synthesizes massive, high-complexity chart datasets from scratch to train Vision Language Models (VLMs). By introducing a "generative stability" metric for complexity and an "answer-first" pipeline for reliability, the authors produced a dataset that allows an 8B parameter model to outperform its 30B parameter teacher on complex reasoning tasks.

What Problem Does This Paper Address?

While modern Vision Language Models (VLMs) are becoming increasingly capable, they often stumble when faced with complex charts. The root cause isn't necessarily the model architecture, but the training data.

Existing chart datasets suffer from a "dual challenge":

  1. Simplicity & Repetition: Most synthetic charts are built from rigid templates, failing to capture the "long-tail" of diverse, messy, and multi-layered charts found in the real world.
  2. Unreliable Labels: When researchers use LLMs to generate Question-Answering (QA) pairs for charts, the models often hallucinate or make numerical errors. This results in "noisy" data that prevents models from learning rigorous multi-step reasoning.

Methods

The authors propose ChartVerse, a code-driven framework that builds complexity and reliability into the data generation process through three key innovations:

1. Rollout Posterior Entropy (RPE)

How do you mathematically define if a chart is "complex"? The authors introduce RPE, which measures generative stability. They prompt a VLM to reconstruct the underlying code of a chart image multiple times. If the model produces wildly different code versions (high entropy), the chart is considered structurally complex or ambiguous. This provides a model-agnostic signal to filter for "hard" examples.

2. Complexity-Aware Chart Coder

Instead of using fixed templates, the authors trained a specialized model (Qwen2.5-Coder-7B) to generate chart code from scratch. They used an iterative loop: generate code, render the chart, measure its complexity via RPE, and retrain the coder on the most complex successful examples. This allows the system to autonomously "explore" and create highly sophisticated visual layouts.

3. Truth-Anchored Inverse QA Synthesis

To eliminate hallucinations, ChartVerse flips the standard QA generation flow. Instead of looking at an image and asking a question, the system:

  • Starts with the Code: Since the chart is rendered from code, the code is the "absolute truth."
  • Computes the Answer First: A model writes a Python script to perform a calculation on the chart's raw data to get a deterministic answer.
  • Reverse-Engineers the Question: Only after the answer is locked in does the system generate a question that leads to that specific answer.
  • Consistency Check: A separate VLM must be able to solve the question using the code to ensure it's logically sound.

Datasets

The authors curated two primary datasets using Qwen3-VL-30B-A3B-Thinking as a teacher model:

  • ChartVerse-SFT-600K: A large-scale dataset for Supervised Fine-Tuning.
  • ChartVerse-RL-40K: A high-difficulty subset designed for Reinforcement Learning, filtered by identifying samples where models frequently fail.

They evaluated their models across six major benchmarks, including ChartQA-Pro, CharXiv, Chart Museum, and ChartX.

Key Insights and Ideas

  • Complexity $\neq$ Visual Density: A chart can look "busy" but be structurally simple. RPE captures semantic complexity—how hard it is for a model to map pixels back to data structures.
  • Breaking the Distillation Ceiling: Traditionally, a "student" model trained on a "teacher's" data cannot surpass the teacher. However, because ChartVerse uses programmatic ground truths (the Python execution) rather than just the teacher's guesses, the student models actually learned to be more accurate than their teachers.
  • The Power of "Thinking" Models: By distilling Chain-of-Thought (CoT) reasoning from "Thinking" models, the authors provided the models with a roadmap for solving multi-step problems, rather than just providing a final answer.

Key Results

The results demonstrate that data quality can effectively offset model size:

  • ChartVerse-8B achieved state-of-the-art performance, with an average score of 64.1 across benchmarks, surpassing its 30B teacher (62.9) and rivaling the much larger Qwen3-VL-32B-Thinking (67.0).
  • ChartVerse-4B (score 61.9) outperformed the standard Qwen3-VL-8B-Thinking (score 60.0), showing that a model half the size can win if it's fed better data.
  • Generalization: The reasoning skills learned from charts transferred to general STEM tasks, with ChartVerse models showing significant gains on benchmarks like MathVista and DynaMath.

Limitations and Future Work

  • Teacher Dependency: While the student surpasses the teacher in accuracy, the style and depth of the reasoning traces (CoT) are still limited by the teacher model's capabilities.
  • Computational Cost: Calculating RPE requires multiple "rollouts" (inferences) per chart, which is computationally expensive at the scale of millions of samples.
  • Future Directions: The authors suggest that this "programmatic synthesis" approach could be extended beyond charts to other structured visual domains like infographics, maps, or technical schematics.

Summary updated

BibTeX
@inproceedings{liu2026chartverse,
  author = {Zheng Liu and Honglin Lin and Xiaoyang Wang and Xin Gao and Yu Li and Mengzhang Cai and Yun Zhu and Zhanping Zhong and Qizhi Pei and Zhuoshi Pan and Xiaoran Shang and Conghui He and Bin Cui and Wentao Zhang and Lijun Wu},
  title = {{ChartVerse: Scaling Chart Reasoning via Reliable Programmatic Synthesis from Scratch}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.344},
}

Loading related content...

Figure