
ZJ
Zhongping Ji
· 1 min read
ResearcharXiv cs.LG
GaugeAttention: Holonomic Self-Attention in Curved Space
arXiv:2506.07405v4 Announce Type: replace
Abstract: We introduce GaugeAttention, a self-attention mechanism that embeds tokens on a curved manifold and compares queries and keys by directly learning the parallel transport mappings between their distinct tangent spaces, without explicitly constructing the underlying continuous paths. Each token is associated with a manifold coordinate and a local tangent space. The inter-tangent transport operator $\mathcal{P}_{n\to m}=\mathbf{T}_m\exp(\mathbf{\Omega}_{nm})\mathbf{T}_n^{-1}$ inserts a Lie-algebraic curvature rotation between local frames within a common reference space. Composing these transport operators around a closed loop captures the intrinsic holonomy of the curved manifold. Using $\so(4)\cong\su(2)_L\oplus\su(2)_R$, we factor each four-dimensional block into commuting rotations for flat relative displacement and an intrinsic curvature phase. The spatial wedge phase yields translation-invariant loop holonomy, while the content-dependent phase preserves scores under coordinate shifts with features held fixed. A mean-normalized conformal fiber metric supplies the separable gate $s_m s_n$ outside softmax, scaling source values and destination outputs. The identity $\mathbf{J}_R^2=-\mathbf{I}$ enables exact evaluation of non-separable phases in $\mathcal{O}(N^2D)$ time via two matrix multiplications and elementwise modulation. Separable rotations can be evaluated exactly with FlashAttention, and a weak-field feature expansion supports first-order evaluation of wedge phases. A separate linear variant aggregates kernelized features in $\mathcal{O}(ND^2)$ time. On CIFAR-100, the best variant reaches a three-seed mean top-1 accuracy of $69.61\%$, $4.10$ percentage points above the matched ViT baseline with learned absolute positional embeddings.
Original source
This story was published by arXiv cs.LG and written by Zhongping Ji. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


