Automated Symmetry Discovery and Generalized Equivariance

29 concepts24 papers1 proposal

Equivariance is one of the most powerful inductive biases in deep learning. If a neural network knows a priori that a pattern remains structurally identical under certain transformations—such as translations in images or rotations in 3D molecular structures—it does not need to waste parameters or training data learning these variations from scratch.

Historically, however, incorporating these geometric guarantees required a heavy engineering trade-off known as manual symmetry specification. To build an equivariant network, researchers had to manually derive the mathematical constraints for every single layer and every specific symmetry group.

A rapidly growing body of research is shifting away from this bespoke, hand-crafted paradigm. Instead, the field is moving toward generalized equivariant frameworks that can automatically handle arbitrary symmetry groups, and automated symmetry discovery algorithms that learn the underlying symmetries directly from data.


The Bottleneck of Manual Symmetry Engineering

To understand why this shift is necessary, we must look at how standard equivariant layers are constructed. A neural network layer $f$ is equivariant to a transformation group $G$ if transforming the input $x$ by a group element $g \in G$ yields a predictably transformed output:

$$f(g \cdot x) = g \cdot f(x)$$

For a standard linear layer $f(x) = Wx$, this requirement translates into a strict algebraic constraint on the weight matrix $W$:

$$W \rho_{\text{in}}(g) = \rho_{\text{out}}(g) W \quad \forall g \in G$$

where $\rho_{\text{in}}$ and $\rho_{\text{out}}$ are the representations of the group acting on the input and output spaces.

To satisfy this equation, the weight matrix cannot be arbitrary; its entries must follow a highly specific parameter-sharing pattern. As van der Pol et al. et al. demonstrate in MDP Homomorphic Networks: Group Symmetries in Reinforcement Learning and Shen et al. et al. show in 3D-Rotation-Equivariant Quaternion Neural Networks, finding this valid parameter-sharing pattern traditionally required complex, pen-and-paper analytical derivations for every new application.

If a researcher changes the problem domain—moving from 3D spatial rotations to relativistic boosts in high-energy physics, or to specific permutation subgroups in discrete puzzles—the entire architecture must be re-engineered from scratch. This manual bottleneck limits the applicability of equivariance in two major ways:

  1. Domain Expertise Barriers: It requires deep group-theoretic expertise to derive layers for non-standard groups.
  2. Unknown Symmetries: In many real-world datasets, the governing physical laws or structural symmetries are complex, hidden, or entirely unknown beforehand, making manual specification impossible, as noted by Feige in Invariant-Equivariant Representation Learning for Multi-Class Data and Sanborn et al. et al. in Bispectral Neural Networks.

Generalized Frameworks for Arbitrary Matrix Groups

Rather than solving the equivariance constraint equation by hand for each group, a more scalable approach is to build generalized algorithms that solve the constraint equations automatically given any arbitrary group description.

The core intuition behind this approach relies on Lie algebra generators. Continuous symmetry groups (Lie groups), such as the group of 3D rotations $SO(3)$, are infinite sets. However, they can be completely characterized by a finite set of infinitesimal generators that form their Lie algebra.

Finzi et al. et al. bypassed manual derivations in A Practical Method for Constructing Equivariant Multilayer Perceptrons for Arbitrary Matrix Groups by showing that the infinite group-level constraints can be reduced to a small, finite system of linear equations based purely on these generators. By feeding these generators into an automated numerical null-space solver, their framework automatically computes the valid parameter-sharing basis for the weight matrix $W$ of an Equivariant Multilayer Perceptron (EMLP) for any matrix group.

Manual Paradigm:
[Symmetry Group] ──> [Manual Pen-and-Paper Math] ──> [Bespoke Layer Architecture]

Generalized Paradigm:
[Symmetry Generators] ──> [Automated Numerical Solver] ──> [Valid Parameter-Sharing Basis]

