Spaces:
Running

File size: 2,349 Bytes
0ddc77d
 
 
 
 
 
 
 
 
97a1569
 
94283f5
97a1569
 
 
0ddc77d
97a1569
0ddc77d
97a1569
 
 
0ddc77d
97a1569
0ddc77d
 
 
 
 
97a1569
94283f5
97a1569
 
 
 
 
 
 
94283f5
97a1569
 
0ddc77d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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)<sup>1</sup>, [Zixian Ma](https://zixianma.github.io)<sup>2</sup>, [Ranjay Krishna](https://ranjaykrishna.com)<sup>2</sup>, [Jaemin Cho](https://j-min.io)<sup>1</sup><br><sup>1</sup>Johns Hopkins University, <sup>2</sup>University 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}
}
```