Abstract
Traditional 3D shape completion methods rely heavily on supervised learning with paired partial and complete data, often leading to poor generalization across different domains. We present ShapeInversion, the first framework to apply Generative Adversarial Network (GAN) inversion to 3D shape completion. By leveraging a GAN pre-trained on complete objects as a geometric prior, ShapeInversion reconstructs full 3D point clouds from partial scans in an unsupervised manner. Our approach introduces a novel PatchVariance loss for uniform point distribution and a k-Mask for robust reconstruction. Experimental results on ShapeNet, PartNet, and real-world datasets like KITTI and ScanNet demonstrate that ShapeInversion significantly outperforms existing unsupervised methods and shows superior robustness compared to supervised state-of-the-art models.
Introduction
Predicting the full geometry of an object from a partial point cloud—3D shape completion—is a fundamental task in computer vision, essential for robotics and autonomous navigation. Most existing solutions treat this as a supervised regression problem, requiring massive datasets of paired "partial" and "complete" shapes. However, these models frequently fail when encountering a "domain gap"—the difference between synthetic training data (e.g., shapes with random holes) and real-world sensor data (e.g., single-view LIDAR scans).
Furthermore, 3D point clouds are inherently unstructured. Unlike 2D images, points do not reside on a fixed grid, making it difficult to ensure uniform coverage and avoid artifacts like "clumping" or artificial holes in the reconstructed output.
Methodology
ShapeInversion addresses these challenges by ditching paired training data entirely, instead utilizing the latent space of a pre-trained generative model.
GAN Inversion as a Shape Prior
The core idea is that a GAN trained on complete 3D objects (using a Tree-GCN architecture) implicitly learns a "shape prior." To complete a partial input, the framework "inverts" the GAN: it searches for the latent code ($z$) and fine-tunes the generator weights ($\theta$) such that the generated output, when masked to match the input's visibility, minimizes the reconstruction error.
PatchVariance Loss
To ensure that the generated points are distributed evenly across the object's surface, the authors introduced the PatchVariance Loss. This loss function samples small local patches and penalizes high variance in the distances between neighboring points, preventing the generator from collapsing points into dense clusters.
k-Mask for Robust Alignment
In 3D space, identifying which part of a generated shape corresponds to the partial input is non-trivial. ShapeInversion employs a k-Mask, which dynamically identifies the $k$-nearest neighbors in the generated point cloud for every point in the partial input. This provides a flexible and robust mechanism for calculating the reconstruction loss without requiring perfect point-to-point alignment.
Experimental Evaluation
The framework was evaluated across a diverse set of benchmarks to test its versatility and robustness.
- Synthetic Data: ShapeNet and PartNet were used to simulate various types of incompleteness, including random "ball-holes" and semantic part-level missing data (e.g., a chair missing its back).
- Real-World Data: To assess generalization, the model was tested on noisy, sparse LIDAR data from KITTI (cars), ScanNet, and MatterPort3D (indoor furniture).
Key Insights
Robustness through Unsupervision
Because ShapeInversion does not learn a specific mapping from "hole" to "completion," it is not biased toward any particular type of missing data. This allows it to generalize far better than supervised models when moving from synthetic training environments to real-world scans.
Handling Ambiguity
A single partial scan can often be completed in multiple valid ways. As a generative approach, ShapeInversion can produce a variety of plausible outputs by initializing the optimization from different latent codes.
Results and Discussion
ShapeInversion achieved a Chamfer Distance (CD) of 14.9 on the ShapeNet benchmark, a significant improvement over the previous unsupervised state-of-the-art, pcl2pcl (CD 22.4). Remarkably, it performed competitively with fully supervised models like PCN and TopNet on in-domain data and frequently surpassed them on out-of-domain real-world datasets like KITTI and ScanNet, where supervised models often struggled with sensor noise.
Conclusion
ShapeInversion demonstrates that GAN inversion is a powerful tool for 3D shape completion. By treating the GAN as a learned geometric prior, the framework achieves high-fidelity reconstructions without the need for paired training data. While currently limited by category specificity and the computational cost of iterative optimization, future work on multi-class conditional GANs promises to make this approach even more versatile for real-time robotics applications.
Summary updated