Were RNNs All We Needed?
Summary
arXiv 2410.01201: revisits LSTMs/GRUs by removing hidden-state dependencies from gates so models train with parallel scan (large speedups vs BPTT), yielding minLSTM/minGRU with fewer parameters and competitive results vs recent recurrent/Transformer baselines. Discord LinkedIn note: "RNNs can rival transformers." Official code BorealisAI/minRNNs.
- Venue
- arXiv 2410.01201; Borealis AI / Mila
- Publisher
- arXiv 2410.01201; Borealis AI / Mila
- Source
- arxiv
- Access
- open arXiv; code on GitHub
- Language
- en
- Purpose
- Show simplified parallelizable minLSTM/minGRU RNNs can rival modern sequence models including Transformers on several tasks
- Domain
- sequence models; minimal LSTM/GRU; parallelizable RNNs vs Transformers
- Used for
- architecture alternatives to Transformers; efficient sequence modeling
- Time period
- arXiv 2024-10-02; Discord mid 1295745322340847618
- Author type
- academic / industry research
- Added
- Sep 14, 2026
- Verified
- Sep 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Oct 2, 2024
- Last revised
- Nov 28, 2024
- arXiv categories
- cs.LG, cs.AI
- Citations
- 77 (8 influential)
- References
- 37
Abstract (from arXiv)
The introduction of Transformers in 2017 reshaped the landscape of deep learning. Originally proposed for sequence modelling, Transformers have since achieved widespread success across various domains. However, the scalability limitations of Transformers - particularly with respect to sequence length - have sparked renewed interest in novel recurrent models that are parallelizable during training, offer comparable performance, and scale more effectively. In this work, we revisit sequence modelling from a historical perspective, focusing on Recurrent Neural Networks (RNNs), which dominated the field for two decades before the rise of Transformers. Specifically, we examine LSTMs (1997) and GRUs (2014). We demonstrate that by simplifying these models, we can derive minimal versions (minLSTMs and minGRUs) that (1) use fewer parameters than their traditional counterparts, (2) are fully parallelizable during training, and (3) achieve surprisingly competitive performance on a range of tasks, rivalling recent models including Transformers.
Tags
Topics
sequence models; minimal LSTM/GRU; parallelizable RNNs vs Transformers
Research notes
- Mapped from Discord/LinkedIn "RNNs can rival transformers" to Were RNNs All We Needed? (unambiguous). Primary: arXiv API.
Cited by, within this collection
Similar entries
- Paper Memory Caching: RNNs with Growing Memory
- Model Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making
- Paper LiFT: Loop Flow Transformers
- Model Odyssey-3: foundation world model for physical agents (free public access launch)
- Paper A Smaller Transformer in Your Transformer
- Paper How Depth Growth and Looping Shape In-Context Learning in Language Models