arXiv Machine Learning

No Equivariant Architecture Covers All Equivariant Attention

arXiv Machine Learning
Oct 16

Inherent Trade-offs when Enforcing Correct Data Symmetries in Multi-head Self-attention

arXiv:2608. 30417v2 Announce Type: replace Abstract: We give a complete characterization of equivariant multi-head self-attention (MHSA): if an MHSA layer is equivariant to a symmetry group $G$, then $G$ can only act by permuting head-clusters, with QK and OV matrices satisfying an equivariance constraint tied to the group action.

By T\=ikun \^Ong, Georg B\"okman
Hugging Face Trending Papers
Oct 27

Attention as Lattice Gauge Theory: Relations Interact Only Through Wilson Loops

The paper proposes a novel attention mechanism for relational graphs called holonomy attention, derived from lattice gauge theory. It shows that when each entity’s coordinate frame can be rotated independently, only Wilson loops (holonomies) can mediate interactions, leading to a unique equivariant update rule for edges. Experiments demonstrate that this method can infer missing relations and detect corrupted triangles on sparse graphs without training, outperforming existing commutative architectures.

arXiv AI
Jun 3

Exact equivariance, kept through training, buys zero-shot generalisation across the symmetry group

arXiv:2606. 03003v1 Announce Type: cross Abstract: A latent world model built from an equivariant encoder $E$ and an equivariant predictor $f$ inherits a provable symmetry of its training loss: when the world's dynamics genuinely carries a group $G$ acting on latents by an orthogonal representation $\rho(g)$, the one-step prediction relMSE is exactly invariant across the whole group, so fitting the dynamics on a restricted slice of orientations mathematically determines it on the entire orbit (j\v{u} y\=i f\v{a}n s\=an).

By Hongbo Wang (Stony Brook University)
arXiv AI
Oct 28

Attention as Lattice Gauge Theory: Relations Interact Only Through Wilson Loops

The paper proposes a novel attention mechanism for relational graphs called holonomy attention, derived from lattice gauge theory. It shows that when each entity’s coordinate frame can be rotated independently, only relations that form closed loops (Wilson loops) can interact, leading to a unique, symmetry‑preserving update rule for edges. Experiments demonstrate that this equivariant method can infer missing relations and detect corrupted triangles on sparse graphs without training, outperforming existing commuting‑operator and synchronization approaches.

By Aakash Sarkar, Ananya Mukherjee, Motoshige Sato
arXiv AI
Oct 27

Relational Composition as Parallel Transport: What Per-Entity Frames Force in Attention

The paper investigates how treating each entity in a graph or language model as having its own coordinate frame—viewed as a symmetry—constrains the form of attention mechanisms. It shows that with orthogonal transports, invariant attention scores depend only on norms and transported inner products, while equivariant messages lie in the span of the entity vectors and their transported counterparts. The authors demonstrate that standard attention corresponds to a flat shared frame, and that incorporating per‑entity frames allows relations to be represented as operators that compose via parallel transport, yielding empirical gains on synthetic relational tasks and natural language benchmarks.

By Aakash Sarkar, Ananya Mukherjee, Motoshige Sato