RADLADS: Rapid Attention Distillation to Linear Attention Decoders at Scale

Daniel Goldstein, Eric Alcaide, Janna Lu, Eugene Cheah

TL;DR

The paper introduces RADLADS (Rapid Attention Distillation to Linear Attention Decoders at Scale), a highly efficient protocol for converting standard softmax attention transformers into linear attention decoder models (pure RNNs). By requiring only 350–700 million tokens—less than 0.005% of the original pre-training data—RADLADS can convert a massive 72B parameter model for under $2,000 USD while maintaining performance close to the original teacher model and delivering up to a 3.41x boost in inference speed.

What Problem Does This Paper Address?

While traditional softmax attention transformers achieve state-of-the-art performance, their quadratic $O(N^2)$ computational and memory complexity makes processing long sequences incredibly expensive. At inference time, they require a massive Key-Value (KV) cache that severely bottlenecks memory bandwidth.

Linear attention alternatives and modern Recurrent Neural Networks (RNNs) like RWKV and Mamba offer a solution: they operate with $O(1)$ time complexity per token and constant memory usage during inference. However, training these models from scratch to match the quality of top-tier transformers requires trillions of tokens and millions of dollars. Prior attempts to convert existing transformer weights into linear attention models either suffered from severe performance degradation or still required billions of tokens of fine-tuning. RADLADS bridges this gap by offering a rapid, low-cost conversion protocol that scales up to tens of billions of parameters.

Methods

The RADLADS protocol replaces the transformer's softmax attention blocks with purely recurrent sequence-mixing blocks while keeping the rest of the architecture (like MLPs and embeddings) intact. The authors introduce two simplified, hardware-efficient RWKV variants for this purpose: RAD-RWKV6 ("RADFinch") and RAD-RWKV7 ("RADGoose").

The conversion follows a structured 3-step pipeline:

  1. Setup (Attention Weights Transfer): Attention-related weights ($W_q, W_k, W_v, W_o$) are mapped directly from the teacher to the student model to provide a strong initialization.
  2. Step 1 (Attention Hidden State Alignment): The student sequence-mixing layers are trained in parallel alongside a frozen teacher model to approximate the teacher's hidden state outputs using an L2 distance loss. This step requires only ~100M tokens.
  3. Step 2 & 3 (Knowledge Distillation & Context Extension): The full student model is trained using Kullback-Leibler (KL) divergence to match the teacher's output logits. Finally, the model is fine-tuned on longer sequences to restore long-context capabilities. Alternatively, an integrated step ("Step 2a") can handle both logit distillation and context extension simultaneously using separate learning rates for the sequence mixer and the rest of the model.
Figure 1: Conversion Method Steps

Datasets

The authors utilized the DCLM dataset for all distillation and fine-tuning steps.

To evaluate downstream performance, the converted models were tested against standard benchmarks including MMLU, Lambada, ARC-C, ARC-E, HellaSwag, PIQA, and Winogrande. For more complex, long-context, and reasoning capabilities, they evaluated the models using GSM8K, HumanEval, Passkey, RULER, and the Minerva Math benchmark.

Key Insights and Ideas

  • MLPs Hold the Knowledge: The authors theorized that the bulk of factual knowledge resides within the transformer's MLPs and embeddings. By keeping the learning rate low or frozen for MLPs during logit distillation, they successfully prevented catastrophic forgetting.
  • Pre-training Features Can Hinder Conversion: Interestingly, certain architectural mechanisms designed to improve from-scratch RNN pre-training (like RWKV's "tokenshift" or off-by-one decay) actually made it harder for the student to mimic the teacher's hidden states. Removing them simplified the architecture, improved distillation alignment, and increased inference speed.
  • The Normalization Bottleneck at Scale: Many linear attention models use GroupNorm or LayerNorm to stabilize attention heads. However, the authors discovered that this approach causes severe training instabilities when scaling past 14B parameters due to unbounded input growth. Replacing normalization with a key pre-scaling mechanism resolved the issue.

Key Results

RADLADS achieves a new state-of-the-art for pure RNN downstream performance across models up to 72B parameters.

  • High Performance Retention: As shown in the benchmarking tables, the converted "QRWKV" models retain the vast majority of their teacher models' capabilities. For instance, the QRWKV6-72B-Instruct model achieves an MMLU score of 77.5% compared to its teacher's (Qwen2.5-72B-Instruct) 83.4%.
  • Inference Speedup: At inference time, the elimination of the KV cache yields massive throughput gains. When evaluated on an NVIDIA H100 GPU with a 6k token input and 2k token output prompt, QRWKV7-32B achieved a 3.41x speedup over the original Qwen3-32B transformer.
Extracted table from page 1 of RADLADS: Rapid Attention Distillation to Linear Attention Decoders at Scale

Limitations and Future Work

Despite excellent results on standard benchmarks, the distilled linear attention models still show a performance drop on complex, long-context reasoning tasks like GSM8K and the RULER benchmark compared to their transformer teachers. Furthermore, the authors noted that during reasoning tasks, the models occasionally fell into repetitive looping behaviors.

To address these gaps, future work will explore training on specialized data mixtures (such as combining general text with chain-of-thought datasets like OpenThoughts). The authors also suggest exploring synthetic data generation directly from the teacher model to ensure the distillation data remains perfectly in-distribution, as well as extending the protocol to convert transformers into hybrid attention-RNN architectures.

Summary updated

Abstract

We present Rapid Attention Distillation to Linear Attention Decoders at Scale (RADLADS), a protocol for rapidly converting softmax attention transformers into linear attention decoder models, along with two new RWKV-variant architectures, and models converted from popular Qwen2.5 open source models in 7B, 32B, and 72B sizes. Our conversion process requires only 350-700M tokens, less than 0.005% of the token count used to train the original teacher models. Converting to our 72B linear attention model costs less than \$2,000 USD at today's prices, yet quality at inference remains close to the original transformer. These models achieve state-of-the-art downstream performance across a set of standard benchmarks for linear attention models of their size. We release all our models on HuggingFace under the Apache 2.0 license, with the exception of our 72B models which are also governed by the Qwen License Agreement. Models at https://huggingface.co/collections/recursal/radlads-6818ee69e99e729ba8a87102 Training Code at https://github.com/recursal/RADLADS-paper
BibTeX
@inproceedings{goldstein2025radlads,
  author = {Daniel Goldstein and Eric Alcaide and Janna Lu and Eugene Cheah},
  title = {{RADLADS: Rapid Attention Distillation to Linear Attention Decoders at Scale}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=38GehGepDd},
}
Figure