Learning Deep Sketch Abstraction

Umar Riaz Muhammad, Yongxin Yang, Yi-Zhe Song, Tao Xiang, Timothy M. Hospedales · DOI

Introduction

Human sketching is a sophisticated process of mental abstraction. When drawing, humans do not merely trace pixels; they perform a strategic trade-off between recognizability—ensuring the subject is identifiable—and brevity—using the minimum number of strokes necessary. Traditional computer vision models often struggle with this "abstraction gap," as they typically treat sketches as static pixel maps rather than sequential, stroke-based representations. This paper introduces the first deep learning model designed specifically for stroke-level sketch abstraction, utilizing Reinforcement Learning (RL) to mimic human-like simplification.

Methodology: Abstraction as Sequential Decision-Making

The researchers frame sketch abstraction as a sequential process where an agent decides whether to "keep" or "skip" each stroke in a drawing.

The Agent Architecture

The core of the system is a Recurrent Neural Network (RNN) utilizing Bi-directional Gated Recurrent Units (B-GRU). This architecture allows the model to evaluate a specific stroke by considering its context within the entire drawing—both the strokes that preceded it and those that follow.

Reinforcement Learning and Ranked Rewards

Because there is no objective "ground truth" for an ideal abstraction, the model is trained via RL. The agent's reward function balances two competing goals:

  1. Brevity: A small positive reward is granted for every stroke the agent chooses to remove.
  2. Recognizability: A larger reward is given if a pre-trained sketch classifier can still correctly identify the object after the stroke is removed.

To stabilize training, the authors implemented a Ranked Reward Scheme. Rather than a binary recognition signal, the reward is based on the rank of the correct category in the classifier's output. If removing a stroke causes the correct label to drop significantly in rank, the agent receives a heavy penalty. Furthermore, users can control the level of abstraction by adjusting a parameter ($\delta$) that shifts the probability distribution of the agent's actions.

Bridging the Photo-Sketch Gap

A major contribution of this work is the Photo-to-Sketch pipeline. This process allows for the synthesis of training data for Fine-Grained Sketch-Based Image Retrieval (FG-SBIR) without requiring expensive human-drawn datasets.

The Photo-to-Sketch pipeline: converting real-world photos into abstracted sketches through sequential stroke removal.

The pipeline extracts an edge map from a photo, applies non-linear distortions to simulate human hand-drawing artifacts, and then uses the abstraction model to simplify the result. This effectively identifies "stroke saliency"—the most iconic and necessary parts of an object's silhouette. By automating this process, the researchers can generate large-scale paired datasets for retrieval tasks.

Key Results and Performance

The model demonstrates a remarkable ability to preserve semantic meaning while reducing complexity:

  • Recognizability: When the model removed 40% of the strokes from human-drawn sketches, the resulting abstractions maintained a 70.4% recognition accuracy by automated classifiers, far outperforming random stroke removal.
  • Human Evaluation: In user studies, participants preferred the model's abstractions over random simplifications 64.3% of the time, noting higher aesthetic appeal.
  • Retrieval Performance: Training an FG-SBIR model solely on synthesized sketches yielded a 21.17% Top-1 accuracy on the Shoe-V2 dataset. While this remains below the human-sketch upper bound (34.38%), it represents a significant leap over previous state-of-the-art synthesis methods (8.86%).

Conclusion and Future Work

This research provides a scalable framework for controllable sketch abstraction. By treating abstraction as a learned behavior rather than a fixed heuristic, the model successfully bridges the gap between detailed imagery and sparse human drawings. Future work aims to expand the model's capabilities to unseen object categories and integrate the abstraction process directly into the initial synthesis phase for a more seamless end-to-end pipeline.

Summary updated

BibTeX
@inproceedings{muhammad2018learning,
  author = {Umar Riaz Muhammad and Yongxin Yang and Yi-Zhe Song and Tao Xiang and Timothy M. Hospedales},
  title = {{Learning Deep Sketch Abstraction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00836},
}
Figure