The 2020 inflection point
By 2020, Transformers had largely displaced LSTMs and GRUs for NLP. Three concrete advantages drove the shift:
- Training parallelism. RNNs are sequential — step 5 cannot begin until step 4 finishes. A 1,000-token sequence requires 1,000 sequential operations regardless of GPU count. Transformers process all positions simultaneously via attention. Same model, 10–100× faster training.
- Long-range dependencies. In LSTM, information from token 1 to token 1,000 must survive 999 non-linear transformations. In Transformer, every token attends directly to every other — distance is exactly 1 attention step.
- Scaling laws. Transformer models improve predictably as parameters and data scale. LSTMs hit ceilings that more data couldn't break through. GPT and BERT proved scaling Transformers produces qualitative capability jumps.
RNNs are not dead. LSTMs and GRUs remain useful for on-device/edge deployment (constant memory regardless of sequence length), real-time streaming (audio processing, sensor data), and small datasets where Transformer data-hunger is a disadvantage. For these, RNNs are still the right tool in 2026.