Hyper-SET: Designing Transformers via Hyperspherical Energy Minimization
Not on the map. Why?
Abstract (arXiv)
Transformer-based models have achieved remarkable success, but their core components, Transformer layers, are largely heuristics-driven and engineered from the bottom up, calling for a prototypical model with high interpretability and practical competence. To this end, we conceptualize a principled, top-down approach grounded in energy-based interpretation. Specifically, we formalize token dynamics as a joint maximum likelihood estimation on the hypersphere, featuring two properties: semantic alignment in the high-dimensional space and distributional uniformity in the low-dimensional space. By quantifying them with extended Hopfield energy functions, we instantiate this idea as a constrained energy minimization problem, which enables designs of symmetric attention and feedforward modules with RMS normalization. We further present textitHyper-Spherical Energy Transformer (Hyper-SET), a recurrent-depth alternative to vanilla Transformers naturally emerging from iterative energy optimization on the hypersphere. With shared parameters across layers, Hyper-SET can scale to arbitrary depth with fewer parameters. Theoretically grounded and compact, it achieves competitive or superior performance across diverse tasks, including Sudoku solving, image classification, and masked image modeling. We also design novel variations under the proposed general principle, such as linear attention and gated feedforward layer. Moreover, we showcase its scalability with depth-wise LoRA. Our results highlight Hyper-SET as a step toward interpretable and principled Transformer design.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 80 of its 105 references that are in the map. First posted on arXiv 17 Feb 2025.
Builds on
80 of 105 references.
References · 80
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
- 2020Scaling Laws for Neural Language Modelscited by 6,586
38 more
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2022RT-1: Robotics Transformer for Real-World Control at Scalecited by 2,061
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2022MaskGIT: Masked Generative Image Transformercited by 1,099
- 2022In-context Learning and Induction Headscited by 964
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2015Deep Learning and the Information Bottleneck Principlecited by 802
- 2021Going deeper with Image Transformerscited by 764
- 2019Hamiltonian Neural Networkscited by 712
- 2024Autoregressive Image Generation without Vector Quantizationcited by 651
- 2024KAN: Kolmogorov-Arnold Networkscited by 649
- 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
- 2019Deep Equilibrium Modelscited by 615
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 599
- 2020Hopfield Networks is All You Needcited by 475
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 383
- 2020Query-Key Normalization for Transformerscited by 280
- 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 264
- 2016Dense Associative Memory for Pattern Recognitioncited by 236
- 2022MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesiscited by 227
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 226
- 2022End-to-end symbolic regression with transformerscited by 203
- 2018Differentiable MPC for End-to-end Planning and Controlcited by 189
- 2019SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solvercited by 173
- 2021PonderNet: Learning to Pondercited by 168
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 146
- 2020Model-Based Deep Learningcited by 141
50 most cited of 80 All 80 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026HyperDiT: Hyper-Connected Transformers for High-Fidelity Pixel-Space Diffusion
- 2026Symmetry Breaking in Transformers for Efficient and Interpretable Training
- 2022Efficiently Scaling Transformer Inference
- 2026The Recurrent Transformer: Greater Effective Depth and Efficient Decoding
- 2025Dynamical Properties of Tokens in Self-Attention and Effects of Positional Encoding
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
- 2026Fully Interpretable Minimal Transformers: From Geometry to Algorithm
- 2025Scaling Diffusion Transformers Efficiently via μP