SVGformer: Representation Learning for Continuous Vector Graphics using Transformers

Abstract

Advances in representation learning have led to great success in understanding and generating data in various domains. However, in modeling vector graphics data, the pure data-driven approach often yields unsatisfactory results in downstream tasks as existing deep learning methods often require the quantization of SVG parameters and cannot exploit the geometric properties explicitly. In this paper, we propose a transformer-based representation learning model (SVG-former) that directly operates on continuous input values and manipulates the geometric information of SVG to encode outline details and long-distance dependencies. SVGfomer can be used for various downstream tasks: reconstruction, classification, interpolation, retrieval, etc. We have conducted extensive experiments on vector font and icon datasets to show that our model can capture high-quality representation information and outperform the previous state-of-the-art on downstream tasks significantly.

Publication
2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)
Defu Cao
Defu Cao
PhD Candidate
Yan Liu
Yan Liu
Professor, Computer Science Department