Equivariance via Minimal Frame Averaging for More Symmetries and Efficiency
Yuchao Lin, Jacob Helwig, Shurui Gui, Shuiwang Ji
TL;DR
This work addresses the challenge of encoding symmetries in ML models with exact equivariance while maintaining computational efficiency. It introduces Minimal Frame Averaging (MFA), a theory that constructs provably minimal frames yielding exact $G$-equivariance, and extends to broad groups including the Lorentz group $O(1,d-1)$ and the unitary group $U(d)$ via a generalized QR framework. The paper develops induced-$G$-set canonicalization, generalized QR decomposition, and a spectrum of minimal frames for linear algebraic and permutation groups, with extensive experiments across $n$-body dynamics, collider top tagging, OC20 energy prediction, graph separation, and convex hull problems. MFA demonstrates exact equivariance with a single backbone call per forward pass and outperforms sampling-based frame averaging in invariance quality and efficiency, offering a versatile tool for symmetry-aware ML on unstructured data and beyond.
Abstract
We consider achieving equivariance in machine learning systems via frame averaging. Current frame averaging methods involve a costly sum over large frames or rely on sampling-based approaches that only yield approximate equivariance. Here, we propose Minimal Frame Averaging (MFA), a mathematical framework for constructing provably minimal frames that are exactly equivariant. The general foundations of MFA also allow us to extend frame averaging to more groups than previously considered, including the Lorentz group for describing symmetries in space-time, and the unitary group for complex-valued domains. Results demonstrate the efficiency and effectiveness of encoding symmetries via MFA across a diverse range of tasks, including $n$-body simulation, top tagging in collider physics, and relaxed energy prediction. Our code is available at https://github.com/divelab/MFA.
