Research map / Architectures and efficiency / Attention and transformers
RWKV: Reinventing RNNs for the Transformer Era
Bo Peng, Eric Alcaide, Quentin Anthony, Alon Albalak, Samuel Arcadinho, Stella Biderman, Huanqi Cao, Xin Cheng, Michael Chung, Xingjian Du, Matteo Grella, Kranthi Kiran GV and 23 more
Tsinghua University · Peking University · Kuaishou · Booz Allen Hamilton · Criteo AI Lab
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| re-order prompt to suit RWKV instead of the GPT prompt order (ablation) | RWKV · ChatGPT/GPT-4 comparison task (appendix) | F1: 44.2% -> 74.8% | Improved |
| increase fine-tuning context length (1024 -> 2048 -> 4096 -> 8192) (ablation) | RWKV · Pile test loss | test loss | Improved |
| initialize embeddings small with extra LayerNorm (small init emb) (ablation) | RWKV training · training loss (batch size 400) | training loss | Improved |
| scale RWKV compute (45 models) | RWKV · Pile loss vs compute | r^2 of log-log linear fit: r^2 0.994 (fit); 0.875 (extrapolated one order of magnitude) | Improved |
| use RWKV instead of S4 | RWKV · Long Range Arena Image | accuracy: 88.65 -> 70.53 | Hurt |
| use RWKV instead of S4 | RWKV · Long Range Arena Pathfinder | accuracy: 94.20 -> 58.42 | Hurt |
| use RWKV instead of S4 | RWKV · Long Range Arena ListOps/Text/Retrieval | accuracy: ListOps 59.60 -> 55.88; Text 86.82 -> 86.04; Retrieval 90.90 -> 88.34 | Hurt |
| use RWKV instead of Transformer-family baselines | RWKV · Long Range Arena average | accuracy: 53.66 (Transformer) -> 72.07 | Improved |
Later papers that compared with this method
5 later accepted papers report RWKV as a baseline in their results tables; 4 of them report a better number on most of the results they share with it.
- Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing (ICLR 2025 · better on 3 of 5 shared results)
- L3TC: Leveraging RWKV for Learned Lossless Low-Complexity Text Compression (AAAI 2025 · better on 3 of 3 shared results)
- Memory Mosaics (ICLR 2025 · better on 0 of 2 shared results)
- Hyena Hierarchy: Towards Larger Convolutional Language Models (ICML 2023 · better on 3 of 3 shared results)
- Hierarchically Gated Recurrent Neural Network for Sequence Modeling (NeurIPS 2023 · better on 1 of 1 shared result)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Closest papers by meaning
- Separations in the Representational Capabilities of Transformers and Recurrent Architectures (NeurIPS 2024 · similarity 0.89)
- Do Transformer Interpretability Methods Transfer to RNNs? (AAAI 2025 · similarity 0.89)
- M$^2$RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling (NeurIPS 2026 · similarity 0.88)
- RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modeling (NeurIPS 2025 · similarity 0.87)
- When Do Transformers Outperform Feedforward and Recurrent Networks? A Statistical Perspective (NeurIPS 2025 · similarity 0.87)
- Learning Useful Representations of Recurrent Neural Network Weight Matrices (ICML 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
