Reinforcement Learning from Intermediate Renders for Image-to-Code Generation

Omri Kaduri, Kate Feingold, Phillip Isola, Tali Dekel
9/28/2026
cs.CVcs.AI
rl

No confident code implementation found for this paper.

Abstract

Reinforcement learning is increasingly used to post-train vision-language models for image-to-code generation, such as generating SVG code from a reference image, by optimizing rewards computed from the final rendered output. However, relying on a single terminal reward provides sparse feedback that is poorly aligned with the contribution of individual tokens.

Show full abstract

A generated program may contain operations that accurately reproduce some parts of the target image alongside others that introduce errors, yet all tokens are trained from the same final outcome. We observe that many intermediate code prefixes are not only executable, but already produce meaningful partial renders that reflect progress toward the target. This property provides a natural source of denser supervision during generation. Based on this observation, we introduce IR4RL, an RL framework with a token-level render-progress reward that turns changes between intermediate renders into localized feedback for the generated sequence. We evaluate our approach on Image-to-SVG and Image-to-TikZ generation. Across both tasks, our method improves over supervised fine-tuning and standard GRPO, yielding new state-of-the-art open-source models. This shows that intermediate rendering provides a simple and effective source of process supervision for RL post-training of image-to-code models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kaduri2026reinforcement,
  title  = {Reinforcement Learning from Intermediate Renders for Image-to-Code Generation},
  author = {Omri Kaduri and Kate Feingold and Phillip Isola and Tali Dekel},
  year   = {2026},
  eprint = {2609.34587},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.34587v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.34587.svg)](https://codeofpaper.com/paper/2609.34587)

Discussion