Symmetry Fingerprinting with Geometric Learnable Invariants Transformers

Bart M. N. Smets, Gijs Bellaard, Pieter WilsarXiv 2026

TL;DR

The Geometric Learnable Invariants Transformer (GLInT) is a novel architecture that moves beyond "hard-coded" symmetries in neural networks. By using a "soft equivariance" approach, the model learns which geometric transformations (like rotation or scaling) are actually relevant to a dataset during training, providing a "symmetry fingerprint" that reveals the underlying geometric structure of the data.

What Problem Does This Paper Address?

In Geometric Deep Learning, researchers often face a dilemma: Hard Equivariance vs. Data Augmentation.

If you know your data is rotation-invariant, you can build a "hard equivariant" model that is mathematically guaranteed to treat a rotated image the same as the original. However, if your assumption is slightly off (e.g., a "6" becomes a "9" when rotated), the model’s performance suffers. The alternative is using a standard model with heavy data augmentation, which is computationally expensive and doesn't actually "understand" the geometry—it just sees more examples.

The authors address this "all-or-nothing" approach by proposing a middle ground. They want a model that can be told which symmetries might exist, and then decide for itself which ones are actually useful for the task at hand.

Methods

The authors introduce two major innovations to the standard Transformer architecture:

  1. Geometric Tokens: Standard Transformers mix "what" (semantic features) and "where" (positional encodings) into a single vector. GLInT keeps them separate. It uses 2D Gaussian Splatting to represent an image as a set of "geometric tokens," where each token explicitly contains a group element (representing position, orientation, and shape) and a semantic vector.
  2. Geometric Attention & Soft Equivariance: The attention mechanism is redesigned to operate on these geometric relations. To make the model "softly" equivariant, the authors feed it a set of geometric invariants (mathematical properties that don't change under certain transformations).
  3. The Fingerprinting Trick: Inspired by Variational Autoencoders (VAEs), they add learned noise to these invariants. During training, a "noise loss" tries to push this noise to a maximum level, effectively "drowning out" the invariant. If the model finds a specific symmetry crucial for accuracy, it will fight the noise loss to keep that signal clear.

After training, you can simply read the noise levels to see which symmetries the model kept—this is the Symmetry Fingerprint.

Datasets

The researchers evaluated GLInT using the MNIST handwritten digit database. To test the fingerprinting capability, they created 12 variants of "Splatted MNIST," where the geometric tokens were randomly transformed according to different subgroups of the Affine group (e.g., versions of MNIST that were only rotated, only scaled, or only translated).

Key Insights and Ideas

  • Symmetry as Feature Selection: Instead of treating symmetry as a fixed constraint, this paper treats it as a learnable feature. The model performs a form of automated discovery of the data's laws of physics.
  • The "What" vs. "Where" Separation: By maintaining a clean mathematical separation between semantic content and geometric context, the model can reason about spatial relationships more explicitly than a standard Vision Transformer (ViT).
  • Predictive Power: The authors found that the fingerprint of a model trained on non-augmented data could actually predict how the model would perform if augmentation were added later. For instance, if the fingerprint showed that "scale" was irrelevant, then adding scale augmentation wouldn't improve the model.

Key Results

  • Competitive Performance: On a small scale, GLInT achieved test error rates (approx. 1.1% to 1.3%) comparable to a similarly sized standard Vision Transformer (ViT), proving that the added geometric machinery doesn't hurt basic classification power.
  • Accurate Fingerprinting: The model successfully identified the specific symmetries used in the augmented datasets. When trained on rotated MNIST, the noise level for the rotation-invariant signal remained low, while others were "drowned out."
  • Unique Identifiers: The paper demonstrates that every symmetry group has a unique fingerprint, allowing researchers to accurately infer which transformation group was present in the training data just by looking at the model's internal noise parameters.

Limitations and Future Work

  • Scalability: The experiments were limited to MNIST. Testing GLInT on large-scale datasets like ImageNet or complex 3D data remains an open challenge.
  • Preprocessing Overhead: Converting images into Gaussian splats is a necessary preprocessing step that adds complexity compared to simple pixel-based models.
  • Static Geometry: Currently, the model only updates the semantic part of the tokens during the attention layers. The authors suggest that future versions could allow the geometric components to be updated as well, potentially allowing the model to "move" or "warp" its internal representations of the data.

Summary updated

BibTeX
@misc{smets2026symmetry,
  author = {Bart M. N. Smets and Gijs Bellaard and Pieter Wils},
  title = {{Symmetry Fingerprinting with Geometric Learnable Invariants Transformers}},
  year = {2026},
  eprint = {2611.20150},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20150},
}
Figure