mlsanityData to 24 Nov 2026

Simple Test-Time Refinement for Plot-to-Code Generation via Visual-Code Diagnostics

arXiv 2611.10840 ↗Submitted 7 Nov 2026cs.CL cs.CVcited by 0

On the map: Multimodal LLMs / vision-language models → Chart understanding and anomaly detection

Abstract (arXiv)

Plot-to-code generation has been greatly advanced by recent multimodal large language models (MLLMs). However, existing studies mainly focus on one-pass generation or iterative sampling guided by verifier-based filtering, which does not align with the typical human programming workflow of generate first, then iteratively error-location and fix. This naturally motivates a test-time refinement paradigm for plot-to-code generation. In this work, we present the first study on plot-to-code generation via iterative test-time refinement. We propose a Visual-Code Diagnostics framework that enables refinement through visual feedback from source code. Specifically, we first categorize generation errors into four coarse-grained types, and then train lightweight discriminators to recognize and localize these errors based on the rendered visual outputs and corresponding code. Unlike traditional compiler- or debugger-based verification, our approach performs iterative refinement guided by one diagnostics system, enabling more effective semantic and visual correction during test time. Extensive experiments demonstrate that our method consistently improves generation quality across diverse generators and significantly outperforms strong test-time scaling baselines.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Chart understanding and anomaly detection, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 32 of its 41 references that are in the map. Submitted 7 Nov 2026.

Builds on

32 of 41 references.

Closest ancestors · 9

Same direction, newest first

  1. 2025Breaking the SFT Plateau: Multimodal Structured Reinforcement Learning for Chart-to-Code Generation19 Aug
  2. 2025VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding Models13 Aug
  3. 2025ChartEdit: How Far Are MLLMs From Automating Chart Analysis? Evaluating MLLMs' Capability via Chart Editing17 May
  4. 2025Boosting Chart-to-Code Generation in MLLM via Dual Preference-Guided Refinement3 Apr
  5. 2025ChartCoder: Advancing Multimodal Large Language Model for Chart-to-Code Generation11 Jan
  6. 2024ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generation14 Jun
  7. 2024Plot2Code: A Comprehensive Benchmark for Evaluating Multi-modal Large Language Models in Code Generation from Scientific Plots13 May
  8. 2024Chart-based Reasoning: Transferring Capabilities from LLMs to VLMs19 Mar
  9. 2024ChartX & ChartVLM: A Versatile Benchmark and Foundation Model for Complicated Chart Reasoning19 Feb

Other references · 23

  1. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,810
  2. 2024GPT-4o System Cardcited by 4,895
  3. 2023Let's Verify Step by Stepcited by 4,259
  4. 2025Qwen3-VL Technical Reportcited by 3,499
  5. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,255
  6. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 2,138
  7. 2025InternVL3.5: Advancing Open-Source Multimodal Models in Versatility, Reasoning, and Efficiencycited by 1,775
  8. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,538
  9. 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,281
  10. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 1,124
  11. 2023Vision-Language Models for Vision Tasks: A Surveycited by 870
  12. 2024DeepSeek-VL2: Mixture-of-Experts Vision-Language Models for Advanced Multimodal Understandingcited by 612
11 more
  1. 2025Seed1.5-VL Technical Reportcited by 395
  2. 2025HunyuanImage 3.0 Technical Reportcited by 170
  3. 2024ChartGemma: Visual Instruction-tuning for Chart Reasoning in the Wildcited by 84
  4. 2024ChartMoE: Mixture of Diversely Aligned Expert Connector for Chart Understandingcited by 49
  5. 2025METAL: A Multi-Agent Framework for Chart Generation with Test-Time Scalingcited by 36
  6. 2025CodePlot-CoT: Mathematical Visual Reasoning by Thinking with Code-Driven Imagescited by 26
  7. 2025Effective Training Data Synthesis for Improving MLLM Chart Understandingcited by 23
  8. 2025ChartMaster: Advancing Chart-to-Code Generation with Real-World Charts and Chart Similarity Reinforcement Learningcited by 18
  9. 2025JanusCoder: Towards a Foundational Visual-Programmatic Interface for Code Intelligencecited by 13
  10. 2024Charting the Future: Using Chart Question-Answering for Scalable Evaluation of LLM-Driven Data Visualizationscited by 3
  11. 2024An End-to-End Model for Photo-Sharing Multi-modal Dialogue Generationcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025PlotGen-Bench: Evaluating VLMs on Generating Visualization Code from Diverse Plots across Multiple Libraries
  2. 2025Automated Visualization Code Synthesis via Multi-Path Reasoning and Feedback-Driven Optimization
  3. 2026Vision2Code: A Multi-Domain Benchmark for Evaluating Image-to-Code Generation
  4. 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligence
  5. 2026Vision-Guided Iterative Refinement for Frontend Code Generation
  6. 2026OmniDiagram: Advancing Unified Diagram Code Generation via Visual Interrogation Reward
  7. 2025Improved Iterative Refinement for Chart-to-Code Generation via Structured Instruction
  8. 2026VisEditBench: Can Vision-Language Models Edit Visualization Code from Multimodal Feedback?