Rendering-Aware Reinforcement Learning for Vector Graphics Generation

Juan A. Rodriguez, Hao-Tian Zhang, Abhay Puri, Aarash Feizi, Rishav Pramanik +10 more
5/1/2025
rl

No confident code implementation found for this paper.

Abstract

Scalable Vector Graphics (SVG) offer a powerful format for representing visual designs as interpretable code. Recent advances in vision-language models (VLMs) have enabled high-quality SVG generation by framing the problem as a code generation task and leveraging large-scale pretraining.

Show full abstract

VLMs are particularly suitable for this task as they capture both global semantics and fine-grained visual patterns, while transferring knowledge across vision, natural language, and code domains. However, existing VLM approaches often struggle to produce faithful and efficient SVGs because they never observe the rendered images during training. Although differentiable rendering for autoregressive SVG code generation remains unavailable, rendered outputs can still be compared to original inputs, enabling evaluative feedback suitable for reinforcement learning (RL). We introduce RLRF (Reinforcement Learning from Rendering Feedback), an RL method that enhances SVG generation in autoregressive VLMs by leveraging feedback from rendered SVG outputs. Given an input image, the model generates SVG roll-outs that are rendered and compared to the original image to compute a reward. This visual fidelity feedback guides the model toward producing more accurate, efficient, and semantically coherent SVGs. RLRF significantly outperforms supervised fine-tuning, addressing common failure modes and enabling precise, high-quality SVG generation with strong structural understanding and generalization.

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{rodriguez2025renderingaware,
  title  = {Rendering-Aware Reinforcement Learning for Vector Graphics Generation},
  author = {Juan A. Rodriguez and Hao-Tian Zhang and Abhay Puri and Aarash Feizi and Rishav Pramanik and Pascal Wichmann and Arnab Kumar Mondal and Mohammad Reza Samsami and Rabiul Awal and Perouz Taslakian and Spandana Gella and S. Rajeswar and David Vázquez and C. Pal and Marco Pedersoli},
  year   = {2025},
  eprint = {2505.20793},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.20793},
  url    = {https://doi.org/10.48550/arXiv.2505.20793},
  journal = {Neural Information Processing Systems}
}

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/2505.20793.svg)](https://codeofpaper.com/paper/2505.20793)

Discussion