LayerTracer: Cognitive-Aligned Layered SVG Synthesis via Diffusion Transformer

Yiren Song, Danze Chen, Mike Zheng Shou
2/3/2025
cs.CV

No official code found. Best implementation: showlab/LayerTracer (98 stars, MIT, last commit 2025-04-01).

Abstract

Generating cognitive-aligned layered SVGs remains challenging due to existing methods' tendencies toward either oversimplified single-layer outputs or optimization-induced shape redundancies. We propose LayerTracer, a diffusion transformer based framework that bridges this gap by learning designers' layered SVG creation processes from a novel dataset of sequential design operations. Our approach operates in two phases: First, a text-conditioned DiT generates multi-phase rasterized construction blueprints that simulate human design workflows. Second, layer-wise vectorization with path deduplication produces clean, editable SVGs. For image vectorization, we introduce a conditional diffusion mechanism that encodes reference images into latent tokens, guiding hierarchical reconstruction while preserving structural integrity. Extensive experiments demonstrate LayerTracer's superior performance against optimization-based and neural baselines in both generation quality and editability, effectively aligning AI-generated vectors with professional design cognition.

View on arXivView PDF

Code Implementations(1)

showlab/LayerTracerCommunity100%
MIT

Official code of "LayerTracer: Cognitive-Aligned Layered SVG Synthesis via Diffusion Transformer"

983Shell, PythonFeb 3, 20251 years agoMIT

Similar Papers

Cite this paper

@article{song2025layertracer,
  title  = {LayerTracer: Cognitive-Aligned Layered SVG Synthesis via Diffusion Transformer},
  author = {Yiren Song and Danze Chen and Mike Zheng Shou},
  year   = {2025},
  eprint = {2502.01105},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.01105v3}
}

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

Discussion