RADLADS: Rapid Attention Distillation to Linear Attention Decoders at Scale

๐Ÿ“… 2025-05-05
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
To address the high inference overhead and deployment challenges of softmax-based attention in Transformers, this paper proposes an efficient distillation framework that rapidly converts standard Transformer models (7B/32B/72B) into linear-complexity RWKV-style decoders. The method integrates attention mechanism distillation, structural reparameterization, and lightweight fine-tuning, requiring only 350โ€“700M tokens (<0.005% of original pretraining data) for conversion. It marks the first successful realization of a 72B-scale linear-attention decoder, achieving inference quality nearly on par with the original models and attaining state-of-the-art performance among comparable methods on mainstream benchmarks. The total conversion cost remains under $2,000. All distilled models are publicly released under the Apache 2.0 + Qwen license, enabling broad research and practical adoption.

Technology Category

Application Category

๐Ÿ“ 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
Problem

Research questions and friction points this paper is trying to address.

Convert softmax attention transformers to linear attention decoders efficiently
Reduce training tokens needed for conversion to under 0.005%
Maintain inference quality close to original transformer models
Innovation

Methods, ideas, or system contributions that make the work stand out.

Converts softmax transformers to linear attention decoders
Requires minimal tokens for distillation process
Achieves state-of-the-art performance cost-effectively
๐Ÿ”Ž Similar Papers
No similar papers found.
D
Daniel Goldstein
Recursal AI, EleutherAI
E
Eric Alcaide
Dalle Molle Institute for Artificial Intelligence USI-SUPSI, EleutherAI
J
Janna Lu
George Mason University, Recursal AI
E
Eugene Cheah
Recursal AI