Controlling Your Image via Simplified Vector Graphics

Lanqing Guo, Xi Liu, Yufei Wang, Zhihao Li, Siyu HuangarXiv 2026

TL;DR

Vec2Pix introduces a novel framework that uses simplified Vector Graphics (SVG) to provide precise, element-level control over image generation. By parsing images into hierarchical, semantically aligned layers, it allows users to intuitively edit shapes, colors, and object placements, translating these vector-based modifications into photorealistic results through a specialized noise prediction module.

What Problem Does This Paper Address?

While modern diffusion models like FLUX or Stable Diffusion produce stunning visuals, they are notoriously difficult to control. Text prompts are often too vague for specific spatial edits, and existing conditioning methods like Canny edges or depth maps are "baked in"—once generated, you can't easily reach into the image to change the curve of a mountain or the color of a specific bicycle frame without affecting the rest of the scene.

The authors identify a gap: we lack a representation that is both human-editable (like a graphic design file) and machine-understandable (for a diffusion model). Vec2Pix bridges this gap by using SVGs as the intermediary language, enabling "layer-wise" control where objects can be added, removed, or modified as independent entities.

Methods

The Vec2Pix framework operates in a closed loop consisting of two primary stages:

  1. Image-to-SVG Parsing: To make an image editable, the system first decomposes it into a hierarchical SVG. It uses the Segment Anything Model (SAM) and diffusion priors to identify semantic parts (e.g., a robot's "head" vs. its "eyes"). These parts are converted into simplified Bézier curves. To keep this process fast, the authors utilize Bézier Splatting, a differentiable rendering technique that they optimized to be 7x faster than previous state-of-the-art methods.
  2. SVG-to-Image Generation (Vector-Guided Noise Prediction): This is the core innovation. Instead of just feeding the SVG as a standard image condition, the authors developed a Noise Prediction from Vectors (NPV) module. This module learns to predict the initial noise distribution (mean and variance) for the diffusion process based on the SVG. By injecting structural and color information at the very beginning of the generation, the model achieves much tighter alignment between the user's vector edits and the final photorealistic output.
The overall framework of Vec2Pix showing the SVG-Image loop.

Datasets

  • Training: The model was trained on a filtered subset of LAION-400M, consisting of 5 million high-resolution images (>1024x1024). These were converted into {image, SVG, text} triplets using the paper's proposed parsing module.
  • Evaluation: The authors used a set of 5,000 paired source-target images to benchmark reconstruction and editing quality.
  • Vectorization Benchmark: The DIV2K dataset (1,000 high-quality images) was used to compare the efficiency and accuracy of their image-to-SVG parsing against existing methods like LIVSS.

Key Insights and Ideas

  • SVGs as Semantic Scaffolding: Unlike pixel-based masks, SVGs are mathematically defined. This allows for "lossless" user interaction—you can stretch a curve or change a fill color without introducing the blurriness or artifacts typical of pixel-space editing.
  • Hierarchical Decomposition: The model doesn't just see a "cat"; it sees a cat composed of ears, eyes, and a body. This hierarchy allows users to select and manipulate sub-parts intuitively.
  • Beyond Static Noise: Most diffusion models start with pure Gaussian noise. Vec2Pix’s NPV module suggests that "informed noise"—noise that already carries the structural blueprint of the desired image—is a superior way to handle fine-grained conditioning.
  • The Physics Trade-off: An interesting finding in the ablation studies was that if the model follows the SVG too strictly (high training iterations), it might ignore physical common sense, such as how a mountain's reflection should look in water, if the input SVG itself is physically inconsistent.
Hierarchical decomposition of a robot into editable vector parts.

Key Results

  • Superior Control: In quantitative tests, Vec2Pix outperformed traditional conditioning methods (Canny, Depth, Segmentation Masks) in both reconstruction fidelity (FID of 15.52) and editing accuracy.
  • Efficiency: The vectorization process is significantly faster, achieving a 7x speedup over prior work (LIVSS) while maintaining higher PSNR (Peak Signal-to-Noise Ratio).
  • Versatility: The authors demonstrated a wide range of applications, including changing object shapes, harmonizing new objects into a scene, and even fixing "AI artifacts" like malformed fingers by manually correcting the underlying SVG.
Examples of object editing, layer-wise generation, and composition.

Limitations and Future Work

While Vec2Pix offers unprecedented control, it still faces challenges:

  • SVG Complexity: Very complex or highly textured scenes (like a field of individual blades of grass) are difficult to represent as simplified SVGs without losing significant detail.
  • Physical Consistency: As noted, the model can sometimes prioritize the SVG structure over physical realism (e.g., reflections or shadows) if the user's vector input is not physically plausible.
  • Future Directions: The authors suggest exploring more complex vector primitives and tighter integration with professional design software to further bridge the gap between AI generation and traditional graphic design workflows.

Summary updated

BibTeX
@misc{guo2026controlling,
  author = {Lanqing Guo and Xi Liu and Yufei Wang and Zhihao Li and Siyu Huang},
  title = {{Controlling Your Image via Simplified Vector Graphics}},
  year = {2026},
  eprint = {2602.14443},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.14443},
}
Figure