Revisiting Transformer Layer Parameterization Through Causal Energy Minimization
Not on the map. Why?
Abstract (arXiv)
Transformer blocks typically combine multi-head attention (MHA) for token mixing with gated MLPs for token-wise feature transformation, yet many choices in their parameterization remain largely empirical. We introduce Causal Energy Minimization (CEM), a framework that recasts Transformer layers as optimization steps on conditional energy functions while explicitly accounting for layer parameterization. Extending prior energy-based interpretations of attention, CEM shows that weight-tied MHA can be derived as a gradient update on an interaction energy, and that a gated MLP with shared up/down projections can be viewed through an element-wise energy. This perspective identifies a design space for Transformer layers that includes within-layer weight sharing, diagonal-plus-low-rank interactions, lightweight preconditioners, and recursive updates. We evaluate CEM-derived layers in language-modeling experiments at the moderate hundred-million-parameter scale. Despite their constrained parameterizations, these layers train stably and can match corresponding Transformer baselines. Overall, our results suggest that CEM provides a useful lens for understanding Transformer layer parameterization, connecting Transformer architectures to energy-based models and motivating further exploration of energy-guided layer designs.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 44 of its 54 references that are in the map. First posted on arXiv 8 May 2026.
Builds on
44 of 54 references.
References · 44
- 2017Attention Is All You Needcited by 59,932
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
32 more
- 2020GLU Variants Improve Transformercited by 1,724
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2025s1: Simple test-time scalingcited by 1,311
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 763
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2018Universal Transformerscited by 613
- 2017Convolutional Sequence to Sequence Learningcited by 550
- 2020Hopfield Networks is All You Needcited by 461
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2021Pay Attention to MLPscited by 367
- 2016Dense Associative Memory for Pattern Recognitioncited by 230
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 169
- 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 162
- 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
- 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 136
- 2023Looped Transformers are Better at Learning Learning Algorithmscited by 135
- 2020Improved Contrastive Divergence Training of Energy Based Modelscited by 127
- 2025Think Silently, Think Fast: Dynamic Latent Compression of LLM Reasoning Chainscited by 81
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 72
- 2023Energy Transformercited by 69
- 2016Neural Machine Translation in Linear Timecited by 65
- 2023Deep Transformers without Shortcuts: Modifying Self-attention for Faithful Signal Propagationcited by 44
- 2023Simplifying Transformer Blockscited by 37
- 2025Energy-Based Transformers are Scalable Learners and Thinkerscited by 30
- 2022Transformers from an Optimization Perspectivecited by 27
- 2023BOLT: Fast Energy-based Controlled Text Generation with Tunable Biasescited by 24
- 2024Uncovering Latent Chain of Thought Vectors in Language Modelscited by 13
- 2023Probabilistic Transformer: A Probabilistic Dependency Model for Contextual Word Representationcited by 4
- 2025NRGPT: An Energy-based Alternative for GPTcited by 4
- 2025Transformers as Unrolled Inference in Probabilistic Laplacian Eigenmaps: An Interpretation and Potential Improvementscited by 3
Built on by
Not cited yet.