CvxNets: Learnable Convex Decomposition

Boyang Deng, Kyle Genova, Soroosh Yazdani, Sofien Bouaziz, Geoffrey E. Hinton, Andrea Tagliasacchi

TL;DR

This paper introduces CvxNet, a novel neural network architecture that learns to decompose 3D objects into a small set of convex shapes. This representation is powerful because it's implicitly defined, making it easy for neural networks to learn, yet can be explicitly converted into polygonal meshes for downstream applications like physics simulation.

What Problem Does This Paper Address?

Representing 3D geometry for machine learning is challenging due to the "curse of dimensionality." While voxel grids are intuitive, they become memory-intensive at higher resolutions. Surface-based representations (points, polygons) can be complex to work with, and part-based representations (like geons) often rely on predefined primitives. The authors aim to bridge this gap by learning a parsimonious, yet flexible, representation of 3D shapes as a collection of convex polytopes (convexes). This approach offers the benefits of part-based representations (semantic understanding, local support) while leveraging the inherent properties of convexes (explicit/implicit representation, efficient collision detection).

Methods

The core of CvxNet is a learnable auto-encoder architecture.

  • Differentiable Convex Indicator: They first define a differentiable way to represent a single convex object. This is done by defining a convex as the union of half-spaces, parameterized by hyperplane normals and offsets. A smooth maximum (LogSumExp) and sigmoid function are used to create a differentiable indicator function for the convex.
  • Convex Auto-Encoder: An encoder maps an input (e.g., an image) to a low-dimensional latent vector. A decoder then takes this latent vector and outputs the parameters for a collection of K convex shapes. This auto-encoder is trained to reconstruct the input geometry.
  • Multi-Convex Decomposition: For non-convex objects, the network is extended to output a collection of K convex shapes, each with its own shape parameters and a transformation (translation) to position it in space. The union of these convexes approximates the target object.
  • Training Losses: Several auxiliary losses are introduced to encourage desirable properties:
  • Approximation Loss: Ensures the union of predicted convexes matches the ground truth object's indicator function.
  • Decomposition Loss: Discourages overlap between the predicted convexes, promoting a parsimonious decomposition.
  • Unique Parameterization Loss: Regularizes the hyperplane parameters to ensure a unique and centered representation for each convex.
  • Guidance Loss: Ensures each convex is responsible for representing nearby interior points, preventing them from becoming inactive.
  • Localization Loss: Helps the network learn the translation of convexes, especially when the guidance loss might suffer from vanishing gradients.

Datasets

The paper uses the ShapeNet dataset for training and evaluation. They specifically mention using the same voxelization, renderings, and data splits as Choy et al. [16] for their experiments. For the {Depth}-to-3D task, they use multi-view depth renderings similar to [21]. They also leverage labels from PartNet for evaluating semantic decomposition.

Key Insights and Ideas

  • Convexes as a Universal Primitive: The paper demonstrates that convexes, a fundamental geometric primitive, can serve as a powerful and flexible building block for representing complex 3D shapes within a neural network framework.
  • Implicit to Explicit Conversion: A key advantage is the ability to seamlessly transition from an implicit, neural-network-friendly representation (hyperplane parameters) to an explicit, usable representation (polygonal meshes) without computationally expensive operations like Marching Cubes.
  • Learned Semantic Correspondence: The learned convex primitives exhibit a natural correspondence to semantic parts of objects (e.g., the "k-th convex" consistently represents a chair leg across different chair instances), enabling part-based reasoning and retrieval.
  • Parsimony and Accuracy Trade-off: The work highlights how varying the number of primitives (convexes) allows for a trade-off between representation simplicity and reconstruction accuracy, visualized through Pareto-optimal curves.

Key Results

  • Reconstruction Performance: CvxNet achieves competitive or superior reconstruction performance compared to state-of-the-art methods like SIF, VP, and SQ, particularly on multi-view depth input where it outperforms OccNet in F-score.
  • Semantic Decomposition: The learned convex primitives achieve high classification accuracy when used to segment parts of objects from the PartNet dataset, demonstrating their semantic meaningfulness.
  • Efficiency: The conversion from hyperplanes to polygonal meshes is efficient and does not suffer from the curse of dimensionality, unlike traditional iso-surfacing techniques.
  • Interpolation: The learned latent space allows for smooth interpolation between shapes, demonstrating the generalization capabilities of the representation.

Limitations and Future Work

  • Fixed Number of Primitives: The current architecture predicts a fixed number of convexes. Future work could explore predicting a variable number of parts.
  • Modeling Rotations: The current model primarily handles translation. Future work could incorporate modeling of rotations.
  • Symmetries and Hierarchies: The authors suggest extending the model to understand symmetries and build hierarchical representations.
  • Auto-Decoder Architectures: Exploring auto-decoder architectures instead of explicit encoders is another avenue for future research.
  • Permutation-Invariant Encoders: Investigating permutation-invariant encoders could further improve the robustness of the learned representation.

Summary updated

BibTeX
@inproceedings{deng2020cvxnets,
  author = {Boyang Deng and Kyle Genova and Soroosh Yazdani and Sofien Bouaziz and Geoffrey E. Hinton and Andrea Tagliasacchi},
  title = {{CvxNets: Learnable Convex Decomposition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=nkvBsbgwIBr},
}
Figure