# ControlSVG: Exploring Controllable SVG Generation with Autoregressive Models

*Qirui Li, Teng Hu, Ran Yi, Paul L Rosin, Yu-Kun Lai*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151441) · [OpenReview](https://openreview.net/forum?id=afzeP5GBOh) · [Open on the map](../papers.html#p151441)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Image Editing and Spatial Grounding](../pgroup/380.md) · Type: new method · Keywords: autoregressive SVG generation, controllable graphics, spatial conditioning, visual feedback, coordinate alignment

Areas: [Multimodal](../areas/multimodal.md) › Multimodal Creation and Editing › Diffusion-Based Image Generation

## Summary
ControlSVG introduces a visual-feedback conditioning and spatially aware learning framework to enable controllable SVG generation from spatial signals such as sketches and Canny edges.

## Explained to a 5-year-old
We want to draw pictures using code that can follow a sketch. The computer looks at a sketch and then draws step by step, making sure the picture matches the sketch. It uses a loop where it checks its drawing and fixes mistakes. This helps keep the picture consistent over many steps. As a result, we get nice, accurate pictures from simple lines.

## Explained to a 5-year-old, longer
We want to make pictures with code that can follow a sketch. The computer reads a sketch and then draws each part one after another, trying to match the sketch. It watches its own drawing and compares it to the sketch, fixing any mistakes it sees. This checking loop helps the picture stay true to the original sketch. The system also pays attention to where each piece should go in the picture, using the exact positions. By doing this, the final picture looks clean and matches the sketch well. This works for many kinds of sketches, like simple lines or more detailed drawings. It also works when the sketch comes from an edge map or a photo. The result is a nice picture that follows the original idea closely.

## For a technical reader
The system generates vector graphics by predicting tokens autoregressively, similar to how language models predict words. To make the generation controllable, it conditions the model on spatial signals like edge maps or sketches. A visual-feedback loop continuously refines the output, reducing drift between the input signal and the generated drawing. Additionally, the training uses coordinate-aware objectives that tie each token to its precise 2D position. This results in higher alignment and better quality graphics across multiple control scenarios.

## Problem
Existing autoregressive models for generating vector graphics struggle to incorporate precise spatial controls from sketches or edge signals, leading to misalignment and inconsistency during generation.

## Method
The approach introduces a visual-feedback conditioning mechanism that creates a see-and-draw loop to reduce cross-modal drift, and employs spatially aware learning objectives that link discrete tokens to absolute 2D coordinates for robust generation.

## Results
The approach achieves superior spatial alignment and higher visual quality compared to existing baselines on Canny-edge and sketch-to-graphics tasks.

## Contributions
It introduces a visual-feedback conditioning loop and spatially aware learning objectives that jointly improve consistency and coordinate accuracy in autoregressive graphics generation, and demonstrates effectiveness on multiple control settings.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151441)
