Abstract
Training deep Transformer models requires substantial computational resources. This paper introduces Reservoir Transformers, an architecture that intersperses frozen, randomly initialized layers among standard trainable ones. By leveraging the principles of reservoir computing, this approach significantly reduces training time while maintaining or even improving performance across machine translation and language modeling benchmarks.
Introduction
As Transformer models scale in depth and width, the associated training costs—both financial and environmental—become increasingly prohibitive. This research investigates whether the traditional paradigm of updating every parameter in a deep network is necessary. The authors propose that certain layers can act as "reservoirs"—fixed, high-dimensional non-linear systems that provide useful feature transformations without requiring gradient updates.
Methodology
The core innovation is the Reservoir Transformer, where "reservoir layers" are interspersed throughout the network and kept frozen during training. The authors evaluated several reservoir types:
- Transformer Reservoir: A standard, frozen self-attention and feed-forward block.
- FFN Reservoir: A frozen feed-forward network without self-attention.
- BiGRU & CNN Reservoirs: Frozen recurrent or convolutional layers.
To evaluate efficiency, the paper introduces the Area Under the Convergence Curve (AUCC) metric, which captures the trade-off between wall-clock training time and task performance. Furthermore, an experimental Backskipping technique is proposed, using reinforcement learning to approximate gradients and bypass the backward pass through reservoir layers entirely.
Results and Discussion
The effectiveness of Reservoir Transformers was tested on IWSLT'14, WMT'16, and enwiki8 datasets.
As shown in the performance plots, Reservoir Transformers frequently achieve higher test BLEU and lower test BPC scores than fully-trainable baselines. Notably, the FFN Reservoir often outperformed more complex variants, suggesting that once context is established by learned attention layers, random non-linear projections are sufficient for intermediate processing.
The AUCC analysis highlights the efficiency gains of this approach. Reservoir models reached target performance levels significantly faster, with wall-clock time savings of up to 27% observed in large-scale models. Probing tasks confirmed that frozen layers are not merely passive; they develop rich linguistic representations contextualized by the surrounding trainable layers.
Conclusion
Reservoir Transformers demonstrate that full-parameter training is not strictly necessary for achieving state-of-the-art results in NLP. By strategically freezing layers, researchers can reduce compute requirements without sacrificing model quality. Future work will explore optimal layer placement strategies and the integration of backskipping with other efficiency techniques like pruning.
Summary updated