TL;DR
Establishing correspondence between different hand-drawn sketches of the same object is notoriously difficult due to their sparsity and lack of texture. SketchDesc introduces a novel deep-learning-based local descriptor that uses a multi-scale, patch-based approach to accurately match pixels across diverse viewpoints, outperforming traditional image descriptors and recent learning-based methods.
What Problem Does This Paper Address?
Establishing "multi-view correspondence"—identifying which point in one image represents the same part of an object in another—is a cornerstone of computer vision. While well-studied for photographs (using textures and shading), it remains an open challenge for sketches.
Sketches are inherently sparse (mostly empty space), abstract (distorted geometry), and ambiguous. A single line in a sketch of a chair might represent a leg, a backrest, or a decorative element depending on the context. Furthermore, when the viewpoint changes significantly (e.g., more than 30 degrees), the visual features of the same point can look completely different. Existing descriptors like SIFT or Shape Context struggle with these large view disparities and the lack of pixel-level "information" in binary line drawings.
Methods
The authors propose SketchDesc-Net, a multi-branch neural network designed to learn a 128-dimensional local descriptor for any given pixel in a sketch. Its architecture relies on two key strategies:
- Multi-scale Patch Representation: For a pixel of interest, the network doesn't just look at its immediate neighborhood. It extracts four patches at different scales (32×32, 64×64, 128×128, and 256×256 pixels). These are all rescaled to 32×32 and fed into separate branches of the network. This allows the model to capture both fine-grained local details and broader global context.
- Metric Learning with Triplet Loss: The network is trained using a triplet loss function. This forces the descriptors of "positive" pairs (pixels representing the same 3D point) to be close together in the feature space, while pushing "negative" pairs (different points) far apart.
- Shared Weights: To keep the model efficient (only 1.4M parameters), the four branches of the network share weights, focusing the learning on scale-invariant features.
Datasets
Since no large-scale dataset of multi-view sketches with ground-truth correspondence existed, the authors built their own:
- Synthesized Training Data: They used 3D models from ShapeNet, the Princeton Segmentation Benchmark (PSB), and Structure Recovery datasets. By projecting 3D vertices onto 2D planes from various viewpoints and using Canny edge detection, they generated 6,852 multi-view line drawings across 18 categories.
- Evaluation Data: They tested the model on their synthetic data and the OpenSketch dataset, which contains real-world sketches drawn by professional designers and volunteers.
Key Insights and Ideas
- Context is King: In a sparse sketch, a local patch might just be a straight line. By incorporating larger scales (up to 256x256), the network "sees" that the line is part of a chair's backrest, resolving the ambiguity that plagues single-scale descriptors.
- OR-sampling vs. AND-sampling: The authors found that "OR-sampling" (considering a multi-scale patch valid if any scale contains a line) was superior to "AND-sampling" (requiring lines at all scales). This allowed the network to learn from points inside the regions of objects, not just those directly on the lines.
- Cross-Domain Potential: Interestingly, the authors showed that by converting photos to edge maps, SketchDesc could even be used to find correspondences between multi-view photographs of textureless objects where traditional methods fail.
Key Results
- Superior Accuracy: On the "Sketch Correspondence" task, SketchDesc achieved an average success rate of 0.66 on the Structure-Recovery dataset, significantly higher than the next best competitor, AlexNet-VP (0.56), and far surpassing traditional descriptors like HardNet (0.38).
- Robustness to Viewpoint: The model maintained stable performance even as the view disparity increased to 180 degrees, whereas other methods saw sharp declines in accuracy.
- Applications: The authors demonstrated a "Segmentation Transfer" application, where labels (e.g., "seat," "leg") from one segmented sketch could be automatically and accurately mapped onto several unlabeled sketches from different views.
Limitations and Future Work
- Rigid Objects Only: The current model is designed for rigid objects. It may struggle with articulated or non-rigid deformations, such as a sketch of a person dancing.
- Extreme Abstraction: If a freehand sketch differs too drastically from the training examples (e.g., extreme "doodling"), the descriptor might fail.
- Future Directions: The authors suggest exploring "per-point" features in a joint manner and incorporating more sophisticated viewpoint selection methods to further improve the training data quality.
Summary updated