Reproduce “The Token Is a Group Element: On Lie-Algebra Attention over Matrix Lie Groups” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Przemyslaw Musialski

Lie-Algebra Attention introduces an attention mechanism where tokens are matrix Lie group elements, enabling structural equivariance and consistency for spatial reasoning tasks. This approach simplifies equivariant neural network design and demonstrates competitive performance on sequence completion tasks for SE(2), SO(3), and Aff(2) groups, notably extending to non-compact affine transformations while using significantly fewer parameters in its scoring mechanism.

Key insights

  • Defining tokens as group elements makes equivariance and the cocycle condition intrinsic structural properties, eliminating the need for external enforcement.
  • A canonical closed-form score, based on the block-weighted algebra-norm, performs comparably to or outperforms learned MLP kernels while requiring 50-80x fewer parameters.
  • The framework successfully extends equivariant attention to non-compact, non-abelian affine groups (Aff(2), Aff(3)), which were previously challenging for many existing methods.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.