TL;DR
This paper reveals that within one-layer randomly weighted Transformers, there exist subnetworks capable of achieving competitive machine translation performance without training, highlighting the potential of untrained models.
Contribution
It demonstrates the existence of high-performing subnetworks in untrained one-layer Transformers and explores their effectiveness across different sizes, depths, and initializations.
Findings
Subnetworks achieve 29.45/17.29 BLEU on IWSLT14/WMT14.
Subnetworks match up to 98%/92% of trained Transformer performance.
Larger and deeper Transformers also contain effective subnetworks.
Abstract
We demonstrate that, hidden within one-layer randomly weighted neural networks, there exist subnetworks that can achieve impressive performance, without ever modifying the weight initializations, on machine translation tasks. To find subnetworks for one-layer randomly weighted neural networks, we apply different binary masks to the same weight matrix to generate different layers. Hidden within a one-layer randomly weighted Transformer, we find that subnetworks that can achieve 29.45/17.29 BLEU on IWSLT14/WMT14. Using a fixed pre-trained embedding layer, the previously found subnetworks are smaller than, but can match 98%/92% (34.14/25.24 BLEU) of the performance of, a trained Transformer small/base on IWSLT14/WMT14. Furthermore, we demonstrate the effectiveness of larger and deeper transformers in this setting, as well as the impact of different initialization methods. We released the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsMulti-Head Attention · Attention Is All You Need · Linear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Dropout · Layer Normalization · Softmax · Label Smoothing · Byte Pair Encoding
