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.
Abstract (translated)
生成与认知相匹配的分层SVG仍然具有挑战性,因为现有的方法要么倾向于过度简化的单层输出,要么由于优化导致形状冗余。我们提出了一种名为LayerTracer的新框架,这是一种基于扩散变换器的方法,通过从一系列新的设计操作序列数据集中学习设计师的分层SVG创建过程来弥合这一差距。我们的方法分为两个阶段:首先,文本条件下的DiT(Diffusion Image Transformer)生成多阶段的栅格化建设蓝图,模拟人类的设计工作流程;其次,逐层矢量化并去除路径冗余,从而产生干净、可编辑的SVG文件。 在图像矢量化的方面,我们引入了一种基于条件扩散机制的方法,该方法将参考图像编码为潜在令牌,并指导分层次重建同时保持结构完整性。广泛的实验表明,在生成质量和可编辑性方面,LayerTracer的表现优于基于优化和神经网络的基线模型,有效地使AI生成的矢量与专业设计认知相一致。
URL
https://arxiv.org/abs/2502.01105