Semantic Embedding for Sketch-Based 3D Shape Retrieval

Anran Qi, Yi-Zhe Song, Tao Xiang

Introduction

Sketch-based 3D shape retrieval (SBSR) is a highly intuitive method for users to interact with large 3D model databases. However, it presents a significant challenge for machine learning due to the massive "domain gap" between hand-drawn 2D sketches and precise 3D meshes. This gap is characterized by differences in dimensionality (2D vs. 3D), perspective (single view vs. view-independent), and abstraction (iconic drawings vs. geometric realism).

Existing approaches typically attempt to project both domains into a shared abstract feature space. This paper argues that such features are too heterogeneous to align perfectly. Instead, the authors propose a shift in strategy: aligning 2D and 3D features in a shared semantic label space. By treating retrieval as a cross-domain classification and ranking problem, this method significantly improves performance on major benchmarks.

Methodology

The proposed architecture uses a deep heterogeneous network designed to map both domains into a joint semantic embedding space where the "features" essentially represent class probabilities.

Dual-Branch Architecture

The model employs two specialized branches to handle the distinct data types:

  • 2D Sketch Branch: Utilizes Inception-ResNet-v2 to extract high-level features from sketchy, iconic drawings.
  • 3D Shape Branch: Employs PointNet, which processes 3D point cloud coordinates directly. This "projection-free" approach is more efficient than traditional methods that render 3D shapes into multiple 2D views.
The proposed heterogeneous network architecture maps 3D shapes and 2D sketches into a shared semantic embedding module (SEM) optimized by classification and triplet losses.

Semantic Embedding and Loss Functions

The final embedding layer's dimensionality is set to the number of object classes. To ensure this space is both semantic and discriminative, the authors combine two loss functions:

  1. Classification Loss: Ensures that both sketches and shapes are correctly categorized into their respective classes.
  2. Triplet Ranking Loss: Forces the network to minimize the distance between a sketch and a "hard positive" (a 3D shape of the same class) while maximizing the distance to a "hard negative" (a 3D shape of a different but semantically similar class).

To identify these hard negatives, the authors use Word2Vec distances. For example, a "bench" is a harder negative for a "chair" than a "car" is, forcing the model to learn finer semantic distinctions.

Evaluation and Benchmarks

The model was evaluated on three major benchmarks: SHREC’13, SHREC’14, and a new, more rigorous benchmark introduced by the authors called PART-SHREC’14. Unlike previous sets where the same 3D models might appear in both training and testing, PART-SHREC’14 ensures that the test 3D models are entirely unseen during training, providing a better measure of real-world generalization.

Key Results

The proposed model significantly outperformed previous state-of-the-art systems across all metrics. On the challenging SHREC’14 dataset, the model achieved a mean Average Precision (mAP) of 0.780, nearly doubling the 0.401 mAP of the previous best model (LWBR).

Qualitative comparison of retrieval results between the proposed semantic embedding method (OURS) and a standard Siamese network. The proposed method shows much higher precision and better alignment with the query sketch.

Qualitative results demonstrate that the semantic embedding successfully clusters sketches and 3D shapes by category. While traditional Siamese networks often struggle with the abstraction gap—sometimes retrieving visually similar but semantically incorrect objects—the proposed method maintains high accuracy by anchoring the embedding to universal class labels.

Conclusion

By using labels as a "universal language," this research demonstrates that the domain gap in SBSR is more effectively bridged through semantic alignment than through raw feature matching. While the current model is constrained to a closed set of classes, future work may explore open-set retrieval by using continuous word embeddings as the target space, potentially allowing the system to retrieve objects from categories it has never seen before.

Summary updated

BibTeX
@inproceedings{qi2018semantic,
  author = {Anran Qi and Yi-Zhe Song and Tao Xiang},
  title = {{Semantic Embedding for Sketch-Based 3D Shape Retrieval}},
  booktitle = {BMVC},
  year = {2018},
}
Figure