Abstract
Retrieving 3D CAD models from single RGB images is a fundamental challenge in scene understanding, often hindered by the lack of exact matches in databases and frequent occlusions in real-world environments. Patch2CAD introduces a novel approach by learning a shared embedding space for local patches rather than global object views. By focusing on part-level geometric similarities, the system achieves robust retrieval and state-of-the-art performance on challenging "in-the-wild" datasets.
Introduction
In real-world scenarios, such as those found in the ScanNet dataset, 3D shape retrieval faces two primary hurdles. First, the "Exact Match Gap" occurs because real-world objects rarely have a 1:1 twin in existing CAD databases like ShapeNet. Second, heavy occlusions in cluttered rooms often corrupt global descriptors, leading to retrieval failure.
Patch2CAD addresses these issues by shifting the focus from "What is this whole object?" to "What do these parts look like?". While a whole chair might be unique, its components—legs, seats, and backrests—share common geometric structures across many models. This patch-based approach enables compositional generalization and inherent robustness to partial visibility.
Methodology
The Patch2CAD pipeline consists of four main stages:
- 2D Detection: The system uses a standard backbone (RetinaNet + ShapeMask) to detect objects and generate instance masks.
- Patch-Based Joint Embedding: This is the core innovation. Two symmetric encoders—one for RGB image patches and one for rendered CAD patches—map inputs into a shared space. To ensure the space captures shape rather than texture or orientation, the model utilizes self-similarity histograms of surface normals. Training is conducted via noise contrastive estimation loss.
- Retrieval via Majority Voting: At inference, the system samples multiple patches from a detected object. Each patch "votes" for its nearest neighbors in the CAD database, and the final 3D model is selected based on the highest vote count.
- Pose Prediction: A separate head predicts the 3D rotation and translation to align the retrieved CAD model with the image.
Key Results and Insights
Patch2CAD significantly outperforms previous global embedding methods. On the ScanNet dataset, it improved the Mesh AP from 8.4 to 10.3, representing a 22% relative improvement over the previous state-of-the-art, Mask2CAD.
Qualitative analysis shows that the patch-based approach is particularly effective at "Top-K" retrieval, maintaining structural consistency even when an exact match is unavailable. Furthermore, the system is efficient, with an inference time of approximately 74ms per image.
Conclusion and Future Work
By decomposing retrieval into local patch correspondences, Patch2CAD provides a robust solution for 3D scene understanding in unconstrained environments. The method's ability to leverage part-level similarities makes it highly resilient to occlusions. Future research may extend this framework toward part-based shape synthesis, where retrieved models could be deformed part-by-part to perfectly match observed image data.
Summary updated