NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Programmatic Synthesis of Scalable Vector Graphics

This direction is split into other directions: vector data scarcity. Its last version stays readable and citable here.

Version 1 of 158 papers65 conceptsfrozen 2026-10-04

Most computer vision models treat the world as a grid of pixels. While effective for photographs, this approach fails to capture the mathematical precision and editability of vector graphics—the SVGs, CAD files, and diagrams that power our user interfaces and scientific communications. Creating these graphics is "cognitively easy to consume" but labor-intensive to produce, as Devin Garg and colleagues note in An Ontological Approach towards Automatic Creation of Infographics.

The emerging research direction in this field moves away from pixel-pushing toward programmatic synthesis: teaching models to "write" graphics as structured code, bridging the gap between visual intent and geometric logic.

The Representation Gap: Pixels vs. Primitives

The fundamental challenge is that standard neural networks are "pixel-blind" to the underlying structure of a vector file. To solve this, researchers are reimagining graphics as sequences or graphs rather than grids.

Xinyang Jiang and the team behind YOLaT demonstrated that by treating vector primitives (lines, curves, shapes) as nodes in a graph, models can achieve superior accuracy with a fraction of the computational cost of traditional CNNs. Similarly, Zecheng Tang introduced StrokeNUWA, which tokenizes SVG paths into "stroke tokens." This allows Large Language Models (LLMs) to process graphics just like they process text, enabling a 94x speedup in inference by treating drawing as a sequence-to-sequence task.

Learning Without Labels: Differentiable Rendering

A major bottleneck identified across dozens of papers—from Pradyumna Reddy to Ajay Jain—is the "data gap." We have billions of raster images but very few high-quality, captioned SVG datasets.

To bypass this, researchers use differentiable rasterization. In Im2Vec, Pradyumna Reddy and others developed a framework that generates vector paths but evaluates them by "rendering" them into pixels and comparing them to target images. This allows models to learn the "grammar" of vector graphics using only regular images for supervision. Ajay Jain took this further with VectorFusion, using a pretrained diffusion model as a "teacher" to optimize SVG paths without ever seeing a single raw SVG file during training.

Visual Reasoning and "Snippet-of-Thought"

Generating a graphic isn't just about drawing lines; it requires understanding the logic of the data or the layout. Recent work has integrated "reasoning" steps into the generation pipeline:

  • Chart Intelligence: Maosong Sun and the ChartCoder team introduced a "Snippet-of-Thought" process, where the model reasons about the data structure before generating the Matplotlib code to render it.
  • Step-by-Step Construction: Hanqi Chen developed SVGThinker, which forces an LLM to "think" through the construction of an image—layer by layer—before writing the final code.
  • Internal Guidance: Nanxuan Zhao proposed DuetSVG, where the model simultaneously generates a mental "raster image" and the "vector code," using the visual image to guide the geometric precision of the code.

Scaling the Graphic Frontier

To move beyond simple icons, the field is shifting toward massive, multidisciplinary datasets. Qi Wei and the InternSVG team recently released SAgoge, a 16-million-sample dataset designed to teach models everything from basic iconography to complex dynamic animations.

In specialized domains, researchers are building "design-to-code" bridges. Tong Ge (with Flame) and Mohammad Amin Bhat (with Web2Code) are synthesizing millions of pairs of UI designs and functional React/HTML code. These efforts aim to transform the "UI-to-Code" task from simple visual mimicry into the generation of architecturally sound, professional-grade software.

By treating graphics as a first-class programmatic language, this research direction is turning AI from a simple "painter" of pixels into a "developer" of structured, intelligent visual systems.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_programmatic_synthesis_of_scalable_vecto_7cd29463,
  title = {Programmatic Synthesis of Scalable Vector Graphics},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/programmatic-synthesis-of-scalable-vector-graphics/rdr_7cd29463ec2c4d1daa40776293c25bb4},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-29},
}

This exact version (version 1, frozen text):

@misc{lacuna_programmatic_synthesis_of_scalable_vecto_7cd29463_v1,
  title = {Programmatic Synthesis of Scalable Vector Graphics},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/programmatic-synthesis-of-scalable-vector-graphics/rdr_7cd29463ec2c4d1daa40776293c25bb4/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-29},
}