StarVector: Generating Scalable Vector Graphics Code from Images and Text

Juan A. Rodriguez, Abhay Puri, Shubham Agarwal, I. Laradji, Pau Rodríguez +4 more
2/14/2026

No official code found. Best implementation: visioncortex/vtracer (6,982 stars, MIT, Rust, last commit 2026-03-23).

Abstract

Scalable Vector Graphics (SVGs) are vital for modern image rendering due to their scalability and versatility. Previous SVG generation methods have focused on curve-based vectorization, lacking semantic understanding, often producing artifacts, and struggling with SVG primitives beyond path curves. To address these issues, we introduce StarVector, a multimodal large language model for SVG generation. It performs image vectorization by understanding image semantics and using SVG primitives for compact, precise outputs. Unlike traditional methods, StarVector works directly in the SVG code space, leveraging visual understanding to apply accurate SVG primitives. To train StarVector, we create SVG-Stack, a diverse dataset of 2M samples that enables generalization across vectorization tasks and precise use of primitives like ellipses, polygons, and text. We address challenges in SVG evaluation, showing that pixel-based metrics like MSE fail to capture the unique qualities of vector graphics. We introduce SVG-Bench, a benchmark across 10 datasets, and 3 tasks: Image-to-SVG, Text-to-SVG generation, and diagram generation. Using this setup, StarVector achieves state-of-the-art performance, producing more compact and semantically rich SVGs.

View on arXivView PDF

Code Implementations(1)

RustMIT

Raster to Vector Graphics Converter

6,982479HTML, RustOct 23, 20207 months agoMIT
image-procesingrustsvg

Similar Papers

Cite this paper

@article{rodriguez2026starvector,
  title  = {StarVector: Generating Scalable Vector Graphics Code from Images and Text},
  author = {Juan A. Rodriguez and Abhay Puri and Shubham Agarwal and I. Laradji and Pau Rodríguez and Sai Rajeswar and David Vázquez and Christopher Pal and Marco Pedersoli},
  year   = {2026},
  eprint = {2312.11556},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.11556},
  journal = {CVPR 2023 2023}
}

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

Discussion