Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

DiffSketcher: Text Guided Vector Sketch Synthesis through Latent Diffusion Models

About

We demonstrate that pre-trained text-to-image diffusion models, despite being trained on raster images, possess a remarkable capacity to guide vector sketch synthesis. In this paper, we introduce DiffSketcher, a novel algorithm for generating vectorized free-hand sketches directly from natural language prompts. Our method optimizes a set of B\'ezier curves via an extended Score Distillation Sampling (SDS) loss, successfully bridging a raster-level diffusion prior with a parametric vector generator. To further accelerate the generation process, we propose a stroke initialization strategy driven by the diffusion model's intrinsic attention maps. Results show that DiffSketcher produces sketches across varying levels of abstraction while maintaining the structural integrity and essential visual details of the subject. Experiments confirm that our approach yields superior perceptual quality and controllability over existing methods. The code and demo are available at https://ximinng.github.io/DiffSketcher-project/

Ximing Xing, Chuang Wang, Haitao Zhou, Jing Zhang, Qian Yu, Dong Xu• 2023

Related benchmarks

TaskDatasetResultRank
Text-to-SVG GenerationText-to-SVG Benchmark
FID77.35
16
Text-to-SVG GenerationSVGX-DwT-10k 1.0 (test)
Validation Accuracy100
14
Text-to-SVGSVGX-Dataset
FID72.3
14
Text-to-SVG GenerationColorSVG-100K
FID20.28
7
Text-to-SVGText-to-SVG Evaluation Prompts (test)
FID118.7
7
Text-to-SVG GenerationFIGR-8-SVG 125 prompts
Image FID44.89
6
Sketch Authenticity AssessmentGoogle Image and Synthesized Sketches User Study
Confusion Score0.65
4
Showing 7 of 7 rows

Other info

Code

Follow for update