[Paper Review] Were RNNs All We Needed?
The paper revisits LSTMs/GRUs by removing hidden-state dependencies to enable parallel training, introduces minLSTM and minGRU, and shows they match or exceed recent sequence models in various tasks with substantial training speedups.
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.
Motivation & Objective
- Reassess traditional RNNs (LSTMs/GRUs) in the context of parallelizable training.
- Develop minimal, parameter-efficient variants that remove hidden-state dependencies.
- Demonstrate that minLSTM and minGRU can be trained in parallel with large speedups while matching modern sequence models across tasks.
Proposed method
- Rewrite LSTM/GRU gates to drop dependence on h_{t-1} to fit parallel scan formulation.
- Remove tanh-based output/state range restrictions to stabilize and normalize outputs.
- Derive minGRU and minLSTM with significantly fewer parameters and parallelizable training via the parallel prefix scan algorithm.
- Empirically compare minGRU/minLSTM to GRU/LSTM and to recent models like Mamba across multiple tasks (synthetic, RL, language modeling).

Experimental results
Research questions
- RQ1Can classic LSTM/GRU architectures be reformulated to allow parallel training without backpropagation through time?
- RQ2Do minimal variants (minGRU/minLSTM) achieve competitive performance with far fewer parameters and in parallel, compared to Transformers and state-of-the-art recurrent models?
- RQ3What are the trade-offs in speed, memory, and stability when removing hidden-state dependencies and output-range constraints?
- RQ4Do minimal RNNs scale to tasks used to benchmark modern sequence models (Selective Copying, D4RL RL tasks, language modeling)?
Key findings
- minGRU and minLSTM enable parallel training via the parallel scan algorithm, achieving ~175× speedups for sequence length 512 and ~235× for LSTM (length 512) relative to traditional RNNs in reported experiments.
- The minimal models use significantly fewer parameters (e.g., minGRU ~ O(2 d_h d_x) vs GRU ~ O(3 d_h (d_x + d_h)); minLSTM ~ O(3 d_h d_x) vs LSTM ~ O(4 d_h (d_x + d_h))).
- In training/runtime comparisons, minGRU/minLSTM show runtime on par with Mamba, and dramatically faster than traditional RNNs, with sequence length 512: 2.97 ms (minLSTM), 2.72 ms (minGRU), 2.71 ms (Mamba).
- For longer sequences (length 4096), minGRU and minLSTM maintain large speedups (1324× and 1361× faster per training step for GRU/LSTM vs their minimal counterparts).
- On Selective Copying and D4RL RL benchmarks, minGRU/minLSTM solve tasks at competitive or superior levels compared with S4, Hyena, and Transformer-based baselines, and exceed Decision S4 in average performance across several datasets.
- On Shakespeare language modeling, minGRU/minLSTM achieved test losses close to Mamba and Transformers, with Transformers requiring notably more training steps to reach similar performance (about 2.5× more steps).

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.