MM-ReCoder: Advancing Chart-to-Code Generation with Reinforcement Learning and Self-Correction
On the map: Multimodal LLMs / vision-language models → Embodied and 3D vision-language models
Abstract (arXiv)
Multimodal Large Language Models (MLLMs) have recently demonstrated promising capabilities in multimodal coding tasks such as chart-to-code generation. However, existing methods primarily rely on supervised fine-tuning (SFT), which requires the model to learn code patterns through chart-code pairs but does not expose the model to a code execution environment. Moreover, while self-correction through execution feedback offers a potential route to improve coding quality, even state-of-the-art MLLMs have been shown to struggle with effective self-correction. In this work, we introduce MM-ReCoder, a chart-to-code generation model trained with reinforcement learning (RL) and equipped with self-correction ability. We propose a two-stage multi-turn self-correction RL strategy based on Group Relative Policy Optimization (GRPO). The first stage enhances the model's self-correction ability via rolling out a shared first turn, while the second stage improves the coding capability with full-trajectory optimization. MM-ReCoder learns to produce more accurate and executable code through the interaction with the environment and by iteratively correcting its own outputs. Our results on three chart-to-code benchmarks demonstrate the state-of-the-art performance of MM-ReCoder.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Embodied and 3D vision-language models, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 41 of its 49 references that are in the map. First posted on arXiv 2 Apr 2026.
Builds on
41 of 49 references.
Closest ancestors · 4
Same direction, newest first
- 2025VideoChat-R1.5: Visual Test-Time Scaling to Reinforce Multimodal Reasoning by Iterative Perception25 Sep
- 2025VL-Rethinker: Incentivizing Self-Reflection of Vision-Language Models with Reinforcement Learning10 Apr
- 2025VLM-R1: A Stable and Generalizable R1-style Large Vision-Language Model10 Apr
- 2025Vision-R1: Incentivizing Reasoning Capability in Multimodal Large Language Models9 Mar
Other references · 37
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2025Qwen2.5-VL Technical Reportcited by 5,418
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,151
- 2025Qwen3-VL Technical Reportcited by 2,534
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
- 2024MiniCPM-V: A GPT-4V Level MLLM on Your Phonecited by 1,061
- 2024How Far Are We to GPT-4V? Closing the Gap to Commercial Multimodal Models with Open-Source Suitescited by 1,033
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
25 more
- 2024DeepSeek-VL: Towards Real-World Vision-Language Understandingcited by 718
- 2025Flow-GRPO: Training Flow Matching Models via Online RLcited by 605
- 2024LLaVA-NeXT-Interleave: Tackling Multi-image, Video, and 3D in Large Multimodal Modelscited by 571
- 2025Video-R1: Reinforcing Video Reasoning in MLLMscited by 464
- 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 405
- 2022Self-critiquing models for assisting human evaluatorscited by 372
- 2025R1-Onevision: Advancing Generalized Multimodal Reasoning through Cross-Modal Formalizationcited by 364
- 2025VideoChat-R1: Enhancing Spatio-Temporal Perception via Reinforcement Fine-Tuningcited by 248
- 2024Recursive Introspection: Teaching Language Model Agents How to Self-Improvecited by 162
- 2023ChartLlama: A Multimodal LLM for Chart Understanding and Generationcited by 158
- 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 146
- 2024ChartX & ChartVLM: A Versatile Benchmark and Foundation Model for Complicated Chart Reasoningcited by 127
- 2024Unlocking the conversion of Web Screenshots into HTML Code with the WebSight Datasetcited by 126
- 2024ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generationcited by 118
- 2023StarVector: Generating Scalable Vector Graphics Code from Images and Textcited by 96
- 2025ChartCoder: Advancing Multimodal Large Language Model for Chart-to-Code Generationcited by 88
- 2024Web2Code: A Large-scale Webpage-to-Code Dataset and Evaluation Framework for Multimodal LLMscited by 73
- 2025TinyLLaVA-Video-R1: Towards Smaller LMMs for Video Reasoningcited by 59
- 2025Open Vision Reasoner: Transferring Linguistic Cognitive Behavior for Visual Reasoningcited by 34
- 2025Multi-Turn Code Generation Through Single-Step Rewardscited by 27
- 2025VinciCoder: Unifying Multimodal Code Generation via Coarse-to-fine Visual Reinforcement Learningcited by 18
- 2025ChartMaster: Advancing Chart-to-Code Generation with Real-World Charts and Chart Similarity Reinforcement Learningcited by 15
- 2025Boosting Chart-to-Code Generation in MLLM via Dual Preference-Guided Refinementcited by 10
- 2025ChartGen: Scaling Chart Understanding Via Code-Guided Synthetic Chart Generationcited by 7
- 2025Self-Correcting Code Generation Using Small Language Modelscited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generationcited by 1
- 2026What You See Is What You Get: Observation-Aligned Supervision for Chart-to-Code Generationcited by 0
- 2026ChartAnno: Benchmarking Multimodal Large Language Models for Chart Annotation Generationcited by 0
- 2026EdiTikZ: Scientific Figure Editing from Revision Trajectoriescited by 0
- 2026EdiTikZ: Scientific Figure Editing from Revision Trajectories1 Sep 2026
- 2026ChartAnno: Benchmarking Multimodal Large Language Models for Chart Annotation Generation4 Aug 2026
- 2026TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generation1 Aug 2026
- 2026What You See Is What You Get: Observation-Aligned Supervision for Chart-to-Code Generation6 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2025Breaking the SFT Plateau: Multimodal Structured Reinforcement Learning for Chart-to-Code Generation
- 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedback
- 2026ReflexiCoder: Teaching Large Language Models to Self-Reflect on Generated Code and Self-Correct It via Reinforcement Learning
- 2025Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimization
- 2024FALCON: Feedback-driven Adaptive Long/short-term memory reinforced Coding Optimization system
- 2026Performance, Efficiency and Collapse -- Advantages and Challenges in Offline Post-training of Code LLMs
- 2024Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learning
- 2025DiffuCoder: Understanding and Improving Masked Diffusion Models for Code Generation