Memory-Friendly Deep Mesh Registration

François Clerc, Hao SunComputer 2020

Abstract: Processing 3D meshes using convolutional neural networks requires convolutions to operate on features sampled on non-Euclidean manifolds. To this purpose, spatial-domain approaches applicable to meshes with different topologies locally map feature values in vertex neighborhoods to Euclidean 'patches' that provide consistent inputs to the convolution filters around all mesh vertices. This generalization of the convolution operator significantly increases the memory footprint of convolutional layers and sets a practical limit to network depths on the available GPU hardware. We propose a memory-optimized convolution scheme that mitigates the issue and allows more convolutional layers to be included in a network for a given memory budget. The experimental evaluation of mesh registration accuracy on datasets of human face and body scans shows that deeper networks bring substantial performance improvements and demonstrate the benefits of our scheme. Our results outperform the state of art.

Introduction: The Memory Wall in Mesh CNNs

3D mesh registration—the task of finding dense correspondences between vertices of different 3D shapes—is a fundamental problem in computer vision. While traditional methods like non-rigid Iterative Closest Point (ICP) are robust, they are often slow and require manual initialization. Deep learning offers a promising alternative, but applying standard Convolutional Neural Networks (CNNs) to meshes is non-trivial because meshes are non-Euclidean manifolds.

To apply convolutions, spatial-domain approaches typically use a patch operator. This operator maps a vertex's local neighborhood onto a flat, Euclidean grid (often using polar coordinates), allowing standard convolution filters to operate. However, this mapping process is extremely memory-intensive. Creating these local patches for every vertex generates massive intermediate data structures, creating a "memory wall" that has historically limited mesh CNNs to very shallow architectures, often restricted to just 3 layers.

Mapping a vertex neighborhood to a local polar system for convolution.

Memory-Optimized Convolutional Scheme

The core contribution of this work is a memory-optimized convolution scheme that allows for significantly deeper networks. The optimization focuses on three key technical areas:

  1. Bilinear Interpolation: Instead of a dense mapping where every neighbor contributes to every point in a convolution kernel, the authors restrict each neighbor's contribution to only the four closest points on the kernel grid. This reduces the coefficient storage from $NKM$ to $4NK$.
  2. Sparse Data Management: To handle varying neighborhood sizes without wasteful padding, the method utilizes 1D tensors and gather/scatter operations. This ensures that memory is only allocated for actual vertex pairs.
  3. Optimal Summation Order: By reordering the three-level summation required for mesh convolution (summing over neighbor indices first), the authors reduced intermediate memory usage from hundreds of gigabytes to a few hundred megabytes for high-resolution meshes.
The memory-friendly implementation using gather and scatter operations to manage sparse neighborhood data.

Experimental Results

The proposed method was evaluated on several benchmarks, including FAUST (human bodies) and Bosphorus (noisy face scans). A key finding was that increasing network depth directly correlates with improved registration accuracy. By breaking the 3-layer ceiling, the authors trained networks with over 30 layers, achieving state-of-the-art results.

On the FAUST dataset, the multi-resolution model achieved a near-perfect registration score of 0.99997 at zero geodesic error. Notably, the method maintained high performance even as mesh resolution increased (e.g., on the FAUST-15K dataset), whereas previous memory-constrained methods like MoNet and FeaStNet saw significant performance degradation due to their inability to scale.

Conclusion

This work demonstrates that the primary bottleneck in deep mesh registration was not the mathematical formulation of the convolution, but rather the memory overhead that prevented the use of deep architectures. By optimizing the patch operator and summation order, this "memory-friendly" approach enables the training of deep mesh CNNs that follow the performance trends of their Euclidean counterparts, setting a new standard for 3D shape matching.

Summary updated

BibTeX
@inproceedings{clerc2020memory,
  author = {François Clerc and Hao Sun},
  title = {{Memory-Friendly Deep Mesh Registration}},
  booktitle = {Computer},
  year = {2020},
  doi = {10.24132/csrn.2020.3001.1},
}
Figure