[Paper Review] CLIPasso: Semantically-Aware Object Sketching
CLIPasso introduces an optimization-based method for semantically-aware object sketching that generates abstract, recognizable sketches from images using CLIP for semantic guidance and differentiable rasterization to optimize Bézier curve parameters. By varying stroke count, it achieves multiple abstraction levels without requiring sketch datasets, preserving key visual and semantic features of the subject.
Abstraction is at the heart of sketching due to the simple and minimal nature of line drawings. Abstraction entails identifying the essential visual properties of an object or scene, which requires semantic understanding and prior knowledge of high-level concepts. Abstract depictions are therefore challenging for artists, and even more so for machines. We present CLIPasso, an object sketching method that can achieve different levels of abstraction, guided by geometric and semantic simplifications. While sketch generation methods often rely on explicit sketch datasets for training, we utilize the remarkable ability of CLIP (Contrastive-Language-Image-Pretraining) to distill semantic concepts from sketches and images alike. We define a sketch as a set of Bézier curves and use a differentiable rasterizer to optimize the parameters of the curves directly with respect to a CLIP-based perceptual loss. The abstraction degree is controlled by varying the number of strokes. The generated sketches demonstrate multiple levels of abstraction while maintaining recognizability, underlying structure, and essential visual components of the subject drawn.
Motivation & Objective
- To develop a method for generating abstract, recognizable sketches from images that captures semantic and structural essence.
- To enable variable levels of abstraction in sketching without relying on explicit sketch datasets.
- To leverage CLIP’s semantic understanding and differentiable rendering for end-to-end optimization of sketch parameters.
- To maintain recognizability and structural fidelity even at minimal stroke counts.
- To provide a data-free, optimization-driven alternative to deep learning methods trained on sketch collections.
Proposed method
- The method represents sketches as sets of Bézier curves with learnable control points, optimized via a differentiable rasterizer.
- A CLIP-based perceptual loss is used to align the generated sketch with the semantic content of the input image.
- Intermediate and final CLIP features are combined to balance geometric and semantic simplification.
- Saliency maps from a vision transformer guide the initialization of stroke control points for improved robustness.
- The number of strokes controls the abstraction level, with fewer strokes yielding higher abstraction.
- The approach is end-to-end differentiable, allowing direct optimization of stroke parameters using backpropagation.
Experimental results
Research questions
- RQ1Can a deep learning-based method generate abstract sketches from images without requiring a dedicated sketch dataset?
- RQ2To what extent can CLIP’s semantic understanding guide the abstraction process in sketch generation?
- RQ3How well can a differentiable rendering pipeline preserve semantic and structural features under extreme stroke reduction?
- RQ4Can saliency-guided initialization improve the quality and recognizability of abstract sketches?
- RQ5What is the trade-off between abstraction level and recognizability in learned sketch representations?
Key findings
- CLIPasso successfully generates sketches with multiple abstraction levels, from highly detailed to minimal, using only the number of strokes as a control parameter.
- The method preserves semantic and structural integrity even with as few as 8 strokes, enabling strong category-level recognition.
- Results show that CLIP-based losses outperform purely geometric or dataset-dependent approaches in semantic consistency and recognizability.
- Saliency-guided initialization improves convergence and sketch quality, especially in low-stroke regimes.
- The method generalizes well to diverse object categories, including animals, vehicles, and human faces, as demonstrated on SketchyCOCO and NPR benchmark datasets.
- Visual comparisons show superior performance over CLIPDraw and other optimization-based baselines in maintaining subject identity at high abstraction levels.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.