paper-with-me

Papers

dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching

2025-05-17 · Zhiyuan Liu, Yicun Yang, Yaojie Zhang, Junjie Chen, Chang Zou, Qingyuan Wei, Shaobo Wang, Linfeng Zhang

Autoregressive Models (ARMs) have long dominated the landscape of Large Language Models. Recently, a new paradigm has emerged in the form of diffusion-based Large Language Models (dLLMs), which generate text by iteratively denoising masked segments. This approach has shown significant advantages and potential. However, dLLMs suffer from high inference latency. Traditional ARM acceleration techniques, such as Key-Value caching, are incompatible with dLLMs due to their bidirectional attention mechanism. To address this specific challenge, our work begins with a key observation that dLLM inference involves a static prompt and a partially dynamic response, where most tokens remain stable across adjacent denoising steps. Based on this, we propose dLLM-Cache, a training-free adaptive caching framework that combines long-interval prompt caching with partial response updates guided by feature similarity. This design enables efficient reuse of intermediate computations without compromising model performance. Extensive experiments on representative dLLMs, including LLaDA 8B and Dream 7B, show that dLLM-Cache achieves up to 9.1 x speedup over standard inference without compromising output quality. Notably, our method brings dLLM inference latency close to that of ARMs under many settings. Codes are provided in the supplementary material and will be released publicly on GitHub.

📄 PDF Abstract BibTeX arXiv:2506.06295

Code (1)

maomaocun/dllm-cache jax

Tasks

Denoising

Similar Papers 제목 키워드 기반

d$^2$Cache: Accelerating Diffusion-Based LLMs via Dual Adaptive Caching

2025-09-27 · Yuchu Jiang, Yue Cai, Xiangzhong Luo, Jiale Fu 외 arxiv

Diffusion-based large language models (dLLMs), despite their promising performance, still suffer from inferior inference efficiency. This is because dLLMs rely on bidirectional attention and cannot directly benefit from …

Sparse-dLLM: Accelerating Diffusion LLMs with Dynamic Cache Eviction

2025-08-04 · Yuerong Song, Xiaoran Liu, Ruixiao Li, Zhigeng Liu 외 arxiv

Diffusion Large Language Models (dLLMs) enable breakthroughs in reasoning and parallel decoding but suffer from prohibitive quadratic computational complexity and memory overhead during inference. Current caching techniq…

Streaming-dLLM: Accelerating Diffusion LLMs via Suffix Pruning and Dynamic Decoding

2026-01-25 · Zhongyu Xiao, Zhiwei Hao, Jianyuan Guo, Yong Luo 외 arxiv

Diffusion Large Language Models (dLLMs) offer a compelling paradigm for natural language generation, leveraging parallel decoding and bidirectional attention to achieve superior global coherence compared to autoregressiv…

Accelerating Diffusion Large Language Models with SlowFast: The Three Golden Principles

2025-06-12 · Qingyan Wei, Yaojie Zhang, Zhiyuan Liu, Dongrui Liu 외

Diffusion-based language models (dLLMs) have emerged as a promising alternative to traditional autoregressive LLMs by enabling parallel token generation and significantly reducing inference latency. However, existing sam…

Efficient On-Device Diffusion LLM Inference with Mobile NPU

2026-06-11 · Tuowei Wang, Yanfan Sun, Ju Ren arxiv

Diffusion large language models (dLLMs) accelerate generation by denoising multiple tokens in parallel, making them attractive for latency-sensitive mobile inference. However, repeated denoising introduces substantial co…