Platonic Transformers: A Solid Choice For Equivariance

Mohammad Mohaiminul Islam, Rishabh Anand, David R. Wessels, Friso de Kruiff, Thijs P. Kuipers +5 more
10/3/2025
cs.CVcs.AIcs.LG

No official code found. Best implementation: niazoys/PlatonicTransformers (63 stars, last commit 2026-04-28).

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.

View on arXivView PDF

Code Implementations(1)

Platonic Transformers: A Solid Choice For Equivariance

639Shell, PythonOct 3, 20255 months ago

Similar Papers

Cite this paper

@article{islam2025platonic,
  title  = {Platonic Transformers: A Solid Choice For Equivariance},
  author = {Mohammad Mohaiminul Islam and Rishabh Anand and David R. Wessels and Friso de Kruiff and Thijs P. Kuipers and Rex Ying and Clara I. Sánchez and Sharvaree Vadgama and Georg Bökman and Erik J. Bekkers},
  year   = {2025},
  eprint = {2510.03511},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.03511v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.03511.svg)](https://codeofpaper.com/paper/2510.03511)

Discussion