Render attribution traces image-to-code outputs back to the code that drew them
A research team proposes render attribution, a training method that links each rendered element in image-to-code generation to the code tokens responsible, giving reinforcement learning finer-grained feedback than GRPO.
In plain words
When AI models learn to turn images into code, they are usually judged only on how similar the final picture looks, so every line of code gets the same credit even if only part of it worked. Render attribution figures out which piece of code drew which part of the picture, so the learning signal goes to the right lines. The authors report this improves results across several image-to-code benchmarks.
What was announced
The paper, posted on arXiv, argues that reinforcement learning methods such as GRPO reward overall visual similarity and assign the same advantage to every token in a program, so code that draws an element correctly receives the same learning signal as code that draws it incorrectly. Render attribution addresses this by decomposing reference and rendered images into individual elements, matching them one-to-one by geometric similarity, and assigning element-specific advantages to the responsible code tokens, including tokens in shared definitions.
The authors report results across five benchmarks covering SVG, TikZ, and HTML with three starting models, saying the method outperforms GRPO in all 28 benchmark-metric comparisons, including 23% lower LPIPS on VFIG-Bench, while adding at most 1.3% training-step time. With an added code-aware reward, they say it better preserves code structure and improves editability. Used as an agent tool, they report a 17% LPIPS improvement for Claude Sonnet 5.5 at the same turn budget, and that an open 27B agent matched its 16-turn result in four turns with 84% fewer tokens.
What it does not show
- These findings come from the paper's abstract alone; the full article was not reviewed, so the benchmarks, models, and numbers could not be independently checked.
- The reported gains are the authors' own claims on their selected benchmarks and do not constitute independent confirmation.
Sources
Source-support review completed 2 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 2 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.