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:
- 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.
- 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.
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).
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