Single Headed Attention RNN: Stop Thinking With Your Head
Stephen Merity

TL;DR
This paper introduces SHA-RNN, a simple single-headed attention RNN that rivals complex models like Transformers in language modeling, achieved with minimal hyperparameter tuning on a standard desktop.
Contribution
Proposes a lightweight single-headed attention mechanism integrated with RNNs that achieves competitive results without extensive optimization or high-end hardware.
Findings
SHA-RNN achieves near state-of-the-art results on enwik8.
Model training is feasible on a single GPU within 24 hours.
Attention mechanism extends efficiently to large contexts.
Abstract
The leading approaches in language modeling are all obsessed with TV shows of my youth - namely Transformers and Sesame Street. Transformers this, Transformers that, and over here a bonfire worth of GPU-TPU-neuromorphic wafer scale silicon. We opt for the lazy path of old and proven techniques with a fancy crypto inspired acronym: the Single Headed Attention RNN (SHA-RNN). The author's lone goal is to show that the entire field might have evolved a different direction if we had instead been obsessed with a slightly different acronym and slightly different result. We take a previously strong language model based only on boring LSTMs and get it to within a stone's throw of a stone's throw of state-of-the-art byte level language model results on enwik8. This work has undergone no intensive hyperparameter optimization and lived entirely on a commodity desktop machine that made the author's…
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
TopicsTopic Modeling · Natural Language Processing Techniques · Speech Recognition and Synthesis
MethodsEmbedding Dropout · Sigmoid Activation · Dropout · Refunds@Expedia|||How do I get a full refund from Expedia? · Dense Connections · Tanh Activation · Layer Normalization · Softmax · Attention Is All You Need · Long Short-Term Memory
