A Survey of RWKV
Zhiyuan Li, Tingyu Xia, Yi Chang, Yuan Wu
TL;DR
RWKV presents a viable hybrid alternative to conventional Transformers by merging recurrent-style time- and channel-mixing with a linear-time attention mechanism, achieving $O(Td)$ time and $O(d)$ memory while modeling long-range dependencies. The survey synthesizes RWKV’s architectural evolution from RWKV-4 through RWKV-6 (and Goose preview), compares it to Transformer-based and state-space model enhancements, and documents a wide spectrum of NLP, computer vision, audio, and web applications. It also surveys extensive evaluations across 17 benchmarks, discusses limitations in long-context processing, and analyzes security, bias, privacy, and hardware considerations, offering concrete future directions such as long-sequence processing, multimodal learning, and parameter-efficient fine-tuning. The work consolidates open-source resources and implementations to guide researchers and practitioners in adopting and extending RWKV across domains and platforms.
Abstract
The Receptance Weighted Key Value (RWKV) model offers a novel alternative to the Transformer architecture, merging the benefits of recurrent and attention-based systems. Unlike conventional Transformers, which depend heavily on self-attention, RWKV adeptly captures long-range dependencies with minimal computational demands. By utilizing a recurrent framework, RWKV addresses some computational inefficiencies found in Transformers, particularly in tasks with long sequences. RWKV has recently drawn considerable attention for its robust performance across multiple domains. Despite its growing popularity, no systematic review of the RWKV model exists. This paper seeks to fill this gap as the first comprehensive review of the RWKV architecture, its core principles, and its varied applications, such as natural language generation, natural language understanding, and computer vision. We assess how RWKV compares to traditional Transformer models, highlighting its capability to manage long sequences efficiently and lower computational costs. Furthermore, we explore the challenges RWKV encounters and propose potential directions for future research and advancement. We consistently maintain the related open-source materials at: https://github.com/MLGroupJLU/RWKV-Survey.
