atlas

Research map / Vision-language and multimodal / Multimodal LLMs

ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generation

ICLR 2025 · Vision-language and multimodal › Multimodal LLMs · approach: Multimodal LLM benchmarks · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces ChartMimic, a 4,800-triplet human-curated benchmark for chart-to-code generation by LMMs, with Direct and Customized Mimic tasks and multi-level (GPT-4o, low-level code-tracer) metrics, evaluating 17 proprietary and open-weight models.

Problem

Existing code generation benchmarks use text-only inputs, and chart-to-code generation for scientific visualizations (requiring visual understanding, code generation and cross-modal reasoning) is not well evaluated; prior chart/code benchmarks risk data leakage.

Approach

Benchmark of manually curated (figure, instruction, code) triplets from real scientific charts across 22 chart types and 201 subcategories, with two tasks (reproduce a chart; reproduce it with customized data) and multi-level evaluation combining a GPT-4o similarity score with code-tracer-based text, layout, type and color F1 scores.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add self-reflection (ablation)GPT-4o · ChartMimic Direct Mimicoverall score: 81.2 -> 84.8Helped
Add self-reflection (ablation)InternVL2-Llama3-76B · ChartMimic Direct Mimicoverall score: 58.5 -> 61.1Helped
Add HintEnhanced prompting (ablation)GPT-4o · ChartMimic Direct Mimicoverall score: 81.2 -> 81.1Hurt
Add Scaffold prompting (ablation)GPT-4o · ChartMimic Direct Mimicoverall score: 81.2 -> 79.0Hurt
Add HintEnhanced prompting (ablation)InternVL2-Llama3-76B · ChartMimic Direct Mimicoverall score: 58.5 -> 57.4Hurt
Add Scaffold prompting (ablation)InternVL2-Llama3-76B · ChartMimic Direct Mimicoverall score: 58.5 -> 56.7Hurt
Provide user-customized data in the instructionMost evaluated LMMs · ChartMimicoverall scoreMixed
Provide customized dataMiniCPM-Llama3-V-2.5 · ChartMimic Easy Leveloverall score: from $46.8$ to $59.7$Helped
Provide customized dataMiniCPM-Llama3-V-2.5 · ChartMimic Hard Leveloverall score: from $31.9$ to $31.5$Hurt

Surprising findings

Limitations

Experimental setup

Datasets: arXiv figures (CC BY 4.0, post Feb 2024) Matplotlib gallery Stack Overflow Reddit/Twitter plotting forums

Benchmarks: ChartMimic

Metrics: GPT-4o score text score layout score type score color score execution rate overall score Pearson correlation with human evaluation

Baselines: GPT-4o Claude-3-opus GeminiProVision InternVL2 Qwen2-VL Phi-3-Vision DeepSeek-VL-7B LLaVA-Next IDEFICS2-8B MiniCPM-Llama3-V-2.5 Cogvlm2-llama3-chat-19B

Builds on: Plot2Code Design2Code MMCode

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy