Platonic Transformers: A Solid Choice For Equivariance
Mohammad Mohaiminul Islam, Rishabh Anand, David R. Wessels, Friso de Kruiff, Thijs P. Kuipers, Rex Ying, Clara I. Sánchez, Sharvaree Vadgama, Georg Bökman, Erik J. Bekkers
TL;DR
The paper addresses the lack of geometric inductive biases in Transformers by introducing the Platonic Transformer, which attains equivariance to continuous translations and discrete roto-reflections using reference frames from Platonic symmetry groups without modifying the underlying architecture or computation. It recasts RoPE-based attention as a dynamic group convolution and provides a formal, end-to-end equivariance guarantee through frame-wise weight-sharing and group convolutions, with linear-time complexity in the convolutional view. Empirically, the method achieves competitive or state-of-the-art results on diverse domains, including CIFAR-10, ScanObjectNN, QM9, and OMol25, while preserving Transformer efficiency and enabling scalable inference. By combining principled geometric biases with scalable design, the Platonic Transformer offers a practical pathway to symmetry-aware learning in scientific applications, supported by reproducibility efforts and open-source code.
Abstract
While widespread, Transformers lack inductive biases for geometric symmetries common in science and computer vision. Existing equivariant methods often sacrifice the efficiency and flexibility that make Transformers so effective through complex, computationally intensive designs. We introduce the Platonic Transformer to resolve this trade-off. By defining attention relative to reference frames from the Platonic solid symmetry groups, our method induces a principled weight-sharing scheme. This enables combined equivariance to continuous translations and Platonic symmetries, while preserving the exact architecture and computational cost of a standard Transformer. Furthermore, we show that this attention is formally equivalent to a dynamic group convolution, which reveals that the model learns adaptive geometric filters and enables a highly scalable, linear-time convolutional variant. Across diverse benchmarks in computer vision (CIFAR-10), 3D point clouds (ScanObjectNN), and molecular property prediction (QM9, OMol25), the Platonic Transformer achieves competitive performance by leveraging these geometric constraints at no additional cost.
