生成高质量可缩放矢量图形(SVG)仍是一个重大挑战。现有基于LLM的模型生成SVG代码时存在结构理解差和误差累积问题,而优化方法则效率低且输出不可编辑。为解决这些问题,我们引入SVGFusion,一种统一框架,将VAE-扩散架构适应于SVG的双重代码-视觉特性。我们的模型包含两个核心组件:Vector-Pixel Fusion Variational Autoencoder(VP-VAE)通过联合编码SVG代码和其渲染图像学习感知丰富的潜在空间,以及Vector Space Diffusion Transformer(VS-DiT)通过迭代细化实现全局一致的组成。此外,该架构通过渲染序列建模策略确保准确的对象分层和遮挡。在我们新提出的SVGX-Dataset(包含240k人工设计的SVG)上评估,SVGFusion建立了新的最先进的水平,生成高质量、可编辑的SVG,其与输入文本严格语义一致。
英文摘要:
Generating high-quality Scalable Vector Graphics (SVGs) from text remains a significant challenge. Existing LLM-based models that generate SVG code as a flat token sequence struggle with poor structural understanding and error accumulation, while optimization-based methods are slow and yield uneditable outputs. To address these limitations, we introduce SVGFusion, a unified framework that adapts the VAE-diffusion architecture to bridge the dual code-visual nature of SVGs. Our model features two core components: a Vector-Pixel Fusion Variational Autoencoder (VP-VAE) that learns a perceptually rich latent space by jointly encoding SVG code and its rendered image, and a Vector Space Diffusion Transformer (VS-DiT) that achieves globally coherent compositions through iterative refinement. Furthermore, this architecture is enhanced by a Rendering Sequence Modeling strategy, which ensures accurate object layering and occlusion. Evaluated on our novel SVGX-Dataset comprising 240k human-designed SVGs, SVGFusion establishes a new state-of-the-art, generating high-quality, editable SVGs that are strictly semantically aligned with the input text.
DSG-Net: Learning Disentangled Structure and Geometry for 3D Shape Generation
Institute of Computing Technology, CAS(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Stanford University(斯坦福大学);Cardiff University(卡迪夫大学)