Abstract
Any solid object can be decomposed into a collection of convex polytopes (convexes). When a small number of convexes are used, such a decomposition provides a piece-wise approximation of the geometry, fundamental in computer graphics for tasks like real-time physics simulation. A convex object is simultaneously an explicit and implicit representation: it can be interpreted as a mesh derived from convex hull vertices or as a collection of half-space constraints. This implicit nature makes them well-suited for neural network training, as they abstract away from topology. We introduce CvxNet, a network architecture that represents a low-dimensional family of convexes derived via an auto-encoding process. We investigate applications including automatic convex decomposition, image-to-3D reconstruction, and part-based shape retrieval.
Introduction
In 3D computer vision, a persistent challenge exists in balancing representation quality with downstream utility. Current state-of-the-art "implicit" representations, such as Occupancy Networks or Signed Distance Functions (SDFs), are highly effective for deep learning because they handle complex topologies seamlessly. However, they often produce "black box" outputs that require computationally expensive post-processing, like the Marching Cubes algorithm, to generate usable 3D meshes.
Conversely, "primitive-based" methods utilize simple shapes like boxes or spheres. While these are ideal for physics engines and robotics due to efficient collision detection, they often lack the expressive power to represent complex, realistic objects accurately. CvxNet bridges this gap by proposing a learnable convex decomposition. By representing objects as a collection of convex hulls—the standard for physics engines—CvxNet remains fully differentiable while producing high-quality, structured geometry.
Methodology
The core innovation of CvxNet is the definition of a "soft" convex shape that a neural network can optimize directly. The architecture consists of an encoder (e.g., ResNet) that maps an input image or depth map to a latent code, and a decoder that translates this code into parameters for $H$ hyperplanes (normals and offsets) for each of $K$ convex primitives.
Differentiable Convex Indicator
A convex shape is defined by a set of half-planes. To make this differentiable, the authors utilize a LogSumExp function to aggregate these planes into a smooth, approximate Signed Distance Function (SDF). This result is then passed through a sigmoid function to create an occupancy function, where 0 represents the exterior and 1 represents the interior of the shape.
Multi-Convex Composition and Mesh Generation
To represent complex objects, the network predicts multiple convex shapes. The final object is the union of these shapes, calculated by taking the maximum of their individual occupancy functions.
One of the primary advantages of CvxNet is explicit mesh generation. Because the output is a set of hyperplanes, a duality transform can convert these planes into vertices and faces directly. This bypasses the "curse of dimensionality" inherent in voxel-based iso-surfacing, allowing for mesh generation at a cost independent of spatial resolution.
To ensure clean decompositions, the training process incorporates auxiliary losses:
- Decomposition Loss: Discourages excessive overlap between primitives.
- Guidance/Localization Losses: Ensures each primitive stays close to a part of the target object, preventing "dead" primitives.
Results and Insights
The researchers evaluated CvxNet using the ShapeNet and PartNet datasets. Key findings include:
- Performance: CvxNet significantly outperforms previous primitive-based methods like Volumetric Primitives (VP) and Superquadrics (SQ). In Depth-to-3D tasks, it achieved a mean F-score of 73.49, surpassing the state-of-the-art Occupancy Networks (69.08).
- Emergent Correspondence: Without explicit human supervision, the decoder naturally learns to assign specific primitives to semantic parts (e.g., consistently using the same primitive for a chair's seat).
- Physics Integration: The output convexes are immediately compatible with physics engines like Bullet, enabling direct rigid-body simulation from reconstructed geometry.
Conclusion
CvxNet demonstrates that convex polytopes can serve as a powerful bridge between neural 3D reconstruction and practical applications. While the current model requires a pre-defined number of primitives and can struggle with extremely sharp transitions, it offers a more interpretable and efficient alternative to standard implicit methods. Future work will explore predicting a variable number of parts and incorporating hierarchical structures to better model complex symmetries.
Summary updated