--- title: README emoji: 🎨 colorFrom: blue colorTo: indigo sdk: static pinned: false --- # Who Drew That Pixel? Fine-Grained Visual Attribution for Image-to-Code Generation and Editing [Paper](https://arxiv.org/abs/2612.00307) | [Code](https://github.com/render-attribution/render-attribution) | [Project page](https://render-attribution.github.io) [Hexuan Wang](https://mattwang123.github.io)1, [Zixian Ma](https://zixianma.github.io)2, [Ranjay Krishna](https://ranjaykrishna.com)2, [Jaemin Cho](https://j-min.io)1
1Johns Hopkins University, 2University of Washington ![Render attribution overview](https://huggingface.co/spaces/render-attribution/README/resolve/main/teaser.png) Render attribution finds which line of an SVG, TikZ or HTML program drew each pixel. RA-GRPO uses it to reward or penalize each line on its own during training. ## Models | Model | Task | Base model | Paper | |---|---|---|---| | [RA-GRPO-SVG-4B](https://huggingface.co/render-attribution/RA-GRPO-SVG-4B) | image to SVG | [VFIG-4B](https://huggingface.co/XunmeiLiu/VFIG-4B) | Table 2 | | [RA-GRPO-SVG-Code-4B](https://huggingface.co/render-attribution/RA-GRPO-SVG-Code-4B) | image to SVG, editable code | [VFIG-4B](https://huggingface.co/XunmeiLiu/VFIG-4B) | Table 6 | | [RA-GRPO-TikZ-4B](https://huggingface.co/render-attribution/RA-GRPO-TikZ-4B) | image to TikZ | [SciTikZer-4B](https://huggingface.co/JackieLin0123/SciTikZer-4B) | Table 3 | | [RA-GRPO-HTML-4B](https://huggingface.co/render-attribution/RA-GRPO-HTML-4B) | screenshot to HTML | [Qwen3-VL-4B-SFT-HTML](https://huggingface.co/render-attribution/Qwen3-VL-4B-SFT-HTML) | Table 4 | | [Qwen3-VL-4B-SFT-HTML](https://huggingface.co/render-attribution/Qwen3-VL-4B-SFT-HTML) | screenshot to HTML (start model) | [Qwen3-VL-4B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct) | Table 4 | The RA-GRPO models are LoRA adapters, applied on top of the base model without merging. Each adapter page has a usage example. ## Citation ```bibtex @article{wang2026whodrew, title = {Who Drew That Pixel? Fine-Grained Visual Attribution for Image-to-Code Generation and Editing}, author = {Hexuan Wang and Zixian Ma and Ranjay Krishna and Jaemin Cho}, journal = {arXiv preprint arXiv:2612.00307}, year = {2026} } ```