ModRWKV: Transformer Multimodality in Linear Time
Jiale Kang, Ziyin Yue, Qingyu Yin, Jiang Rui, Weile Li, Zening Lu, Zhouran Ji
TL;DR
ModRWKV investigates transforming multimodal large language modeling from transformer-centric to an efficient, linear-time paradigm by building a modular RNN-based framework on RWKV7. It combines lightweight modality encoders (vision, audio, time series), a single-MLP adapter, and 1D sequence compression to fuse diverse signals with the RWKV backbone. Across seven multimodal benchmarks and time-series tasks, ModRWKV achieves competitive or superior results relative to larger vision-language models, while maintaining lower computational demands, aided by pretraining weights (G1) that enhance multimodal understanding. The work demonstrates that modern RNN architectures can be viable alternatives to Transformers for MLLMs, offering practical benefits in efficiency and scalability, and it identifies key design choices that drive performance, such as encoder selection and sequence compression strategies.
Abstract
Currently, most multimodal studies are based on large language models (LLMs) with quadratic-complexity Transformer architectures. While linear models like RNNs enjoy low inference costs, their application has been largely limited to the text-only modality. This work explores the capabilities of modern RNN architectures in multimodal contexts. We propose ModRWKV-a decoupled multimodal framework built upon the RWKV7 architecture as its LLM backbone-which achieves multi-source information fusion through dynamically adaptable heterogeneous modality encoders. We designed the multimodal modules in ModRWKV with an extremely lightweight architecture and, through extensive experiments, identified a configuration that achieves an optimal balance between performance and computational efficiency. ModRWKV leverages the pretrained weights of the RWKV7 LLM for initialization, which significantly accelerates multimodal training. Comparative experiments with different pretrained checkpoints further demonstrate that such initialization plays a crucial role in enhancing the model's ability to understand multimodal signals. Supported by extensive experiments, we conclude that modern RNN architectures present a viable alternative to Transformers in the domain of multimodal large language models (MLLMs). Furthermore, we identify the optimal configuration of the ModRWKV architecture through systematic exploration.
