Papers
Topics
Authors
Recent
Search
2000 character limit reached

Platonic Transformer: Equivariant Attention

Updated 22 June 2026
  • Platonic Transformers are Transformer models that incorporate finite symmetry groups to enforce equivariance in feature transformations and weight-sharing.
  • They use lifted attention over multiple group reference frames and group convolutions to maintain standard computational graphs while enhancing geometric invariance.
  • Empirical evaluations show improved accuracy and cost-efficiency in computer vision, 3D point cloud analysis, and molecular property prediction compared to conventional methods.

The Platonic Transformer is a Transformer architecture that achieves principled equivariance to translations and Platonic solid symmetry groups by lifting attention and feature transformations into multiple reference frames associated with finite groups drawn from rotational symmetries in two and three dimensions. The design preserves the exact computational graph and efficiency of standard Transformer attention, while inducing a structured weight-sharing scheme via group convolutions. Empirically, Platonic Transformers demonstrate competitive accuracy and superior cost-efficiency in computer vision, 3D point cloud analysis, and molecular property prediction tasks (Islam et al., 3 Oct 2025).

1. Platonic Solid and Finite Symmetry Groups

A Platonic solid in 3D is a regular convex polyhedron whose rotational symmetry group, GG, is a finite subgroup of SO(3)\mathrm{SO}(3). The approach focuses on the following three Platonic groups:

  • Tetrahedral group TT: Isomorphic to A4A_4, T=12|T|=12, generated by rotations such as R1R_1 (120° about a chosen vertex-opposite face) and R2R_2 (180° about midpoints of opposite edges).
  • Octahedral (cubic) group OO: O=24|O|=24, generated by S1S_1 (90° around the SO(3)\mathrm{SO}(3)0-axis) and SO(3)\mathrm{SO}(3)1 (120° about the SO(3)\mathrm{SO}(3)2-axis).
  • Icosahedral group SO(3)\mathrm{SO}(3)3: SO(3)\mathrm{SO}(3)4, generated by SO(3)\mathrm{SO}(3)5 (72° about a vertex-opposite face) and SO(3)\mathrm{SO}(3)6 (180° about midpoints of opposite edges).

In 2D, the methodology leverages cyclic SO(3)\mathrm{SO}(3)7 (SO(3)\mathrm{SO}(3)8; rotations by SO(3)\mathrm{SO}(3)9) and dihedral TT0 (TT1; includes reflections) groups. The theory builds on group representations TT2, requiring orthogonality/unitarity for stability and using irreducible representations (irreps) to enforce Schur’s Lemma for equivariant linear maps.

2. Transformer Attention in Group Reference Frames

Each input token TT3 with position TT4 and features TT5 is “lifted” to a function TT6—effectively, TT7 parallel feature copies:

  • Scalars: Simply copied into each frame.
  • Vectors: Expressed in the local basis via TT8, TT9.

Queries, keys, and values become group-indexed:

  • A4A_40
  • A4A_41
  • A4A_42

Positions also transform: A4A_43. Rotary Position Embeddings (RoPE) are applied in parallel frames. The unnormalized attention score from frame A4A_44 is:

A4A_45

where A4A_46 block-diagonalizes A4A_47 rotations by learned frequencies.

The attention is computed by standard softmax over A4A_48, providing weights A4A_49 and output

T=12|T|=120

These operations, including RoPE and softmax, match standard Transformer computation. The only modification is the parallelization over T=12|T|=121 group frames, conceptualized as additional attention heads with shared weights.

3. Group Equivariance, Weight-Sharing, and Induced Structure

Linear layers acting on group-indexed features must be equivariant under the left-regular group action T=12|T|=122:

  • T=12|T|=123
  • Equivariance requirement: T=12|T|=124

Equivariant linear maps are group convolutions:

T=12|T|=125

with T=12|T|=126 a learnable kernel. This enforces identical complexity and parameter count as a non-equivariant linear layer of size T=12|T|=127 via reshaping. Weight-sharing across output-input frame pairs with the same relative group element yields equivariance.

For a global rotation/reflection T=12|T|=128 applied to the data, outputs transform equivariantly:

T=12|T|=129

4. Connection to Dynamic Group Convolution

Omitting the softmax (i.e., adopting “linear” attention) and using fixed keys R1R_10, Platonic Transformer attention reduces to a dynamic, content-adaptive convolution:

R1R_11

with dynamic filters synthesized by the query:

R1R_12

where R1R_13 and R1R_14 are linear functions of R1R_15. Lifting to group frames produces a dynamic group convolution:

R1R_16

This reveals that query tokens synthesize filters over relative displacements in a sparse Fourier basis, aligned with group-theoretic symmetries.

5. Linear-Time Convolutional Variant

The unnormalized dynamic convolution can be cast in matrix notation:

  • R1R_17, where R1R_18 and R1R_19
  • Compute R2R_20 in R2R_21, then R2R_22 in R2R_23 for total R2R_24 complexity in token count

This matches the complexity of Performer-style linear attention, demanding no approximation: dynamic convolution is exact without the softmax. The linear-time variant is advantageous for large token counts, though attention heads with softmax provide greater expressivity for orientation-specific patterns.

6. Empirical Evaluation Across Benchmarks

Platonic Transformers are evaluated in “Attention” (full softmax) and “Conv” (linear-time convolution) modes on diverse tasks:

Benchmark Baseline Platonic Group Attention Mode Conv Mode
CIFAR-10 RoPE (trivial group), 91.5% acc C₄, D₄ ~92.5% (no extra FLOPs) ~88.5%
ScanObjectNN T(n) attention, 80.5% acc Tetrahedral 81.3% 80.1%
QM9 (molecular) T(n): μ=0.028, α=0.064 (MAE) Tetra/Octahedral μ=0.010–0.012, α=0.048–0.049 μ=0.012–0.014, α=0.047
OMol25 eSEN: 120 meV/3.37 meV (energy/atom) Tetra/Octahedral 74 meV/2.63 meV n/a

On QM9, Platonic variants match or outperform EquiformerV2 and are over R2R_25 faster at inference than G-Hyena or TFN. For OMol25, Platonic Transformers achieve lower energy MAE under fixed computational budgets compared to eSEN, and approach MACE’s best result with 4× less compute. Cost-efficiency and scalability are central strengths in these empirical settings.

7. Architectural Summary and Significance

Platonic Transformers interpret each attention head as operating in parallel over R2R_26 rotated frames, with all core operations—attention, RoPE, and linear layers—constrained to be equivariant under group symmetries by enforcing weight-sharing via group convolution. This design achieves exact (or approximate) R2R_27-equivariance in unaltered Transformer architectures and computational complexity. The deep equivalence between RoPE-based attention and dynamic (group) convolution provides both modeling flexibility and efficiency: the softmax attention head delivers modeling power for non-symmetric data, while the linear-time convolutional mode scales to large inputs without approximation error. Across modalities, Platonic Transformers leverage geometric constraints for enhanced sample efficiency and state-of-the-art speed without additional computational cost (Islam et al., 3 Oct 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Platonic Transformer.