SketchDesc: Learning Local Sketch Descriptors for Multi-view Correspondence

Deng Yu, Lei Li, Youyi Zheng, Manfred Lau, Yi-Zhe Song, Chiew-Lan Tai, Hongbo Fu

Abstract

Establishing semantic correspondence between multiple freehand sketches of the same object from different viewpoints is a fundamental yet challenging task in computer vision. Unlike photographs, sketches lack texture and shading, and are often characterized by geometric distortions and extreme sparsity. This paper introduces SketchDesc, a novel deep learning-based local descriptor designed specifically for sketches. By employing a multi-scale, patch-based representation within a multi-branch neural network, SketchDesc effectively captures both local details and global context. Trained on a large-scale synthetic dataset of multi-view line drawings, the proposed descriptor significantly outperforms traditional and recent learning-based methods in matching accuracy and robustness to viewpoint changes.

Introduction

Multi-view correspondence—identifying the same physical point across different images—is essential for tasks like 3D reconstruction and object recognition. While this is well-established for natural images using features like SIFT or deep descriptors that leverage rich textures, sketches present unique difficulties. Sketches are inherently sparse, abstract, and geometrically inconsistent. A single line can be ambiguous without surrounding context. Furthermore, as the viewpoint shifts, the visual representation of a point can change drastically, making traditional descriptors fail.

Methods

The core of the proposed approach is SketchDesc-Net, a multi-branch convolutional neural network that produces a 128-dimensional descriptor for any pixel in a sketch. The network addresses the sparsity and ambiguity of sketches through two primary strategies:

  1. Multi-scale Patch Representation: For a target pixel, the network extracts four concentric patches at scales of 32×32, 64×64, 128×128, and 256×256 pixels. These patches are all rescaled to a uniform 32×32 size before being processed. This hierarchy allows the network to integrate fine-grained local geometry with broader structural context, which is vital for disambiguating points in sparse drawings.
  2. Shared-Weight Architecture: To maintain efficiency and focus on scale-invariant features, the four branches of the network share weights. The outputs of these branches are concatenated and passed through a fully connected layer to form the final 128-d descriptor.
Architecture of SketchDesc-Net showing the multi-scale patch processing and shared-weight branches.

The network is trained using a triplet loss function. This optimizes the feature space such that descriptors of corresponding points (positive pairs) are pulled together, while descriptors of non-corresponding points (negative pairs) are pushed apart.

Datasets and Training

To overcome the lack of labeled multi-view sketch data, the authors synthesized a training dataset. They utilized 3D models from ShapeNet, the Princeton Segmentation Benchmark (PSB), and Structure Recovery datasets, projecting 3D vertices into 2D line drawings from various viewpoints. This resulted in a dataset of 6,852 multi-view drawings across 18 categories with precise ground-truth pixel-level correspondence.

A critical finding during training was the importance of "OR-sampling." By considering a multi-scale patch valid if any of its scales contained a line, the network learned to generate meaningful descriptors even for points in empty regions of the sketch, provided there was context nearby. This significantly improved performance over "AND-sampling," which restricted training to points directly on lines.

Key Results

SketchDesc demonstrates state-of-the-art performance on sketch correspondence tasks. On the Structure-Recovery dataset, it achieved a success rate of 0.66, outperforming AlexNet-VP (0.56) and vastly exceeding traditional descriptors like HardNet (0.38).

Qualitative results of multi-view correspondence across diverse object categories using SketchDesc.

The model's robustness is particularly noteworthy; it maintains high matching accuracy even when the viewpoint disparity reaches 180 degrees. Beyond simple matching, the authors demonstrated practical applications such as Segmentation Transfer, where semantic labels (e.g., "chair leg") are automatically propagated from a single segmented sketch to multiple unsegmented views of the same object.

Conclusion

SketchDesc provides a robust solution for the difficult problem of multi-view sketch correspondence. By leveraging multi-scale context and deep metric learning, it overcomes the inherent sparsity of line drawings. While currently optimized for rigid objects, the success of SketchDesc suggests potential in cross-domain applications, such as matching sketches to edge-mapped photographs of textureless objects. Future work may extend this framework to articulated figures or more stylized, abstract freehand drawings.

Summary updated

Abstract

In this paper, we study the problem of multi-view sketch correspondence, where we take as input multiple freehand sketches with different views of the same object and predict as output the semantic correspondence among the sketches. This problem is challenging since the visual features of corresponding points at different views can be very different. To this end, we take a deep learning approach and learn a novel local sketch descriptor from data. We contribute a training dataset by generating the pixel-level correspondence for the multi-view line drawings synthesized from 3D shapes. To handle the sparsity and ambiguity of sketches, we design a novel multi-branch neural network that integrates a patch-based representation and a multi-scale strategy to learn the pixel-level correspondence among multi-view sketches. We demonstrate the effectiveness of our proposed approach with extensive experiments on hand-drawn sketches and multi-view line drawings rendered from multiple 3D shape datasets.
BibTeX
@article{yu2021sketchdesc,
  author = {Deng Yu and Lei Li and Youyi Zheng and Manfred Lau and Yi-Zhe Song and Chiew-Lan Tai and Hongbo Fu},
  title = {{SketchDesc: Learning Local Sketch Descriptors for Multi-view Correspondence}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2021},
  url = {https://openreview.net/forum?id=wNxctJqv_3},
}
Figure