[Paper Review] LieTransformer: Equivariant self-attention for Lie Groups
LieTransformer extends self-attention to Lie groups by lifting inputs to functions on G and building LieSelfAttention layers that are equivariant to Lie groups and their discrete subgroups, achieving competitive results across shape counting, QM9 molecular properties, and Hamiltonian dynamics tasks.
Group equivariant neural networks are used as building blocks of group invariant neural networks, which have been shown to improve generalisation performance and data efficiency through principled parameter sharing. Such works have mostly focused on group equivariant convolutions, building on the result that group equivariant linear maps are necessarily convolutions. In this work, we extend the scope of the literature to self-attention, that is emerging as a prominent building block of deep learning models. We propose the LieTransformer, an architecture composed of LieSelfAttention layers that are equivariant to arbitrary Lie groups and their discrete subgroups. We demonstrate the generality of our approach by showing experimental results that are competitive to baseline methods on a wide range of tasks: shape counting on point clouds, molecular property regression and modelling particle trajectories under Hamiltonian dynamics.
Motivation & Objective
- Motivate and leverage group symmetries described by Lie groups to improve learning efficiency and generalisation.
- Extend self-attention to be equivariant on Lie groups via a lifting-based framework.
- Demonstrate the approach on tasks with rotational/translation symmetries: shape counting, molecular property prediction, and Hamiltonian dynamics.
- Show that LieTransformer can handle Lie groups and their discrete subgroups with competitive performance.
Proposed method
- Lift input data from a homogeneous space X to a function on a Lie group G via a lifting operator L, enabling G-equivariant processing.
- Use LieSelfAttention to perform attention on the lifted domain G with content and location-based cues, ensuring equivariance under the regular representation of G.
- Employ Monte Carlo sampling to approximate integrals when G or lifted domains are continuous (Lie groups with infinite G_f).
- Apply residual blocks of LieSelfAttention, LayerNorm, and MLPs, followed by a final invariant G-pooling layer to produce task outputs.
- Ground equivariance proofs by showing lifting is equivariant and LieSelfAttention is equivariant under the regular representation.
Experimental results
Research questions
- RQ1Can self-attention be made equivariant for arbitrary Lie groups and their discrete subgroups?
- RQ2Does a lifting-based LieSelfAttention architecture yield competitive performance on tasks requiring SE(2)/SE(3) or other Lie-group symmetries?
- RQ3How does the LieTransformer perform on shape counting, molecular property prediction (QM9), and Hamiltonian dynamics tasks compared to non-invariant baselines and LieConv?
Key findings
- LieTransformer achieves competitive performance against strong baselines on shape counting, QM9, and Hamiltonian dynamics tasks.
- LieSelfAttention is provably equivariant under the regular representation of G (with Monte Carlo approximation for infinite G).
- SE(3) invariant variants often outperform translation-only variants and show improved generalization with rotation invariance, with some variance due to lifting sampling.
- In Hamiltonian dynamics, LieTransformer attains substantially better data efficiency and generalization than non-invariant baselines (1–3 orders of magnitude in some regimes).
- Compared to LieConv, LieTransformer often yields better performance under similar model sizes and groups, especially for T(2) and SE(2) settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.