NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Memory-Scalable and Simplified Functional Map Learning

Robin Magnet, Maks Ovsjanikov

Introduction

Non-rigid shape matching—the process of establishing correspondences between deformable objects like human bodies in different poses—is a fundamental challenge in computer vision and geometry processing. The Functional Map framework has emerged as a dominant paradigm for this task. Instead of mapping individual points directly, it represents correspondences as small matrices that operate on the spectral basis (Laplacian eigenfunctions) of the shapes. While this approach is elegant, recent deep learning extensions have hit a significant wall: memory scalability.

The Memory Bottleneck in Deep Functional Maps

State-of-the-art "Deep Functional Map" methods typically employ a two-branch architecture. One branch learns global geometric features, while the other enforces spatial "properness" by computing a soft pointwise map. This map is a dense $n \times n$ matrix, where $n$ is the number of vertices. For a standard high-resolution mesh with 50,000 vertices, this matrix contains 2.5 billion entries.

Storing and backpropagating through such a massive matrix requires enormous GPU memory, often exceeding the 24GB or even 80GB limits of modern hardware. Consequently, researchers have been forced to downsample meshes to low resolutions (e.g., 5,000 to 10,000 vertices), losing fine-grained geometric detail and limiting the practical utility of these models for high-fidelity scans.

Scalable Functional Map Learning

To overcome these limitations, the authors propose a pipeline that eliminates the need for explicit $O(n^2)$ storage while simplifying the overall architecture.

The proposed pipeline featuring a differentiable ZoomOut layer and consistency losses.

1. Symbolic Reductions via KeOps

The core insight is that the dense pointwise map $\Pi$ is often just an intermediate step used to compute a spectral functional map $C$. By observing that we only need the result of $\Pi$ multiplied by the spectral basis $\Phi$, the authors leverage the KeOps library to perform these operations "on-the-fly." This symbolic approach reduces memory complexity from quadratic $O(n^2)$ to linear $O(n)$, allowing the model to process meshes with over 100,000 vertices on standard consumer GPUs.

2. Differentiable ZoomOut

ZoomOut is a well-known refinement algorithm that iteratively improves map quality by alternating between spatial and spectral domains. Traditionally, it is used as a post-processing step. The authors transform ZoomOut into a fully differentiable layer within the neural network. This allows the feature extractor (e.g., DiffusionNet) to be trained with the refined map in the loop, ensuring that the learned descriptors are optimized specifically for the refinement process.

3. Simplified Single-Branch Architecture

Previous models relied on a complex and often numerically unstable linear system solver to compute the functional map. The authors demonstrate that by combining differentiable ZoomOut with a novel consistency loss, this "spectral branch" can be entirely removed. The resulting single-branch architecture is faster, more stable during training, and requires fewer feature dimensions (32 vs. 128+) to achieve superior results.

Experimental Evaluation

The proposed method was tested against several benchmarks, including FAUST, SCAPE, and SHREC19.

Memory and Speed

The most striking result is the scalability. As shown in Figure 4, while competing methods like AttentiveFMaps crash due to "Out of Memory" (OOM) errors as vertex counts increase, the proposed method maintains a low, linear memory footprint.

Memory usage comparison showing the linear scaling of the proposed method versus the quadratic scaling of existing baselines.

On a 100k vertex mesh, the differentiable ZoomOut implementation is approximately 300 times faster than standard CPU-based versions. This efficiency does not come at the cost of accuracy; the model achieves state-of-the-art or competitive performance across all tested datasets, particularly excelling in generalization to non-isometric shapes (DT4D-H) and different species (SMAL).

Qualitative Improvements

The introduction of the consistency loss leads to a noticeable improvement in feature quality. Features learned with this loss are smoother and more "natural," avoiding the noisy artifacts often seen in unsupervised functional map learning. This smoothness directly translates to more accurate and physically plausible correspondences.

Conclusion and Future Work

By rethinking the implementation of dense maps and integrating refinement directly into the training loop, this work removes a major barrier to high-resolution shape matching. The transition from $O(n^2)$ to $O(n)$ memory complexity enables the processing of dense meshes that were previously inaccessible to deep learning.

Future work may involve addressing the pre-computation bottleneck of the Laplacian spectrum for meshes with millions of points and extending the differentiable refinement framework to handle more extreme topological changes or partial shape matching scenarios.

Summary updated

BibTeX
@inproceedings{magnet2024memory,
  author = {Robin Magnet and Maks Ovsjanikov},
  title = {{Memory-Scalable and Simplified Functional Map Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure