Optimizing Multi-Modal Models for Image-Based Shape Retrieval: The Role of Pre-Alignment and Hard Contrastive Learning
Organizations: Fraunhofer IGD, 64283 Darmstadt, Germany · Delft University of Technology, 2628 CD Delft, Netherlands
Abstract
Image-based shape retrieval (IBSR) aims to retrieve 3D models from a database given a query image, hence addressing a classical task in computer vision, computer graphics, and robotics. Recent approaches typically rely on bridging the domain gap between 2D images and 3D shapes based on the use of multi-view renderings as well as task-specific metric learning to embed shapes and images into a common latent space. In contrast, we address IBSR through large-scale multi-modal pretraining and show that explicit view-based supervision is not required. Inspired by pre-aligned image--point-cloud encoders from ULIP and OpenShape that have been used for tasks such as 3D shape classification, we propose the use of pre-aligned image and shape encoders for zero-shot and standard IBSR by embedding images and point clouds into a shared representation space and performing retrieval via similarity search over compact single-embedding shape descriptors. This formulation allows skipping view synthesis and naturally enables zero-shot and cross-domain retrieval without retraining on the target database. We evaluate pre-aligned encoders in both zero-shot and supervised IBSR settings and additionally introduce a multi-modal hard contrastive loss (HCL) to further increase retrieval performance. Our evaluation demonstrates state-of-the-art performance, outperforming related methods on and for shape retrieval across multiple datasets, with best results observed for OpenShape combined with Point-BERT. Furthermore, training on our proposed multi-modal HCL yields dataset-dependent gains in standard instance retrieval tasks on shape-centric data, underscoring the value of pretraining and hard contrastive learning for 3D shape retrieval. The code will be made available via the project website.
Figures & tables
| Type | Dataset | Shapes | Train Img | Test Img |
| Shape-centered | ModelNet40 [ 46 ] | 12,311 | – | – |
| Objaverse-LVIS [ 6 ] | 46k | – | – | |
| Image-centered | Pix3D [ 40 ] | 322 | 2,648 | 2,470 |
| CompCars [ 50 ] | 94 | 3,798 | 1,898 | |
| StanfordCars [ 21 ] | 134 | 8,144 | 8,041 |
| Dataset | Framework | Model | Pre-train Data | |||
| Modelnet40 [ 46 ] | ULIP [ 48 ] | Point-BERT [ 53 ] | Shapenet [ 1 ] | 0.3/9.5 | 2.1/35.9 | 0.7/15.6 |
| Ensembled [ 26 ] | 1.6/22.8 | 6.4/61.1 | 2.9/30.3 | |||
| OpenShape [ 26 ] | Point-BERT(S) [ 53 ] | Shapenet [ 1 ] | 18.7/71.1 | 55.2/90.7 | 29.1/73.9 | |
| Point-BERT(L) [ 53 ] | Ensembled [ 26 ] | 30.5/97.2 | 67.1/92.9 | 41.6/80.1 | ||
| SparseConv [ 4 ] | Shapenet [ 1 ] | 9.5/63.8 | 38.0/88.2 | 17.1/67.4 | ||
| Ensembled [ 26 ] | 17.9/18.0 | 51.0/52.6 | 27.6/27.7 |
| Dataset | Framework | Model | Pre-train Data | |||
| Pix3D [ 40 ] | ULIP [ 48 ] | Point-BERT [ 53 ] | Shapenet [ 1 ] | 0.4/52.5 | 3.2/80.7 | 1.0/53.9 |
| Ensembled [ 26 ] | 0.9/59.1 | 4.3/85.1 | 1.7/60.5 | |||
| OpenShape [ 26 ] | Point-BERT(S) [ 53 ] | Shapenet [ 1 ] | 32.8/88.5 | 81.5/98.5 | 47.6/89.1 | |
| Point-BERT(L) [ 53 ] | Ensembled [ 26 ] | 34.6/90.5 | 83.3/97.8 | 50.5/90.5 | ||
| SparseConv [ 4 ] | Shapenet [ 1 ] | 12.4/74.5 | 49.6/98.6 | 22.1/78.9 | ||
| Ensembled [ 26 ] | 16.4/89.9 | 61.3/99.3 | 28.5/88.5 |
| Dataset | Model | Pre-train Data | |||
| Modelnet40 [ 46 ] | Point-BERT(S) [ 53 ] (ours) | Shapenet [ 1 ] | 45.1/90.2 | 88.4/98.7 | 59.3/88.3 |
| Point-BERT(L) [ 53 ] (ours) | Ensembled [ 26 ] | 57.3/92.2 | 92.5/99.1 | 69.1/88.9 | |
| SparseConv [ 4 ] (ours) | Shapenet [ 1 ] | 42.9/89.9 | 87.1/99.1 | 57.1/88.1 | |
| Ensembled [ 26 ] | 45.4/91.1 | 88.6/99.1 | 59.3/88.8 | ||
| Pix3D [ 40 ] | LFD [ 12 ] | - | 60.7/- | 86.3/- | - |
| HEG-TS [ 10 ] | - | 74.9/- | 95.0/- | - |
| Dataset | Model | ||||||
| Ref | HCL(ours) | Ref | HCL(ours) | Ref | HCL(ours) | ||
| Modelnet40 [ 46 ] | Point-BERT(S) [ 53 ] | 24.7/73.2 | 24.4/72.2 | 62.2/91.0 | 61.0/91.4 | 35.8/74.5 | 35.0/73.7 |
| Point-BERT(L) [ 53 ] | 26.3/71.6 | 25.6/71.0 | 61.5/90.2 | 60.1/89.7 | 36.6/72.8 | 35.8/71.6 | |
| SparseConv [ 4 ] | 24.5/71.2 | 24.2/73.3 | 61.6/91.1 | 61.2/91.4 | 35.4/74.0 | 35.2/74.5 | |
| Pix3D [ 40 ] | Point-BERT(S) [ 53 ] | 27.4/84.6 | 27.8/85.9 | 75.6/98.5 | 73.9/98.5 | 43.4/84.6 | 41.8/84.8 |
| Point-BERT(L) [ 53 ] | 30.1/84.9 | 29.4/81.8 | 79.5/87.7 | 73.2/98.6 | 46.0/84.9 | 43.2/81.6 | |