arXiv Science⌕ Search

arXiv subjects

Bao Qin

Publications and source records attributed to Bao Qin.

1 recordsLinked to original sources

Pictura: Generating Images with Strokes

A person draws a scene in strokes; a text-to-image model paints it in pixels. We ask whether images can be generated the way people draw them, by placing a few structured strokes rather than pixel by pixel. We build Pictura: a small DiT that maps a noise canvas and a frozen CLIP embedding to 256 Bézier strokes, which a differentiable renderer composites into an image in one forward pass. Its output is 3,584 stroke parameters rather than 196,608 pixel values, and editing it means moving, reshaping or recolouring a stroke, not repainting pixels. On the 1,000 COCO images it was trained on, Pictura reaches 19.13 dB PSNR against 12.01 dB for a standard diffusion model of comparable size and budget. A one-step pixel regression scores higher still on PSNR, but its output is a deterministic function of the caption: it recalls images rather than generating them. On a corpus of Stable Diffusion renders, the stroke-parameter space yields the lowest KID: 0.264, against 0.308 in pixel space and 0.420 in ResNet-feature space. Three things come out of this: a controlled comparison that isolates the output representation, a decomposition that separates dimension from structure, and a one-step generator whose low-dimensional output can be edited directly. Whether the same holds at larger scale, and whether strokes can carry object-level meaning, remains open.

cs.CV↗