Saved in:
Bibliographic Details
Main Authors: Feuerpfeil, Moritz, Cipriano, Marco, de Melo, Gerard
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.05991
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913537867120640
author Feuerpfeil, Moritz
Cipriano, Marco
de Melo, Gerard
author_facet Feuerpfeil, Moritz
Cipriano, Marco
de Melo, Gerard
contents Scalable Vector Graphics (SVG) is a popular format on the web and in the design industry. However, despite the great strides made in generative modeling, SVG has remained underexplored due to the discrete and complex nature of such data. We introduce GRIMOIRE, a text-guided SVG generative model that is comprised of two modules: A Visual Shape Quantizer (VSQ) learns to map raster images onto a discrete codebook by reconstructing them as vector shapes, and an Auto-Regressive Transformer (ART) models the joint probability distribution over shape tokens, positions and textual descriptions, allowing us to generate vector graphics from natural language. Unlike existing models that require direct supervision from SVG data, GRIMOIRE learns shape image patches using only raster image supervision which opens up vector generative modeling to significantly more data. We demonstrate the effectiveness of our method by fitting GRIMOIRE for closed filled shapes on the MNIST and for outline strokes on icon and font data, surpassing previous image-supervised methods in generative quality and vector-supervised approach in flexibility.
format Preprint
id arxiv_https___arxiv_org_abs_2410_05991
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Vector Grimoire: Codebook-based Shape Generation under Raster Image Supervision
Feuerpfeil, Moritz
Cipriano, Marco
de Melo, Gerard
Computer Vision and Pattern Recognition
Artificial Intelligence
Graphics
Scalable Vector Graphics (SVG) is a popular format on the web and in the design industry. However, despite the great strides made in generative modeling, SVG has remained underexplored due to the discrete and complex nature of such data. We introduce GRIMOIRE, a text-guided SVG generative model that is comprised of two modules: A Visual Shape Quantizer (VSQ) learns to map raster images onto a discrete codebook by reconstructing them as vector shapes, and an Auto-Regressive Transformer (ART) models the joint probability distribution over shape tokens, positions and textual descriptions, allowing us to generate vector graphics from natural language. Unlike existing models that require direct supervision from SVG data, GRIMOIRE learns shape image patches using only raster image supervision which opens up vector generative modeling to significantly more data. We demonstrate the effectiveness of our method by fitting GRIMOIRE for closed filled shapes on the MNIST and for outline strokes on icon and font data, surpassing previous image-supervised methods in generative quality and vector-supervised approach in flexibility.
title Vector Grimoire: Codebook-based Shape Generation under Raster Image Supervision
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Graphics
url https://arxiv.org/abs/2410.05991