Low Dimensional Invariant Embeddings for Universal Geometric Learning

Nadav Dym, Steven J. Gortler · DOI · OpenReview

Abstract

This paper studies separating invariants: mappings on $D$ dimensional domains which are invariant to an appropriate group action, and which separate orbits. The motivation for this study comes from the usefulness of separating invariants in proving universality of equivariant neural network architectures. We observe that in several cases the cardinality of separating invariants proposed in the machine learning literature is much larger than the dimension $D$. As a result, the theoretical universal constructions based on these separating invariants is unrealistically large. Our goal in this paper is to resolve this issue. We show that when a continuous family of semi-algebraic separating invariants is available, separation can be obtained by randomly selecting 2D+1 of these invariants. We apply this methodology to obtain an efficient scheme for computing separating invariants for several classical group actions which have been studied in the invariant learning literature. Examples include matrix multiplication actions on point clouds by permutations, rotations, and various other linear groups. Often the requirement of invariant separation is relaxed and only generic separation is required. In this case, we show that only D+1 invariants are required. More importantly, generic invariants are often significantly easier to compute, as we illustrate by discussing generic and full separation for weighted graphs. Finally we outline an approach for proving that separating invariants can be constructed also when the random parameters have finite precision.

Introduction

In geometric deep learning, neural networks must respect symmetries such as rotations or permutations. For a network to be "universal"—meaning it can theoretically learn any symmetric function—it must utilize separating invariants. These are features that remain constant under symmetry transformations but differ for inputs that are not symmetrically equivalent.

A significant challenge in current literature is that classical invariant theory often yields an "unrealistically large" number of features. For instance, a point cloud with 1,024 points in 3D might require over 180 million features according to standard methods, rendering theoretical universality impractical. This research bridges the gap between theory and practice by determining the minimum number of invariants necessary for effective separation.

Methodology: Leveraging Real Algebraic Geometry

The authors demonstrate that "randomness is your friend" by using tools from real algebraic geometry. The core approach involves:

  1. Continuous Families: Defining invariants parameterized by a weight vector (e.g., $p(x, w)$).
  2. Orbit Separation (Theorem 1.7): Proving that if a family can separate orbits, randomly selecting $2D + 1$ invariants (where $D$ is the intrinsic dimension of the data manifold) will achieve separation for almost any parameter choice.
  3. Generic Separation: Reducing the requirement to $D + 1$ invariants if only "most" inputs need to be separated.

These methods are applied to several common group actions, including permutations ($S_n$), rotations ($O(d), SO(d)$), and linear groups ($SL(d), GL(d)$).

Experimental Validation

To validate these theoretical findings, a toy experiment was conducted using synthetic high-dimensional point clouds ($\mathbb{R}^{3 \times 1024}$) residing on low-dimensional manifolds (intrinsic dimension $D = 1$).

Visualization of a synthetic 3D point cloud manifold used to test invariant embeddings.

A simple Multi-Layer Perceptron (MLP) was tasked with binary classification of these point clouds after they were processed through a low-dimensional invariant embedding.

Key Results and Discussion

The results show a drastic reduction in dimensionality. For permutations on $d \times n$ matrices, the required invariants dropped from $\binom{n+d}{n}$ to just $2nd + 1$.

Classification accuracy on train and test sets for varying numbers of invariants (m) and intrinsic dimensions (D).

In the $D=1$ experiment, the model achieved 98% accuracy using only 3 invariants ($2D+1$), despite the 3,072-dimensional ambient input space. This confirms that the number of required invariants depends on the intrinsic dimension rather than the ambient dimension.

Insights on Efficiency

  • Sorting: The sort function is highlighted as an efficient $O(n \log n)$ building block for permutation invariants, being much faster than traditional polynomial invariants.
  • Generic Separation: For complex problems like Graph Isomorphism, generic separation offers a computationally efficient shortcut, requiring fewer features to distinguish almost all graphs.

Limitations and Future Work

While the embeddings are proven to be injective, their stability (Bi-Lipschitz property) requires further exploration to ensure that nearly symmetric inputs result in close embeddings. Additionally, while the proofs hold for real numbers, the implications for finite precision computer arithmetic are a subject for future study. Integrating these fixed invariant layers into trainable architectures for real-world tasks like molecular modeling remains a key next step.

Summary updated

Abstract

This paper studies separating invariants: mappings on $D$ dimensional domains which are invariant to an appropriate group action, and which separate orbits. The motivation for this study comes from the usefulness of separating invariants in proving universality of equivariant neural network architectures. We observe that in several cases the cardinality of separating invariants proposed in the machine learning literature is much larger than the dimension $D$. As a result, the theoretical universal constructions based on these separating invariants is unrealistically large. Our goal in this paper is to resolve this issue. We show that when a continuous family of semi-algebraic separating invariants is available, separation can be obtained by randomly selecting 2D+1 of these invariants. We apply this methodology to obtain an efficient scheme for computing separating invariants for several classical group actions which have been studied in the invariant learning literature. Examples include matrix multiplication actions on point clouds by permutations, rotations, and various other linear groups. Often the requirement of invariant separation is relaxed and only generic separation is required. In this case, we show that only D+1 invariants are required. More importantly, generic invariants are often significantly easier to compute, as we illustrate by discussing generic and full separation for weighted graphs. Finally we outline an approach for proving that separating invariants can be constructed also when the random parameters have finite precision.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
binary classification task on point cloudsInvariant embedding (Eq. (balan)) with randomly chosen weights + MLPaccuracy98 %Image Classification · split: test
Source quote
L764: In Figure~\ref{fig:sort}(c) we show the results obtained for the binary classification task by first computing the invariant embedding in \eqref{eq:balan} with randomly chosen weights, and then applying an MLP (Multi-Layer-Perceptron) to the resulting embedding. The results on train and test data are shown for various choices of intrinsic dimension D=D_{\mathcal{M}} and embedding dimension m. In particular, for the D=1,m=3 case visualized in Figure~\ref{fig:sort}(a)-(b) we get 98 % accuracy on the test dataset.
BibTeX
@article{dym2022low,
  author = {Nadav Dym and Steven J. Gortler},
  title = {{Low Dimensional Invariant Embeddings for Universal Geometric Learning}},
  journal = {Found. Comput. Math.},
  year = {2022},
  doi = {10.1007/s10208-024-09641-2},
}
Figure