Skip to main content
Back

Meituan's Chart-R1 Beats Claude and Gemini at Reading Charts

Meituan's Chart-R1 combines chain-of-thought supervision with reinforcement fine-tuning to beat GPT-4o on chart reasoning at 7B parameters.

Pro

  • Meituan releases Chart-R1, a 7B chart-reasoning VLM built on Qwen2.5-VL-7B-Instruct.
  • First R1-style method for charts: SFT on chain-of-thought, then GRPO reinforcement fine-tuning.
  • Reward mixes soft numerical matching (5% tolerance) with edit distance for strings.
  • Scores 91.04% on ChartQA, beating GPT-4o, Gemini-1.5-Pro, and Claude-3.5-Sonnet.
  • Ships with ChartRQA: 258k training samples plus 1,702 human-verified benchmark across 24 chart types.
  • Weights and code available on HuggingFace and GitHub under DocTron organization.

Vision-language models tend to fumble when a chart has more than a few bars. They can describe what they see, but ask them to compare values across sub-plots, chain a few arithmetic steps together, or extract a precise number from a cluttered legend and accuracy collapses. A team from Meituan just released Chart-R1, a 7B chart-domain vision-language model that tries to fix this by borrowing the recipe that worked for DeepSeek-R1 and adapting it specifically to charts.

Chart-R1 is the first to apply R1-Style methods to the chart domain, pairing supervised chain-of-thought training with a reinforcement stage that uses numerically sensitive rewards. On the standard ChartQA benchmark it hits 91.04% accuracy, edging past Claude-3.5-Sonnet and Gemini-1.5-Pro while running at a fraction of their size.

Why charts break vision-language models

Reasoning methods have shown promise in textual domains like mathematical reasoning and code generation, but transferring these capabilities to the vision domain presents an open challenge. Recent approaches like Vision-R1 and VLM-R1 have leveraged RL to enhance visual perception and grounding, but they have primarily focused on simple questions, neglecting tasks that demand deep reasoning capabilities.

Charts are a nasty edge case because they demand three things at once: reading exact numbers off axes, parsing visual structure across sub-plots, and chaining logical steps to answer a question. Prior chart models tried to solve this with supervised fine-tuning on chain-of-thought traces distilled from bigger models, but that pipeline inherits every mistake the teacher made and tends to overfit to a narrow set of reasoning patterns.

Comparison of Qwen2.5-VL-7B and Chart-R1 reasoning on chart benchmarks

Building the training data backwards

The first contribution is a data pipeline that flips the usual chart-to-code approach. Instead of parsing existing chart images into code (and inheriting the parser's errors), the authors start from code and render the chart from it. Chart-R1 employs programmatic data synthesis to generate high-quality step-by-step reasoning data for charts.

The workflow uses Gemini-2.5-Flash to generate Matplotlib plotting code, seeded with real tables scraped from arXiv papers and hand-written code exemplars for 24 different chart types. Because the code is a lossless textual representation of the chart, the LLM can then produce complex questions, verifiable answers, and detailed reasoning traces without ever having to visually re-parse the image. The result is ChartRQA, with 258k training samples split into a 228k SFT set and a 30k RL set, plus a 1,702-sample human-verified benchmark covering both single-chart and multi-chart scenarios.

ChartRQA data pipeline showing code generation and reasoning data generation steps

Two stages, two different datasets

Chart-R1 starts from Qwen2.5-VL-7B-Instruct and runs through two training phases:

  • Chart-COT: standard supervised fine-tuning on the 228k ChartRQA-SFT set, teaching the model to decompose complex chart questions into interpretable subtasks. The vision tower stays frozen and only the language model is tuned.
  • Chart-RFT: reinforcement fine-tuning with Group Relative Policy Optimization (GRPO), the same algorithm that powered DeepSeek-R1. GRPO samples a group of candidate answers per prompt and uses the group's mean reward as a baseline, avoiding the need for a separate critic model.

The reward function is where the chart-specific engineering shows up. For numerical answers, the model gets a soft-matching reward with a 5% relative-error tolerance, so being close to the right number counts for something. For string answers, edit distance provides a graded signal instead of a brittle exact-match check. A format reward validates that outputs use the expected <think> and <answer> tags.

One non-obvious finding: the SFT and RL stages must use different subsets of the data. Reusing the same samples caused the model to memorize the SFT reasoning paths and lose exploration diversity during RL, hurting final performance.

The numbers

Chart-R1 is trained on 24 H800 GPUs, taking 3 hours for the SFT stage and 30 hours for RFT. Against models under 20B parameters, it lands at the top of every chart benchmark the authors tested:

BenchmarkQwen2.5-VL-7BGPT-4oChart-R1
ChartQA87.385.791.04
CharXiv-RQ42.547.146.2
ChartQAPro36.6137.6744.48
ChartMuseum26.842.234.8
ChartRQA single/multi44.6 / 40.644.4 / 46.652.1 / 49.9

The gap over the base Qwen2.5-VL-7B model is substantial, especially on the harder ChartRQA multi-chart split where the improvement is nearly 10 points. Ablations confirm both stages matter: skipping Chart-COT causes a large drop on ChartRQA, and training only on ChartQA (which lacks step-by-step reasoning) makes response length plateau around 100 tokens with no room for extended reasoning.

Where it still struggles

The authors ran an error analysis on 50 wrong answers from ChartQAPro. Three failure modes dominate: visual reasoning that requires identifying complex chart patterns rather than just reading numbers, multi-chart integration where information must be combined across sub-plots, and unanswerable questions the model tries to answer anyway.

The team also flags a scope limitation. The training data covers statistical charts from academic papers, so practical visualization types like dashboards, infographics, and flowcharts remain out of distribution, which explains part of the gap against closed-source models on the diverse ChartMuseum benchmark.

Getting the model

Both Chart-COT (the SFT checkpoint) and Chart-R1 (the RFT checkpoint) are on Hugging Face under the DocTron organization, with training code and the ChartRQA dataset released alongside. The inference setup is straightforward Qwen2.5-VL usage with a specific system prompt that instructs the model to wrap reasoning in <think> tags and the final answer in <answer> tags. If you have a chart-heavy workload that involves precise numerical extraction from academic-style visualizations, this is one of the few open 7B models that can handle multi-step questions without falling back on hallucinated arithmetic.