NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Flash-dLLM: IO-Aware KV Caching and Parallel Decoding for Fast, Memory-Efficient Diffusion LLMs

Quan Nguyen-Tri, Mukul Ranjan, Zhiqiang Shen

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Diffusion LLM Inference · Type: new method · Keywords: diffusion LLMs, KV caching, parallel decoding, inference acceleration, memory efficiency

Areas: Memory › Model Memory Optimization › KV Cache Optimization

Summary

Flash-dLLM is a training-free inference acceleration framework that uses an I/O-aware fused KV-cache kernel and a KV-cache-driven draft-and-verify decoding strategy to speed up and reduce memory usage of diffusion LLMs.

Explained to a 5-year-old

Diffusion LLMs are a new kind of language model that can generate text all at once, like drawing a picture instead of writing letter by letter. They are slow and use a lot of memory because they have to remember a lot of information while generating. The new method makes them faster by remembering information in a smarter way that moves less data around. It also checks its work in parallel, like two kids reading the same story and confirming it together. This helps the models generate text quicker and use less memory, making them easier to use on computers.

Explained to a 5-year-old, longer

Diffusion LLMs are a type of language model that can produce text all at once, rather than one word at a time. They are promising because they can generate complete answers quickly, like a magic writer. However, they need a lot of memory to keep track of the words they have already thought of. The current way of doing this is like writing everything on a big piece of paper, which is slow and uses a lot of space. The new idea looks at how the computer moves information around and finds that moving data back and forth is a big slowdown. It creates a special way to store the remembered information that reduces the amount of data that needs to be moved. Then it uses this stored information to generate a draft of the answer and also check that draft at the same time. The model itself does both the drafting and checking, so no extra helper model is needed. This parallel checking makes the generation faster and keeps the answer accurate. It also works better when the text is long or the model is huge, because it uses memory more efficiently. As a result, the new method lets diffusion LLMs run faster and use less memory on regular computers. This makes it easier for people to use these models in real-world tasks like writing code or solving math problems.

For a technical reader

The paper addresses the inference inefficiency of diffusion LLMs by optimizing KV caching and parallel decoding. It identifies GPU memory I/O as a bottleneck and proposes an I/O-aware fused KV-cache kernel to reduce data movement. Building on this, a draft-and-verify decoding strategy leverages the same model for both generation and verification, eliminating the need for an auxiliary verifier. This unified design improves speed and memory scalability for longer sequences and larger models. Experiments on math reasoning and code generation benchmarks show consistent gains over existing acceleration methods.

Problem

Diffusion LLMs suffer from inefficient inference due to lack of effective KV caching and parallel decoding, and existing methods ignore I/O bottlenecks when combining cache reuse and parallel token verification.

Method

The approach identifies GPU memory I/O as a bottleneck and introduces an I/O-aware fused KV-cache kernel to reduce redundant memory movement. It then employs a KV-cache-driven draft-and-verify decoding strategy where the dLLM itself acts as both drafter and verifier, enabling faster parallel decoding while preserving quality.

Results

The approach achieves higher inference speed and lower memory usage compared to existing dLLM acceleration methods across mathematical reasoning and code generation benchmarks.

Contributions

It introduces an I/O-aware fused KV-cache kernel and a KV-cache-driven draft-and-verify decoding strategy that jointly address memory I/O bottlenecks, enabling faster and more scalable inference for diffusion LLMs.

Practical relevance

The framework enables faster and more memory-efficient deployment of diffusion LLMs on GPUs, facilitating practical use in tasks like code generation and mathematical reasoning.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction