Revisiting the Shape Convention of Transformer Language Models
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
The architectural shape of dense Transformers has remained remarkably stable: narrow-wide-narrow feed-forward networks (FFNs) consume most non-embedding parameters. Motivated by theoretical and empirical evidences that residual wide-narrow-wide (hourglass) MLPs remain expressive despite bottlenecks, we revisit whether this architectural convention is necessary for dense language models. We study Hourglass Transformers, which replace the conventional FFN with residual stacks of hourglass sub-MLPs and use hourglass attention to decouple residual-stream width from attention width. This exposes a practical depth-width trade-off: compressing the FFN intermediate dimension allows wider hidden states and fewer layers at matched parameter budgets. Across model scales from 113M to 8B parameters, Hourglass Transformers achieve language-modeling and downstream performance comparable to conventional Transformers, while improving training compute efficiency by 8.7% at matched average downstream accuracy across the 906M, 3B, and 8B scales. After long-context extension, the 8B Hourglass model also outperforms its matched conventional baseline across 4k-64k context lengths. At 64k context, the reduced attention layer count lowers both computation and KV-cache requirements, yielding up to 1.93× faster token decoding and 50% lower KV-cache memory at the 1B scale. These results identify hourglass structures as a practical architecture-efficiency alternative for compute- and latency-conscious Transformer design.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 37 of its 44 references that are in the map. First posted on arXiv 6 Feb 2026.
Builds on
37 of 44 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2016Wide Residual Networkscited by 3,057
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
25 more
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2020GLU Variants Improve Transformercited by 1,724
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 740
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
- 2019Complexity of Linear Regions in Deep Networkscited by 166
- 2025A Comprehensive Survey of Mixture-of-Experts: Algorithms, Theory, and Applicationscited by 91
- 2018ResNet with one-neuron hidden layers is a Universal Approximatorcited by 78
- 2025mHC: Manifold-Constrained Hyper-Connectionscited by 76
- 2025The Curse of Depth in Large Language Modelscited by 58
- 2020Rethinking Bottleneck Structure for Efficient Mobile Network Designcited by 54
- 2023The Impact of Depth on Compositional Generalization in Transformer Language Modelscited by 37
- 2023Pre-RMSNorm and Pre-CRMSNorm Transformers: Equivalent and Efficient Pre-LN Transformerscited by 30
- 2022ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generationcited by 26
- 2022M2D2: A Massively Multi-domain Language Modeling Datasetcited by 26
- 2024Scaling Laws Across Model Architectures: A Comparative Analysis of Dense and MoE Models in Large Language Modelscited by 24
- 2025Gemstones: A Model Suite for Multi-Faceted Scaling Lawscited by 19
- 2025Rethinking the shape convention of an MLPcited by 2
- 2025Computing Linear Regions in Neural Networks with Skip Connectionscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Variable-Width Transformers
- 2023SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention
- 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
- 2025Equivalence of Context and Parameter Updates in Modern Transformer Blocks
- 2025BitSkip: An Empirical Analysis of Quantization and Early Exit Composition in Transformers
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers
- 2026Trading Depth for Time in Recurrent Transformers