StrokeNUWA: Tokenizing Strokes for Vector Graphic Synthesis

Zecheng Tang, Chenfei Wu, Zekai Zhang, Mingheng Ni, Shengming Yin +6 more
1/30/2024
cs.CVcs.CL

No confident code implementation found for this paper.

Abstract

To leverage LLMs for visual synthesis, traditional methods convert raster image information into discrete grid tokens through specialized visual modules, while disrupting the model's ability to capture the true semantic representation of visual scenes. This paper posits that an alternative representation of images, vector graphics, can effectively surmount this limitation by enabling a more natural and semantically coherent segmentation of the image information. Thus, we introduce StrokeNUWA, a pioneering work exploring a better visual representation ''stroke tokens'' on vector graphics, which is inherently visual semantics rich, naturally compatible with LLMs, and highly compressed. Equipped with stroke tokens, StrokeNUWA can significantly surpass traditional LLM-based and optimization-based methods across various metrics in the vector graphic generation task. Besides, StrokeNUWA achieves up to a 94x speedup in inference over the speed of prior methods with an exceptional SVG code compression ratio of 6.9%.

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{tang2024strokenuwa,
  title  = {StrokeNUWA: Tokenizing Strokes for Vector Graphic Synthesis},
  author = {Zecheng Tang and Chenfei Wu and Zekai Zhang and Mingheng Ni and Shengming Yin and Yu Liu and Zhengyuan Yang and Lijuan Wang and Zicheng Liu and Juntao Li and Nan Duan},
  year   = {2024},
  eprint = {2401.17093},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.17093v1}
}

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

Discussion