File size: 3,598 Bytes
cf473cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
03bebe9
 
 
 
cf473cb
 
 
 
 
 
 
 
 
 
 
 
 
03bebe9
 
 
b7ec32d
 
 
2053cdc
d67d632
2053cdc
 
 
 
 
 
 
 
d67d632
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
license: apache-2.0
dataset_info:
  features:
  - name: id
    dtype: int64
  - name: filename
    dtype: string
  - name: difficulty
    dtype: string
  - name: svg_code
    dtype: string
  splits:
  - name: train
    num_bytes: 1394385
    num_examples: 300
  - name: easy
    num_bytes: 105183
    num_examples: 100
  - name: medium
    num_bytes: 501313
    num_examples: 100
  - name: hard
    num_bytes: 787889
    num_examples: 100
  download_size: 1529634
  dataset_size: 2788770
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: easy
    path: data/easy-*
  - split: medium
    path: data/medium-*
  - split: hard
    path: data/hard-*
language:
- en
pretty_name: SVGenius
size_categories:
- n<1K
tags:
- svg-understanding
- svg-editing
- svg-generation
---

# **SVGenius: Benchmarking LLMs in SVG Understanding, Editing and Generation**

<!-- Provide a quick summary of the dataset. -->
<a href="https://arxiv.org/abs/2506.03139" target="_blank">
    <img alt="arXiv" src="https://img.shields.io/badge/arXiv-SVGenius-red?logo=arxiv" height="20" />
</a>
<a href="https://huggingface.co/datasets/xiaoooobai/SVGenius" target="_blank">
    <img alt="SVGenius" src="https://img.shields.io/badge/%F0%9F%A4%97%20_Benchmark-SVGenius-ffc107?color=ffc107&logoColor=white" height="20" />
</a>
<a href="https://zju-real.github.io/SVGenius/" target="_blank">
    <img alt="Webpage" src="https://img.shields.io/badge/%F0%9F%8C%8E_Website-SVGenius-green.svg" height="20" />
</a>

We introduce SVGenius, the first large-scale complexity-stratified benchmark accessing (M)LLMs capabilities across three progressive dimensions: **Understanding** (perceptua and semantic QA), **Editing** (bug fixing, code optimization, style editing), and **Generation** (text-to-SVG, image-to-SVG, style transfer).  Built on real-world data from **24** application domains with systematic complexity stratification, SVGenius evaluates models through **8** task categories and **18** metrics. We assess **22** mainstream models spanning different scales, architectures, training paradigms, and accessibility levels.
<img alt="SVGenius Dataset Overview" 
     src="https://cdn.jsdelivr.net/gh/ZJU-REAL/SVGenius@main/docs/static/images/overview.jpg" 
     style="width: 100%; max-width: 1000px;" />


The dataset contains the following fields:
| Field Name | Description |
| :--------- | :---------- |
| `id` | Unique identifier for each SVG icon sample |
| `filename` | Original filename of the SVG file, preserving the source naming convention with category and identifier information |
| `difficulty` | Complexity level of the SVG icon, includes 3 distinct categories: `easy`, `medium`, and `hard` for evaluating different levels of SVG processing capabilities |
| `svg_code` | Complete SVG markup code containing the vector graphics definition, including all paths,styles, and attributes |
- **Language(s) (NLP):** en, zh
- **License:** mit


## Uses

```py
from datasets import load_dataset
ds = load_dataset("xiaoooobai/SVGenius")
```


## Citation

```bibtex
@misc{chen2025svgeniusbenchmarkingllmssvg,
      title={SVGenius: Benchmarking LLMs in SVG Understanding, Editing and Generation}, 
      author={Siqi Chen and Xinyu Dong and Haolei Xu and Xingyu Wu and Fei Tang and Hang Zhang and Yuchen Yan and Linjuan Wu and Wenqi Zhang and Guiyang Hou and Yongliang Shen and          Weiming Lu and Yueting Zhuang},
      year={2025},
      eprint={2506.03139},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2506.03139}, 
}
```