Similarly, Lang et al. et al. in A Wigner-Eckart Theorem for Group Equivariant Convolution Kernels and Cesa et al. et al. in A Program to Build E(N)-Equivariant Steerable CNNs generalized the Wigner-Eckart theorem from quantum mechanics to provide a unified mathematical recipe. This allows software libraries to automatically parameterize steerable convolution kernels for any compact symmetry group.

To overcome the computational cost of general-purpose numerical solvers, Basu et al. et al. introduced G-RepsNet: A Lightweight Construction of Equivariant Networks for Arbitrary Matrix Groups, providing a highly scalable, lightweight construction method. This line of work culminates in universal architectures like the one proposed by Batatia et al. et al. in A General Framework for Equivariant Neural Networks on Reductive Lie Groups, which unifies equivariant designs across diverse physical constraints, ranging from relativistic boosts to unitary transformations.


Discovering Symmetries Directly from Data

While generalized frameworks automate architecture generation, they still require the user to know and specify the symmetry group beforehand. When dealing with complex dynamical systems, unknown physical environments, or custom material topologies, forcing a specific symmetry can be overly restrictive or incorrect (Akhound-Sadegh et al., 2023; Rosenkranz et al., 2025). This has driven the development of methods that discover symmetries directly from data.

The intuition here is to treat the parameter-sharing scheme or the Lie algebra generators themselves as learnable parameters. Instead of fixing the weight space constraint, the model optimizes over the space of possible constraints.

Continuous Symmetry Discovery

Dehmamy et al. et al. implemented this in Automatic Symmetry Discovery with Lie Algebra Convolutional Network by parameterizing convolutional layers using a learnable linear combination of Lie algebra basis elements. During training, the network uses gradient descent to find which combination of generators minimizes prediction error, effectively discovering the continuous symmetry group of the dataset.

Expanding on this, Yang et al. et al. developed Generative Adversarial Symmetry Discovery (LieGAN), which uses an adversarial framework to discover an interpretable Lie algebra basis without prior knowledge. When symmetries are non-linear in the raw data space, the authors of Latent Space Symmetry Discovery showed that mapping data into a latent space allows complex, non-linear transformations to be linearized and discovered automatically.

Discrete and Permutation Discovery

Symmetry discovery applies to discrete structures as well. Yeh et al. et al. framed equivariance as a learned parameter-sharing problem in Equivariance Discovery by Learned Parameter-Sharing, utilizing bi-level optimization to let networks automatically "re-invent" properties like shift and permutation invariance. For combinatorial structures, Karjol et al. et al. demonstrated in Neural Discovery of Permutation Subgroups that pairing a standard invariant network with a learnable linear transformation allows a model to isolate exactly which subset or arrangement of data matters, uncovering hidden permutation subgroups from scratch.


Architecture-Agnostic Symmetrization

A final, distinct facet of this research direction focuses on decoupling the symmetry constraint entirely from internal layer design. Instead of modifying internal weight matrices or kernels, can we make any off-the-shelf model equivariant?

Kim et al. et al. address this in Learning Probabilistic Symmetrization for Architecture Agnostic Equivariance via Probabilistic Symmetrization (PS). Rather than hand-crafting specialized internal layers, PS acts as an external wrapper around standard, highly optimized architectures like Transformers or MLPs. It learns a probability distribution over data transformations, effectively teaching the model how to "view" data through the correct geometric lens. This achieves the sample efficiency of equivariance while retaining the flexibility and optimization advantages of general-purpose architectures.

Key Foundational Work

Invariant-Equivariant Representation Learning for Multi-Class Data (2019) — contributed 1 concept elements to this direction.
MDP Homomorphic Networks: Group Symmetries in Reinforcement Learning (2020) — contributed 1 concept elements to this direction.
3D-Rotation-Equivariant Quaternion Neural Networks (2020) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_manual_symmetry_specification_1372b69f,
  title = {manual symmetry specification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/manual-symmetry-specification/rdr_1372b69f3b1541ee96f9c04401b66e0b},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_manual_symmetry_specification_1372b69f_v1,
  title = {manual symmetry specification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/manual-symmetry-specification/rdr_1372b69f3b1541ee96f9c04401b66e0b/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake