Abstract
MongeNet is a fast, neural-network-based sampler designed to convert 3D meshes into point clouds with minimal approximation error. By framing mesh sampling as an optimal transport problem, it achieves nearly half the error of standard random uniform sampling while remaining efficient enough for real-time use in deep learning training loops.
Introduction
In geometric deep learning, researchers often need to calculate the distance between a predicted mesh and a ground-truth mesh (e.g., for a loss function). Because calculating distances directly between continuous surfaces is computationally hard, the standard practice is to sample a point cloud from the mesh and use point-based metrics like Chamfer Distance or Earth Mover’s Distance.
The "gold standard" for this is Random Uniform Sampling (RUS). However, RUS is prone to "clamping"—where points cluster together randomly, leaving large gaps elsewhere. This creates a noisy, inaccurate representation of the underlying surface, which in turn leads to unstable gradients and poorer model performance. While better sampling methods exist in the computer graphics world (like Centroidal Voronoi Tessellation), they are far too slow ($O(n^2 \log n)$) to be used during the iterative training of a neural network.
Methods
The authors propose MongeNet, a lightweight feed-forward neural network that learns to predict the optimal positions of points on a triangle.
- Optimal Transport Formulation: The authors treat sampling as a semi-discrete optimal transport problem. The goal is to minimize the 2-Wasserstein distance between the continuous area of a triangle and a set of discrete Dirac masses (the sampled points).
- Canonical Mapping: To make the problem tractable for a small network, they map any arbitrary triangle to a canonical unit square using isometries and scaling. This ensures the network only needs to learn the optimal distribution for a standardized geometry.
- The Architecture: MongeNet is a simple MLP that takes a triangle representation and a noise vector as input and outputs up to 30 points. It is trained using a regularized Sinkhorn loss to encourage the points to spread out optimally.
- Refinement Strategy: For faces requiring more than 30 points, the authors implement a local refinement technique that recursively splits the largest edges of the triangle until the point density requirements are met.
Key Results and Evaluation
The authors evaluated MongeNet using the ShapeNet dataset of CAD models and the Thingi10k dataset of complex 3D-printing models. Key findings include:
- Lower Error: On the ShapeNet dataset, MongeNet achieved an approximation error 1.89x lower than standard random uniform sampling. It also outperformed specialized samplers like Blue-Noise Low Discrepancy (BNLD) and Progressive Multi-Jittered (PMJ) sequences.
- Improved Reconstruction: When integrated into the Point2Mesh framework, MongeNet improved the Chamfer distance of reconstructed meshes by a factor of 1.77x and the Earth Mover’s Distance by 1.94x.
- High Speed: MongeNet is highly efficient. On an Nvidia RTX 3090, it can sample 20k points from an 80k-face mesh in just 21.7 ms. While slightly slower than the raw speed of RUS (1.53 ms), it is well within the budget for online training.
Key Insights
- Sampling as a Learned Prior: Instead of solving a complex optimization problem every time, you can "bake" the solution into a small neural network. MongeNet acts as a fast approximation of an expensive geometric optimization.
- Reducing Discretization Error: The paper highlights that the "bottleneck" in many 3D tasks isn't just the model architecture, but the error introduced by converting meshes to points. By reducing this discretization error by ~50%, downstream tasks improve significantly without changing the core model.
- Optimization Stability: Because MongeNet produces more regular Voronoi tessellations, it reduces the variance in distance estimation. This leads to smoother loss curves and faster convergence during training.
Limitations and Future Work
The current MLP architecture is optimized for up to 30 points per face. While the recursive splitting method handles higher densities, a more flexible architecture (like a Transformer or a recursive net) might handle varying densities more elegantly. Additionally, the method assumes triangular meshes; extending the logic to other primitives (like quads or higher-order surfaces) would require new canonical mappings.
Summary updated