mlsanityData to 7 Oct 2026

Self-Distillation Policy Optimization via Visual Feedback: Bridging Code and Visual Artifacts

arXiv 2606.10334 ↗First posted 9 Jun 2026cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Code-generating large language models (LLMs) increasingly produce visual artifacts such as charts, web pages, and slides by writing programs that are executed by non-differentiable renderers, committing to code before observing the render. As a result, otherwise executable code often yields artifacts with visually salient defects, including overlapping elements, clipped text, broken alignment, low contrast, and overflow. We study visual-feedback self-distillation for code-generated visual artifacts. We propose Visual-SDPO, a self-distillation policy-optimization framework that treats rendered visual feedback as privileged context for a weight-sharing teacher and distills this feedback into a coding student. To make supervision spatially targeted rather than uniform, we introduce Visual-Grounded Code Credit Weighting, which traces each detected defect back to the code statements responsible for the affected elements and amplifies the distillation signal on those statements. A sequence-level GRPO (Group Relative Policy Optimization) term complements the dense token-level objective by rewarding executable, visually high-quality rollouts, while failed executions remain learnable through the self-distillation path by passing execution errors as privileged context to the teacher. We instantiate Visual-SDPO for chart, web/UI, and slide generation with a unified Qwen3-VL-8B-Instruct backbone. Across chart-to-code, UI-to-code, and slide-generation benchmarks (ChartMimic, Design2Code, and AeSlides), Visual-SDPO improves over the zero-shot base by more than 10 absolute points in the primary metric and over GRPO by at least 2.4 points, with fewer training steps and no added inference-time cost.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 31 of its 38 references that are in the map. First posted on arXiv 9 Jun 2026.

Builds on

31 of 38 references.

References · 31

  1. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 840
  2. 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 360
  3. 2026Reinforcement Learning via Self-Distillationcited by 285
  4. 2015Unifying distillation and privileged informationcited by 218
  5. 2026A Survey of On-Policy Distillation for Large Language Modelscited by 148
  6. 2024Design2Code: Benchmarking Multimodal Code Generation for Automated Front-End Engineeringcited by 146
  7. 2024Unlocking the conversion of Web Screenshots into HTML Code with the WebSight Datasetcited by 126
  8. 2024ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generationcited by 118
  9. 2017pix2code: Generating Code from a Graphical User Interface Screenshotcited by 113
  10. 2025ChartCoder: Advancing Multimodal Large Language Model for Chart-to-Code Generationcited by 88
  11. 2025PPTAgent: Generating and Evaluating Presentations Beyond Text-to-Slidescited by 83
  12. 2026Privileged Information Distillation for Language Modelscited by 79
19 more
  1. 2024Web2Code: A Large-scale Webpage-to-Code Dataset and Evaluation Framework for Multimodal LLMscited by 73
  2. 2025Paper2Poster: Towards Multimodal Poster Automation from Scientific Paperscited by 56
  3. 2024WebCode2M: A Real-World Dataset for Code Generation from Webpage Designscited by 43
  4. 2026HDPO: Hybrid Distillation Policy Optimization via Privileged Self-Distillationcited by 39
  5. 2021Torch.fx: Practical Program Capture and Transformation for Deep Learning in Pythoncited by 38
  6. 2025Rendering-Aware Reinforcement Learning for Vector Graphics Generationcited by 36
  7. 2025Learning Only with Images: Visual Reinforcement Learning with Reasoning, Rendering, and Visual Feedbackcited by 31
  8. 2026GATES: Self-Distillation under Privileged Context with Consensus Gatingcited by 30
  9. 2025ScreenCoder: Advancing Visual-to-Code Generation for Front-End Automation via Modular Multimodal Agentscited by 23
  10. 2026Respecting Self-Uncertainty in On-Policy Self-Distillation for Efficient LLM Reasoningcited by 20
  11. 2025Breaking the SFT Plateau: Multimodal Structured Reinforcement Learning for Chart-to-Code Generationcited by 18
  12. 2025VinciCoder: Unifying Multimodal Code Generation via Coarse-to-fine Visual Reinforcement Learningcited by 18
  13. 2025ChartMaster: Advancing Chart-to-Code Generation with Real-World Charts and Chart Similarity Reinforcement Learningcited by 15
  14. 2025ReLook: Vision-Grounded RL with a Multimodal LLM Critic for Agentic Web Codingcited by 12
  15. 2025UI2Code^N: UI-to-Code Generation as Interactive Visual Optimizationcited by 12
  16. 2026Anti-Self-Distillation for Reasoning RL via Pointwise Mutual Informationcited by 12
  17. 2025DesignCoder: Hierarchy-Aware and Self-Correcting UI Code Generation with Large Language Modelscited by 10
  18. 2025ChartEditor: A Reinforcement Learning Framework for Robust Chart Editingcited by 9
  19. 2026AeSlides: Incentivizing Aesthetic Layout in LLM-Based Slide Generation via Verifiable Rewardscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Vision-Guided Iterative Refinement for Frontend Code Generation
  2. 2026VisRefiner: Learning from Visual Differences for Screenshot-to-Code Generation
  3. 2026Rubrics as Visual-Repair Context for Self-Evolving UI-to-Code Generation
  4. 2025ArtifactsBench: Bridging the Visual-Interactive Gap in LLM Code Generation Evaluation
  5. 2025Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimization
  6. 2026UniCoder: Unified Visual-to-Code Generation via Symbolic Rewards and Reference-Guided Code Optimization
  7. 2026Self-Improving Code Generation via Semantic Entropy and Behavioral Consensus
  8. 2025Code Aesthetics with Agentic Reward Feedback