What You See Is What You Get: Observation-Aligned Supervision for Chart-to-Code Generation
Not on the map. Why?
Abstract (arXiv)
Chart-to-code generation is commonly trained through supervised fine-tuning on reference plotting scripts, implicitly treating the gold code as a fully observable target. However, many chart programs contain latent variables that cannot be uniquely recovered from the rendered image. We identify this latent-observation mismatch in four forms across five chart types: aggregation-induced mismatch, where raw samples are reduced to box statistics or histogram bin masses; normalization-induced mismatch, where absolute scale is removed in pie charts; projection-induced mismatch, where 3D information is lost through 2D rendering; and level-set-induced mismatch, where a scalar field is observable only through selected contour lines. These mismatches introduce target ambiguity and require models to generate information unsupported by the image. We propose Observation-Aligned Supervision, which replaces latent variables with visually constrained quantities. We instantiate it using box statistics, bin weights, and wedge proportions, and study 3D scatter and contour charts through controlled experiments. Across multiple VLMs, observation-aligned supervision generally improves observable-value recovery in both-executable evaluations and mostly improves end-to-end recovery, while the contour study reveals a trade off between observation alignment and representational compactness.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 162 references that are in the map. First posted on arXiv 6 Jul 2026.
Builds on
18 of 162 references.
References · 18
- 2025InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Modelscited by 1,834
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
- 2022DePlot: One-shot visual language reasoning by plot-to-table translationcited by 160
- 2024ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generationcited by 129
- 2025ChartCoder: Advancing Multimodal Large Language Model for Chart-to-Code Generationcited by 92
- 2024ChartMoE: Mixture of Diversely Aligned Expert Connector for Chart Understandingcited by 46
- 2025Breaking the SFT Plateau: Multimodal Structured Reinforcement Learning for Chart-to-Code Generationcited by 19
- 2025VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding Modelscited by 16
- 2025ChartMaster: Advancing Chart-to-Code Generation with Real-World Charts and Chart Similarity Reinforcement Learningcited by 16
- 2026Visual Self-Refine: A Pixel-Guided Paradigm for Accurate Chart Parsingcited by 5
- 2026MM-ReCoder: Advancing Chart-to-Code Generation with Reinforcement Learning and Self-Correctioncited by 5
6 more
- 2025Visual Programmability: A Guide for Code-as-Thought in Chart Understandingcited by 4
- 2026RealChart2Code: Advancing Chart-to-Code Generation with Real Data and Multi-Task Evaluationcited by 4
- 2026Chart Specification: Structural Representations for Incentivizing VLM Reasoning in Chart-to-Code Generationcited by 2
- 2026CharTide: Data-Centric Chart-to-Code Generation via Tri-Perspective Tuning and Inquiry-Driven Evolutioncited by 2
- 2026Aligned Multi-View Scripts for Universal Chart-to-Code Generationcited by 2
- 2025PlotGen-Bench: Evaluating VLMs on Generating Visualization Code from Diverse Plots across Multiple Librariescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025ChartGen: Scaling Chart Understanding Via Code-Guided Synthetic Chart Generation
- 2025From Charts to Code: A Hierarchical Benchmark for Multimodal Models
- 2026ChartJudgeBench: Evaluating LMM Judges for Chart-to-Code Generation
- 2025Boosting Chart-to-Code Generation in MLLM via Dual Preference-Guided Refinement
- 2025Improved Iterative Refinement for Chart-to-Code Generation via Structured Instruction
- 2025ChartAB: A Benchmark for Chart Grounding & Dense Alignment
- 2025OpusAnimation: Code-Based Dynamic Chart Generation
- 2026Charts Are Beyond Pixels: Probing for Layer-Wise Chart Understanding and Editing