Grassmann Manifold Flows for Stable Shape Generation

Ryoma Yataka, Masashi Shiraishi, Shiraishi, Masashi · DOI

Abstract

Recently, studies on machine learning have focused on methods that use symmetry implicit in a specific manifold as an inductive bias. Grassmann manifolds provide the ability to handle fundamental shapes represented as shape spaces, enabling stable shape analysis. In this paper, we present a novel approach in which we establish the theoretical foundations for learning distributions on the Grassmann manifold via continuous normalization flows, with the explicit goal of generating stable shapes. Our approach facilitates more robust generation by effectively eliminating the influence of extraneous transformations, such as rotations and inversions, through learning and generating within a Grassmann manifold designed to accommodate the essential shape information of the object. The experimental results indicated that the proposed method could generate high-quality samples by capturing the data structure. Furthermore, the proposed method significantly outperformed state-of-the-art methods in terms of the log-likelihood or evidence lower bound. The results obtained are expected to stimulate further research in this field, leading to advances for stable shape generation and analysis.

Introduction

In fields ranging from drug discovery to computer vision, the analysis and generation of "shapes"—defined as sets of points in space—is a fundamental task. A persistent challenge in these domains is the inherent variability of shape representation: the same physical object can appear vastly different depending on its rotation, translation, or reflection in Euclidean space. Traditional machine learning models often require extensive data augmentation to learn these symmetries, which is both computationally expensive and data-inefficient.

This paper introduces GrCNF (Grassmann Continuous Normalizing Flow), a framework designed to build generative models directly on Grassmann manifolds. By treating shapes as elements of a "shape space," GrCNF achieves inherent invariance to rotations and reflections. This geometric inductive bias allows the model to outperform existing state-of-the-art equivariant models in complex tasks such as molecular generation and particle system modeling.

Methodology: Flows on the Grassmannian

The core innovation of GrCNF lies in its treatment of the Grassmann manifold $Gr(k, D)$, which represents the space of all $k$-dimensional subspaces in a $D$-dimensional space. This manifold is ideal for shape representation because it naturally ignores extraneous transformations. However, its "quotient" nature—being the result of the Stiefel manifold $St(k, D)$ divided by the orthogonal group $O(k)$—makes direct calculus difficult.

Geometric relationship between the Stiefel manifold and the Grassmann manifold, illustrating the projection $\pi$ and the horizontal lift mechanism.

To overcome this, the authors utilize a "horizontal lift" approach. Calculations are performed in the horizontal space of the Stiefel manifold. The authors prove that a vector field on this lifted space, provided it satisfies specific invariance conditions, corresponds exactly to a flow on the Grassmann manifold. The GrCNF architecture comprises:

  1. A Matrix-Variate Prior: A new Gaussian-based prior distribution defined on the manifold that supports efficient sampling.
  2. Invariant Vector Fields: A neural network defines a time-dependent vector field that respects the manifold's geometry.
  3. Intrinsic ODE Integration: To ensure generated samples remain on the manifold, the model employs an ODE solver with orthogonal integration.

By design, the model is mathematically incapable of being influenced by rotations or inversions of the input data, providing "zero-shot" invariance.

Experimental Evaluation

The authors evaluated GrCNF across three distinct data regimes to test its versatility and robustness:

  • Artificial Textures: Complex 2D distributions (e.g., spirals, sines, and "target" shapes) mapped onto a sphere to visualize the flow's ability to capture non-linear manifold structures.
  • Synthetic Particle Systems (DW4 and LJ13): Standard benchmarks for equivariant models representing small clusters of particles governed by physical energy functions.
  • Molecular Data (QM9): A subset of the QM9 dataset focusing on the 3D coordinates of 19-atom molecules.

Key Results and Insights

GrCNF demonstrated superior performance across all benchmarks, particularly in capturing high-fidelity distributions and achieving better log-likelihoods than previous state-of-the-art methods like E(n) Equivariant Normalizing Flows (E-NF).

Visual results of GrCNF on artificial textures, showing the model's ability to generate samples and density maps that match complex target distributions.

Performance Highlights

  • Log-Likelihood: On the LJ13 dataset, GrCNF achieved a Negative Log-Likelihood (NLL) of -58.71, a significant improvement over E-NF's -32.83.
  • Molecular Generation: For the QM9 dataset, GrCNF reached an Evidence Lower Bound (ELBO) of -85.3, compared to -70.2 for E-NF.
  • Visual Fidelity: As shown in the artificial texture experiments, the model successfully captures highly non-linear, "thin" distributions (like the 2-spiral pattern) that typically challenge standard generative models.

Theoretical Advantages

A key insight from the experiments is the power of symmetry as an inductive bias. Because the Grassmannian framework makes rotation/inversion invariance a fundamental property of the coordinate system, the model is significantly more data-efficient. For instance, a model trained only on one orientation of a shape can perfectly generate its mirrored version without additional training.

Conclusion and Future Work

GrCNF establishes a rigorous mathematical bridge between abstract manifold theory and practical deep learning for shape generation. While highly effective, the authors note that the current reliance on Kronecker products during ODE integration introduces computational complexity that may hinder scaling to very large point clouds. Additionally, since Grassmann manifolds represent subspaces rather than absolute scale, future work will explore more integrated ways to handle object size alongside shape information. Nevertheless, the results mark a significant advancement in stable, symmetry-aware shape analysis and generation.

Summary updated

BibTeX
@inproceedings{yataka2023grassmann,
  author = {Ryoma Yataka and Masashi Shiraishi and Shiraishi, Masashi},
  title = {{Grassmann Manifold Flows for Stable Shape Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=H2udtfMbl4},
}
Figure