Bridging Transformers and RWKV: Towards Efficient Multimodal Video Understanding

Chenye Han, Jixiang Luo, Mengyue Wu, Dell Zhang, Xuelong LiOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces a hybrid RWKV-Transformer architecture designed to tackle the computational bottleneck of processing hour-long videos in Multimodal Large Language Models (MLLMs). By replacing a portion of standard Transformer layers with efficient RWKV (linear RNN) modules and reusing pre-trained weights through a progressive distillation strategy, the authors achieve a 20% throughput boost while matching or even exceeding the performance of pure Transformer models on long-video benchmarks.

What Problem Does This Paper Address?

Modern video MLLMs are caught in a "complexity trap." To understand a video, they must process thousands of visual tokens. Standard Transformers rely on causal self-attention, which has a quadratic computational complexity ($O(N^2)$). As video length increases, the memory and time required to process these tokens explode, making hour-long video analysis prohibitively expensive.

Existing workarounds usually involve token compression (e.g., pooling frames or using a Q-Former), but these methods often discard fine-grained details necessary for complex reasoning. Alternatively, linear RNNs like Mamba or RWKV offer linear scaling ($O(N)$), but they often suffer from "history decay"—forgetting early information in very long sequences—and typically require expensive training from scratch.

Methods

The authors propose a hybrid approach that bridges the gap between the expressive power of Transformers and the efficiency of RNNs.

  1. Hybrid Decoder Layers: The model (built on Qwen2.5-VL-7B) replaces selected self-attention layers with RWKV-v6-Finch modules.
  2. Weight Initialization (Parameter Remapping): Instead of training from scratch, the authors observed structural similarities between linear attention and RWKV. They mapped pre-trained Transformer attention weights ($W_Q, W_K, W_V$) directly onto RWKV’s receptance, key, and value matrices. This allows the model to "inherit" knowledge from the original Transformer.
  3. Scene Token Encoding: To mitigate RWKV’s history decay, the model segments videos into scenes based on inter-frame cosine similarity. These frames are pooled into scene tokens, which act as global anchors.
  4. Cross-Attention & Dynamic Gating: The hybrid layers include a parallel cross-attention branch where text tokens interact with the global scene tokens. A dynamic gating mechanism then decides, on a per-token basis, how much of this global visual context to fuse into the hidden state.
  5. Progressive Distillation: The model is trained in three stages:
  6. Stage 1: Aligning new RWKV and cross-attention modules using image-caption and short video data.
  7. Stage 2: Aligning the hybrid decoder layers to mimic their original Transformer counterparts.
  8. Stage 3: Full LLM fine-tuning using a dual-objective loss (KL divergence from the teacher model + next-token prediction).

Datasets

  • Training: The authors used ShareGPT4V-PT (342k image-caption pairs) and LLaVA-Video-178k (split into short, medium, and long segments).
  • Evaluation: The model was tested on several rigorous benchmarks:
  • VNBench: For "needle-in-a-haystack" visual retrieval.
  • Video-MME & MLVU: For multi-task long video understanding.
  • LVBench & LongVideoBench: Specifically for ultra-long video contexts (averaging over an hour).

Key Insights and Ideas

  • Late Replacement is Key: The authors found that replacing late layers (near the end of the model) with RWKV works significantly better than replacing early layers. Early layers appear critical for foundational language and visual feature propagation; disrupting them harms the entire model's representational power.
  • Distillation vs. SFT: Interestingly, the authors found that using distillation loss alone (matching the teacher's output distribution) outperformed combining it with standard Supervised Fine-Tuning (SFT). They attribute this to the noise present in some SFT datasets, which can disrupt the alignment with the pre-trained teacher.
  • Global Anchors Matter: While RWKV is great at local dependencies, the cross-attention to scene tokens was vital. It provides the "global map" that prevents the linear RNN from getting lost in the weeds of a long sequence.

Key Results

  • Efficiency: Replacing 25% of layers (7 layers) resulted in a 20% increase in inference throughput. Replacing all layers nearly doubled the throughput, though with a higher performance trade-off.
  • Performance: The 25% hybrid model achieved an average score of 74.0% on VNBench and 46.8% on LVBench, actually outperforming the original pure-Transformer Qwen2.5-VL baseline (73.4% and 45.3% respectively).
  • Training Cost: Unlike other hybrid models (like Vamba) that require millions of samples to recover performance, this method achieved competitive results with only 1.4M training samples thanks to the weight remapping strategy.

Limitations and Future Work

  • Performance Cliff: There is a clear limit to how many layers can be replaced. At 50% replacement, the model showed a significant drop in performance on benchmarks like Video-MME, suggesting that the quadratic attention of Transformers is still doing heavy lifting for certain types of reasoning.
  • History Decay: Despite the scene tokens, the linear RNN components still face some degree of information loss over extremely long sequences compared to full-attention models.
  • Future Directions: The authors suggest exploring more sophisticated layer-replacement patterns and scaling the hybrid architecture to even larger parameter counts (e.g., 72B models) where the efficiency gains would be even more impactful.

Summary updated

Abstract

Transformer-based Multimodal Large Language Models (MLLMs) struggle to process hour-long video inputs due to the quadratic computational complexity of causal self-attention, leading to prohibitively high computational costs during both training and inference. Existing token compression approaches reduce the number of video tokens, but often suffer from significant information loss and remain inefficient for extremely long sequences. In this work, we propose a hybrid RWKV-Transformer model that distills transformer layers into linear RNNs by reusing their attention projection weights, guided by a progressive distillation strategy. Without any token reduction, when replacing about 25\% of standard Transformer layers with RWKV modules improves throughput by 20\% compared to the original Transformer model, while matching its performance on multiple video understanding benchmarks such as Video-MME and MLVU, and even outperforming it on VNBench and LVBench, with average scores of 74.0\% and 46.8\%, respectively.
BibTeX
@misc{han2026bridging,
  author = {Chenye Han and Jixiang Luo and Mengyue Wu and Dell Zhang and Xuelong Li},
  title = {{Bridging Transformers and RWKV: Towards Efficient Multimodal Video Understanding}},
  year = {2026},
  url = {https://openreview.net/forum?id=kmNqnwA4aV},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure