Combinatorial Basis Construction for Equivariant Tensors

38 concepts21 papers1 proposal

When designing neural networks that respect geometric or structural symmetries, the central challenge is constraining the network's linear layers to be equivariant. Mathematically, a linear layer $L$ is equivariant to a symmetry group $G$ if it commutes with the group's action: $L(g \cdot x) = g \cdot L(x)$ for every group element $g \in G$.

To build such a layer, practitioners must find the space of all valid weight matrices that satisfy this constraint—a task known as finding a basis of intertwiners. Traditional approaches often rely on manual parameter-sharing derivations or decomposing feature spaces into irreducible representations (irreps) using complex machinery like Clebsch-Gordan coefficients. As Yonatan Sverdlov et al. note, while representation theory provides a clean theoretical lens via Schur’s Lemma, manual irrep decompositions can become computationally tedious and difficult to scale for high-order tensors. Similarly, Taco Cohen et al. frame the design of equivariant layers as solving for a basis of constrained kernels on group cosets.

A powerful alternative paradigm has emerged: combinatorial basis construction. Instead of performing continuous algebraic decompositions, this direction transforms the search for equivariant layers into a discrete combinatorial problem. By mapping tensor indices to set partitions, graphs, and diagrammatic algebras, researchers can directly construct a complete, exact spanning set of equivariant matrices in the standard basis.


The Intuition: Index Partitions and Permutations

To understand why this works, consider the simplest case: permutation equivariance under the symmetric group $S_n$. Suppose a linear layer maps an input tensor $X$ to an output tensor $Y$. The layer is parameterized by a weight matrix $W$ whose indices are a combination of the input and output tensor indices.

For the layer to be equivariant, the values inside $W$ cannot depend on the specific identity of the indices (e.g., whether an index is node 5 or node 12). Instead, the weights can only depend on the equality pattern—or partition—of the indices.

Input Index:  (i, j)
Output Index: (k, l)
Combined Indices: (i, j, k, l)

Possible Partition (Equality Pattern):
i == k  and  j == l  (Identity mapping)
i == j == k == l     (Global aggregation)

In their foundational work on graph networks, Haggai Maron et al. proved that identifying all possible equality patterns among input and output indices yields a fixed, finite orthogonal basis for equivariant layers. Crucially, the size of this basis depends entirely on the order of the tensors, not on the dimension of the underlying data (such as the number of nodes in a graph).

Horace Pan and Risi Kondor formalized this by showing that the space of permutation equivariant linear maps between tensors is fundamentally bounded by the number of ways to partition the combined indices. For a layer mapping a tensor of order $k$ to a tensor of order $m$, the total number of unique basis operations is exactly given by the Bell number $B_{k+m}$. This discrete combinatorial bound means that finding valid symmetric operations reduces to enumerating set partitions.


Diagrammatic Algebras and Schur-Weyl Duality

How do we extend this combinatorial intuition from discrete permutations to continuous physical symmetries, such as the orthogonal group $O(n)$ or the symplectic group $Sp(n)$? The bridge is provided by Schur-Weyl duality, which connects the representation theory of classical Lie groups to the combinatorics of diagrammatic algebras.

In a series of papers, Edward Pearce-Crump demonstrated that equivariant weight matrices can be completely characterized and computed using visual, graph-like diagrams rather than high-dimensional fixed-point equations.

  • Partition Diagrams for Permutations: In Connecting Permutation Equivariant Neural Networks and Partition Diagrams, Edward Pearce-Crump showed that every permutation equivariant weight matrix maps directly to a partition diagram consisting of two rows of vertices. By overlaying indices onto these diagrams, a matrix entry is assigned a value of one if the indices match the diagram's block structure and zero otherwise. This creates an explicit "orbit basis" for the layer.
  • Brauer Diagrams for Continuous Symmetries: To handle $O(n)$, $SO(n)$, and $Sp(n)$ symmetries without the computational overhead of Fourier transforms or Clebsch-Gordan coefficients, Edward Pearce-Crump introduced Brauer's Group Equivariant Neural Networks. Here, combinatorial graphs called Brauer diagrams serve as templates that dictate parameter-sharing schemes directly in the standard basis.
  • Bipartition Diagrams for Symmetric Tensors: When dealing with inputs that are themselves symmetric tensors (like covariance matrices), Edward Pearce-Crump utilized bipartition diagrams in Permutation Equivariant Neural Networks for Symmetric Tensors to enforce index symmetries efficiently, allowing models to generalize across data sizes without retraining.

Isotropic Tensors and Tensor Contractions

From a physical perspective, constructing an equivariant basis for continuous groups can also be framed as building invariant polynomial functions. Josué Tonelli-Cueto et al. and Wilson G. Gregory et al. proved that equivariant functions for Orthogonal, Lorentz, and Symplectic groups can be systematically constructed by taking tensor products of input data and contracting them with isotropic tensors—such as the Kronecker delta ($\delta_{ij}$) or the Levi-Civita symbol ($\epsilon_{ijk}$).

This aligns with the "fully covariant" framework proposed by Soledad Villar et al., which restricts neural network operations strictly to tensor contractions and dot products derived from Ricci calculus. Because these primitive geometric operations are inherently invariant under rotations and reflections, any model built from them is guaranteed to respect passive physical symmetries by design.

To bypass the computational complexity of full Clebsch-Gordan coupling trees in spherical tensor networks, Filippo Bigi et al. demonstrated a "third way": high-rank equivariant tensors can be represented by taking a fixed, maximally coupled geometric basis and weighting it with learned scalar functions. This decouples the geometric symmetry constraints from the expressive capacity of the network.


Factoring and Computing the Basis Efficiently

While combinatorial diagrams provide an elegant theoretical characterization, instantiating massive parameter-sharing matrices explicitly can lead to high computational and memory overhead. To solve this, researchers decompose complex higher-order equivariant operations into primitive tensor steps.

Horace Pan and Risi Kondor showed that set partitions can be mapped directly to Einstein summation (einsum) strings. This allows any higher-order interaction to be implemented via three primitive steps:

  1. Aggregation: Summing information across specific indices.
  2. Transfer: Mapping data between input and output slots.
  3. Broadcasting: Replicating results to match the target tensor dimensions.

A similar decomposition is identified by Chen Cai et al., who break down linear equivariant layers into selection, reduction, alignment, and replication. To make these operations fast in practice, Charles Godfrey et al. leveraged the partition algebra framework to factorize the diagrammatic basis into low-rank Kronecker products, enabling rapid tensor contractions.


Broadening Symmetries: From Graphs to Quantum Groups

The true power of the combinatorial basis framework is its versatility. By modifying the underlying diagrammatic rules or adding numerical filters, it can be extended to exotic, non-standard, or highly complex symmetry structures:

  • Alternating Groups ($A_n$): To build layers equivariant only to even permutations, Edward Pearce-Crump introduced a determinant-representing component into standard partition diagrams in How Jellyfish Characterise Alternating Group Equivariant Neural Networks. The determinant acts as a numerical filter to distinguish between split orbits.
  • Graph Automorphisms: Moving beyond global permutations, Edward Pearce-Crump et al. utilized bilabelled graphs as templates to construct linear layers equivariant to a graph's specific automorphism group ($\text{Aut}(G)$).
  • Quantum Groups: In Compact Matrix Quantum Group Equivariant Neural Networks, Edward Pearce-Crump extended the framework beyond classical geometry into non-commutative $C^*$-algebras, using Tannaka-Krein duality to define a basis of intertwiners for quantum groups via set partitions.
  • Multi-Domain and Neural Symmetries: Andrew R. Hands et al. applied equivariant linear map enumeration to transfer information consistently between different structural domains (like edges and cycles) in subgraph GNNs. For deep learning on neural network weight spaces, Allan Zhou et al. developed symmetry-preserving tensor partitioning to automatically discover the permutation-equivariant operations governing the weights of arbitrary architectures. Finally, Haggai Maron et al. showed that layers for sets of symmetric elements can be decomposed into parallel operations that separate individual element symmetries from global set permutations.

By translating abstract algebraic constraints into concrete diagrammatic and partition-based rules, combinatorial basis construction provides a unified, mathematically rigorous, and computationally viable blueprint for preserving symmetry across deep learning architectures.

Key Foundational Work

Joint Map and Symmetry Synchronization (2018) — contributed 1 concept elements to this direction.
Icosahedral Skyrmions (2003) — 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_equivariant_basis_construction_36673f64,
  title = {equivariant basis construction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/equivariant-basis-construction/rdr_36673f6484c14165b373b299e05d7346},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_equivariant_basis_construction_36673f64_v1,
  title = {equivariant basis construction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/equivariant-basis-construction/rdr_36673f6484c14165b373b299e05d7346/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake