Linear Attention Retrofitted into Diffusion LLMs for Faster Inference.

Jinha Kim, Younghun Roh, Jaeyeon Kim· August 10, 2026 View original

Key takeaways

  • Linear attention can be retrofitted into pretrained dLLMs with minimal post-training.
  • This "block-hybrid attention" combines exact softmax with linear attention for efficiency.
  • The approach significantly boosts decoding throughput (up to 1.7x) and memory efficiency.
  • Performance benchmarks are largely preserved, making it a practical optimization.

Who benefits

AI EngineeringCloud ComputingSoftware DevelopmentContent GenerationResearch

Summary

Researchers successfully retrofitted linear attention into pretrained Diffusion Language Models (dLLMs) using a block-hybrid attention mechanism, significantly accelerating inference throughput by up to 1.7x and improving memory efficiency without sacrificing benchmark performance.

Diffusion Language Models (dLLMs) offer faster inference than autoregressive models through parallel decoding, typically using blockwise semi-autoregressive generation. However, even with KV caching, each denoising step still incurs a significant prefix-attention cost by attending to all previous blocks. This bottleneck limits further acceleration. To address this, a new approach introduces "block-hybrid attention," which combines exact softmax attention within the active denoising block with linear attention over previous blocks. This hybrid mechanism can be retrofitted into existing pretrained dLLMs with minimal post-training effort. For example, LLaDA-Hybrid, a modification of LLaDA 2.1, replaced six attention layers in just 60 hours. The retrofitted model maintains comparable benchmark performance across tasks like HumanEval, MBPP+, and CMATH. Crucially, a Triton implementation of LLaDA-Hybrid achieved up to 1.7 times higher decoding throughput and supported more concurrent requests before memory exhaustion. This demonstrates that linearizing attention in pretrained dLLMs is an efficient way to achieve faster inference and better memory utilization.

Why it matters

This innovation provides a practical way to significantly speed up the inference of large diffusion language models and reduce their memory footprint, making them more efficient and scalable for real-world deployment.

How to implement this in your domain

  1. 1Evaluate the LLaDA-Hybrid approach for existing or planned dLLM deployments to improve inference speed and reduce operational costs.
  2. 2Investigate retrofitting linear attention into other large language models that use similar blockwise decoding strategies.
  3. 3Benchmark the throughput and memory improvements on specific use cases relevant to your organization.
  4. 4Consider contributing to or leveraging open-source implementations of linear attention for dLLMs.

Original post by Jinha Kim, Younghun Roh, Jaeyeon Kim

"arXiv:2608.06628v1 Announce Type: new Abstract: Diffusion language models (dLLMs) offer a promising alternative to autoregressive models by accelerating inference through parallel decoding. Recent dLLMs commonly use blockwise semi-autoregressive decoding, generating blocks autore…"

View on X

Originally posted by Jinha Kim, Younghun Roh, Jaeyeon Kim on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses