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

Block and Detail: Scaffolding Sketch-to-Image Generation

Vishnu Sarukkai, Lu Yuan, Mia Tang, Maneesh Agrawala, Kayvon Fatahalian

TL;DR

This paper introduces a sketch-to-image tool that mirrors the iterative workflow of professional artists by distinguishing between "blocking" strokes for coarse form and "detail" strokes for precise shapes. By combining a partial-sketch-aware ControlNet with a novel blended renoising pass, the system provides high-fidelity "scaffolds" that help users explore proportions and compositions progressively rather than demanding a finished sketch upfront.

What Problem Does This Paper Address?

Most current sketch-to-image tools, like standard ControlNet, treat user input as a finished blueprint. This creates two major friction points for creators:

  1. Rigidity: These models treat every stroke as a hard constraint. If an artist draws a rough, wobbly circle to "block out" a head, the AI faithfully reproduces a wobbly, unrealistic shape instead of interpreting it as a general suggestion for placement.
  2. The "Empty Space" Fallacy: Standard models interpret regions without strokes as intentional whitespace. In an actual artistic workflow, empty space usually just means "I haven't gotten to this part yet." Consequently, existing tools struggle to generate coherent scenes from partial sketches.

The authors aim to turn image generation into a "scaffolding" process, where the AI provides intermediate suggestions that help the user decide where to place their next strokes.

Methods

The core of the system is a two-pass algorithm designed to balance user intent with generative flexibility.

  • Pass 1: Tight Control. The system uses a Partial-Sketch-Aware ControlNet to generate an initial image ($I_{tc}$) that strictly adheres to all user strokes (both blocking and detail).
  • Pass 2: Blended Renoising. To allow for creative "wiggle room," the system identifies regions around blocking strokes and injects noise back into the latent representation. It then runs a second diffusion pass to "fill in" these areas with more realistic forms that only loosely follow the original rough strokes. Crucially, regions near detail strokes are masked out to ensure they remain unchanged.
The two-pass pipeline: Tight control followed by blended renoising to allow variation around blocking strokes.

A key innovation here is the use of dilation radius as a control parameter. Instead of an opaque "guidance strength" slider, users can intuitively adjust how much "wiggle room" the AI has around specific strokes by changing the size of the renoising mask.

Comparison showing how dilation radius provides more interpretable control over form than standard ControlNet strength.

Datasets

To train the "partial-sketch-aware" model, the authors needed a way to simulate unfinished drawings. They used:

  • LAION-Art: A subset of 45,000 images used for training.
  • Synthetic Sketch Generation: They developed a pipeline that extracts edges from real images, vectorizes them into strokes, and then deletes a random percentage of those strokes. To mimic human behavior, they prioritized keeping strokes near object boundaries (silhouettes) while deleting interior details, simulating how artists typically work from the outside in.
The synthetic data pipeline simulates the iterative drawing process by ordering strokes based on their distance from object boundaries.

Key Insights and Ideas

  • Empty space is a signal, not a void: By training on partial sketches, the model learns to "auto-complete" scenes. If you draw a single mug, the model might suggest a second mug or a kitchen background, treating the empty canvas as a prompt for creative completion.
  • Scaffolding as Feedback: The tool isn't just for generating a final image; it's a feedback loop. An artist can see a generated "scaffold," realize the proportions are off, and then use that AI-generated image as a trace-layer to refine their next set of detail strokes.
  • Decoupling Layout from Detail: The distinction between green (blocking) and black (detail) strokes allows users to communicate intent—telling the AI "put something roughly here" versus "make the beak exactly this sharp."

Key Results

The authors conducted a user study with novice viewers comparing their approach to the industry-standard Scribble ControlNet.

  • Preference: Viewers preferred the quality of images from this algorithm in 84% of cases.
  • Fidelity: The images were found to have less distortion in 81% of the pairs.
  • Qualitative Success: As seen in Figure 6, the partial-sketch-aware model successfully generates multiple objects and complex backgrounds from simple outlines, whereas standard models produce flat, isolated objects.
Comparison showing the proposed model's ability to generate additional elements and background detail compared to standard Scribble ControlNet.

Limitations and Future Work

  • Negative Space: The current tool lacks a way for users to specify where objects shouldn't go.
  • Granular Control: During user testing, one participant suggested that "variable strength dilation" for individual strokes would be useful—allowing high flexibility for a rough torso but low flexibility for a specific facial expression within the same generation.
  • Color Consistency: While the paper mentions an optional color consistency mode, further work could integrate more sophisticated style-transfer techniques to keep the "vibe" stable across many iterations.

Summary updated

BibTeX
@inproceedings{sarukkai2024block,
  author = {Vishnu Sarukkai and Lu Yuan and Mia Tang and Maneesh Agrawala and Kayvon Fatahalian},
  title = {{Block and Detail: Scaffolding Sketch-to-Image Generation}},
  booktitle = {UIST},
  year = {2024},
  url = {https://openreview.net/forum?id=EOU20mruMG},
}
Figure