Learning Compositional Shape Priors for Few-Shot 3d Reconstruction

Mateusz Michalkiewicz, Stavros Tsogkas, Sarah Parisot, Mahsa Baktashmotlagh, A. I. Eriksson, Eugene Belilovsky

TL;DR

This paper tackles the challenge of reconstructing 3D shapes from single images, particularly in the "few-shot" setting where only a few examples of a new object category are available. They propose a novel "compositional shape prior" learning approach that allows models to generalize better to unseen object classes by understanding how object parts combine, leading to significant improvements in reconstruction accuracy.

What Problem Does This Paper Address?

Reconstructing a 3D object from a single 2D image is an inherently ill-posed problem because many 3D shapes can project to the same 2D image. While deep learning models have shown impressive performance, recent work has revealed that they often rely on shortcuts and don't truly "understand" 3D structure, especially when data is scarce. The "few-shot" learning scenario, where a model must learn to reconstruct objects from a new category with very few examples, is particularly challenging. Traditional methods struggle here because they either require extensive data or rely on overly specific, hand-crafted shape priors. This paper aims to bridge this gap by developing a method that can learn flexible, compositional shape priors from limited data, enabling better generalization to novel object classes.

Methods

The core of the proposed method lies in learning "compositional shape priors." Instead of relying on a single, averaged shape representation for a class (as in prior work), the authors introduce several strategies:

  • Global Class Embedding (GCE): This learns a class-specific embedding that conditions the reconstruction network. It's trained on base classes and then adapted for novel classes by optimizing this embedding using the few available examples.
  • Compositional Global Class Embeddings (CGCE): This extends GCE by decomposing the class embedding into a combination of "concepts" or "parts" learned from shared codebooks. This allows the model to learn inter-class relationships and leverage similarities across categories. An attention mechanism selects relevant "codes" from these codebooks to form the final shape prior.
  • Multi-scale Conditional Class Embeddings (MCCE): This approach uses conditional batch normalization (CBN) in the 3D decoder. By conditioning the normalization parameters at different layers (representing different scales), the model can capture finer-grained shape details.
  • Hybrid Model: This combines the CGCE approach in the 2D encoder with the MCCE approach in the 3D decoder, aiming to leverage the benefits of both compositional part understanding and multi-scale conditioning.

Datasets

  • ShapeNetCore: The primary dataset used for training and evaluating 3D reconstruction models.
  • ShapeNetMini: A newly introduced subset of ShapeNetCore, specifically constructed to facilitate faster prototyping, hyperparameter tuning, and training at higher resolutions. It achieves performance highly correlated with the full dataset while being significantly smaller.

Key Insights and Ideas

  • Few-shot is a crucial benchmark: The paper argues that the few-shot setting is a more rigorous testbed for evaluating true 3D shape understanding than standard benchmarks, as it forces models to generalize beyond simple recognition.
  • Compositionality is key for generalization: Learning to represent shapes as compositions of parts (concepts) is more effective for generalization than averaging entire shapes, especially for categories with high intra-class variability.
  • Intra-class variability is a major hurdle: Simple averaging of shapes for a class collapses important variations, hindering performance on novel classes. The proposed methods explicitly address this.
  • Dataset size matters, but smart design is crucial: ShapeNetMini demonstrates that a carefully curated subset can significantly speed up research without sacrificing representativeness.

Key Results

  • The proposed methods (GCE, CGCE, MCCE, Hybrid) significantly outperform previous few-shot 3D reconstruction approaches, achieving relative performance gains of over 40% compared to a zero-shot baseline and over 10% compared to the state-of-the-art.
  • The Hybrid model, combining CGCE in the encoder and MCCE in the decoder, consistently performed best across various settings.
  • The compositional approach (CGCE) showed increasing gains with more shots, indicating its effectiveness in capturing intra-class variability.
  • Qualitative results show that removing specific learned "codes" in the compositional prior can selectively delete object parts (e.g., table legs, plane wings), demonstrating the model's ability to learn meaningful semantic attributes.

Limitations and Future Work

  • Resolution limitations: While SDFs show promise, their effectiveness is limited at lower resolutions, suggesting that higher resolutions are needed for them to fully leverage their inductive bias.
  • Future directions: The authors suggest exploring alternative shape representations (beyond voxels) and investigating how to further improve generalization, especially for higher-resolution shapes. They also hint at the potential for further improvements by combining different architectural components.

Summary updated

BibTeX
@misc{michalkiewicz2021learning,
  author = {Mateusz Michalkiewicz and Stavros Tsogkas and Sarah Parisot and Mahsa Baktashmotlagh and A. I. Eriksson and Eugene Belilovsky},
  title = {{Learning Compositional Shape Priors for Few-Shot 3d Reconstruction}},
  year = {2021},
  eprint = {2106.06440},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.06440},
}
Figure