SketchForge: Training-Free Scene-to-Vector Sketching via Decoupled Structure and Texture Optimization

1 University of Science, Ho Chi Minh City, Vietnam
2 Vietnam National University, Ho Chi Minh City, Vietnam
3 University of Dayton, Ohio, United States
* Equal contribution
† Corresponding author
Fig. 1. Editable Vector Sketches from Raster Scenes. Selected outputs show how SketchForge reconstructs scene boundaries and tonal detail as Bézier strokes. Both examples are taken from the paper's qualitative comparison.

Abstract

Converting a raster illustration into an editable vector sketch requires preserving structural contours alongside tonal texture. Raster rendering pipelines do not provide stroke-level editability, while generation-from-scratch vector approaches can lose the geometry of an arbitrary content image.

SketchForge is a training-free scene-to-vector sketching framework. Given a full-color raster content image, it uses per-instance test-time optimization to generate a resolution-independent SVG composed of Bézier strokes. Contour- and attention-guided initialization places strokes in geometrically and semantically informative regions. Dedicated optimization objectives separately refine structure and texture strokes; multiply blending combines their contributions into a final editable sketch. The method requires no task-specific training or fine-tuning.

What SketchForge Does

SketchForge combines three complementary capabilities:

The content image supplies the scene geometry. A style-transfer stage generates a sketch-like texture target, using normalized input edges as the default reference; reference-guided variation can also be explored.

Method Overview

Fig. 2. SketchForge: Decoupled Structure and Texture Optimization. The input raster image provides an edge target and a stylized texture target. Hybrid contour–attention initialization seeds two stroke sets. Separate optimization passes align structure to edges and texture to the stylized raster, followed by multiply-blend SVG fusion.

Stage 1: Edge extraction and texture guidance

From the input raster illustration, SketchForge extracts a black-on-white edge map and normalizes line width. The edge map is the structural target. A StyleID-inspired style-transfer stage uses DDIM inversion and AdaIN to produce a sketch-like raster texture target while retaining the original scene layout. The diffusion component supports style transfer; it is not an outpainting generator in this method.

Stage 2: Contour- and attention-guided stroke initialization

The method initializes Bézier strokes at informative locations rather than sampling them uniformly. A majority of strokes follow extracted contours, with additional interpolated strokes placed between adjacent contour samples. Remaining strokes use pretrained DINO attention to cover salient regions beyond prominent boundaries.

Stage 3: Separate vector optimization

Two stroke sets are independently refined using differentiable rendering (DiffVG):

The reported implementation uses 700 strokes per branch, a 1024 × 1024 canvas, and 500 Adam iterations per branch.

Stage 4: Layer-wise multiply fusion

The final SVG places texture strokes below structure strokes. The upper structure layer uses multiply blending, reinforcing dark contours while retaining tonal details from the lower layer. Both stroke groups remain individually editable.

SketchForge-Bench Dataset

SketchForge-Bench consists of 64 full-color raster content images. They cover six categories: cats, dogs, humans, everyday objects, plants, and vehicles. Images vary in composition, subject scale, and scene complexity. As described in the paper, the raster illustrations were generated using Stable Diffusion and selected for evaluation.

Each content image is converted into a vector sketch. All compared methods use the same raster content input, while SketchForge generates separate structural and textural targets within its own processing pipeline. The main quantitative comparison reports results over these 64 content images.

Qualitative Results

Comparison with Baselines

Fig. 3. Qualitative Comparison with Vector Sketch Baselines. The input images show a garden-house scene and a dog on a lawn. Against the same raster content, SketchForge retains more detailed object boundaries and surrounding structure than the displayed baseline sketches. Click to inspect the full-resolution comparison.

The figure compares SketchForge with ControlSketch, SwiftSketch, CLIPasso, CLIPascene, and an adapted DiffSketcher. The latter is adapted from text-conditioned sketch generation to receive the input content image. The comparison highlights differences in geometric completeness, stroke layout, and retained scene detail.

Quantitative Results

The comparison in the SIGGRAPH Asia 2026 paper evaluates vectorization on 64 content images. DINO and DreamSim use the input content image as their target; Edge F1 uses the extracted edge map. Higher values are better for Aesthetic, DINO, and Edge F1; lower values are better for DreamSim.

MethodAesthetic ↑DINO ↑DreamSim ↓Edge F1 ↑
CLIPasso4.16900.20640.72560.5262
CLIPascene4.39040.20220.70240.5797
SwiftSketch3.97840.15660.83050.3139
ControlSketch4.14930.14700.79600.3299
DiffSketcher (adapted)4.80200.37600.53510.8325
SketchForge (Ours)4.84070.45070.55520.9780

SketchForge achieves the highest Aesthetic Score, DINO similarity, and Edge F1 in this comparison. Its DreamSim value is competitive, but adapted DiffSketcher achieves the lowest DreamSim distance. These results concern vector sketch conversion under the stated evaluation protocol.

Citation

@inproceedings{Nguyen2026SIGGRAPHASIA,
  title = {SketchForge: Training-Free Scene-to-Vector Sketching via Decoupled Structure and Texture Optimization},
  author = {Nguyen, Quang-Thinh and Do, Duy-Khang and Trinh, Hien and Nguyen, Tam V. and Tran, Minh-Triet and Le, Trung-Nghia},
  booktitle = {ACM SIGGRAPH Conference and Exhibition on Computer Graphics and Interactive Techniques in Asia (SIGGRAPH Asia)},
  year = {2026},
  note = {Technical Communications Track}
}