Simplifying Transformer Blocks
Bobby He, Thomas Hofmann
TL;DR
<3-5 sentence high-level summary> The paper addresses the complexity of standard Transformer blocks and investigates how far they can be simplified without sacrificing training speed. It combines signal propagation theory with empirical observations to remove components such as skip connections, value/projection matrices, sequential sub-blocks, and normalisation, resulting in SAS and SAS-P blocks. Across autoregressive and encoder-only setups (including BERT), the simplified blocks match or exceed the training speed and downstream performance of standard blocks while reducing parameters and increasing throughput by about 15–16%. The work highlights practical pathways to more efficient transformers and provides a framework for further exploration of how architectural choices shape training dynamics.
Abstract
A simple design recipe for deep Transformers is to compose identical building blocks. But standard transformer blocks are far from simple, interweaving attention and MLP sub-blocks with skip connections & normalisation layers in precise arrangements. This complexity leads to brittle architectures, where seemingly minor changes can significantly reduce training speed, or render models untrainable. In this work, we ask to what extent the standard transformer block can be simplified? Combining signal propagation theory and empirical observations, we motivate modifications that allow many block components to be removed with no loss of training speed, including skip connections, projection or value parameters, sequential sub-blocks and normalisation layers. In experiments on both autoregressive decoder-only and BERT encoder-only models, our simplified transformers emulate the per-update training speed and performance of standard transformers, while enjoying 15% faster training throughput, and using 15% fewer parameters.
