Back to search

The University of Texas at Austin

Block-wise KV caching for uniform diffusion language models

Abstract

dc:description.abstract

Diffusion language models offer a parallel alternative to autoregressive generation: rather than predicting tokens left-to-right, they iteratively refine an entire sequence from noise in a fixed number of steps. (Austin et al., 2021; Hoogeboom et al., 2021). Among these, uniform diffusion models have shown promise for their self-correction capability, few-step generation ability, and better scaling properties compared to masked diffusion models (von Rutte et al., 2025a,b). However, the iterative denoising process requires a full transformer forward pass at every step, creating a major computational bottleneck. Prior work has applied KV caching for masked diffusion models (Wu et al., 2025; Ma et al., 2025; Liu et al., 2025; Nguyen-Tri et al., 2025), but it has remained an open question whether similar approaches would work for uniform diffusion models. We present Uniform-Cache, a simple and effective KV caching mechanism for uniform diffusion language models based on block-wise generation. On the first step of each block, we recompute the entire sequence to update KV states, which are reused for every subsequent step within the block. After the first full forward pass that populates the cache, each subsequent step recomputes only the current block’s tokens, attending them against the full cached sequence. We show empirically that KV drift is semi-local: it is concentrated in positions near recent token changes, making it highest in the current block and decaying sharply for both past and future blocks. Completed blocks receive 24–1000× lower drift than the current block while accounting for ∼26% of attention mass; the prompt and future blocks are similarly stable. Cached KV states are therefore accurate precisely where the model attends most, making block-only recompute a natural fit with negligible impact on measured generative perplexity. Evaluated on the GIDD 3B and 10B uniform diffusion models, Uniform-Cache achieves up to 12.2× speedup over the uncached baseline. Operation-level profiling shows attention computation reduces by 13.4×. Our empirical analysis of token dynamics, KV drift patterns, entropy evolution, and the interaction between sampling strategies and caching provides grounded empirical support for each design decision and offers broader insight into the mechanics of uniform diffusion denoising.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
MASTERS
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor
The University of Texas at Austin
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Barry, Nathan
Advisor dc:contributor.advisor
  • Akella, Aditya
Committee member dc:contributor.committeemember
  • Neeraja J. Yadwadkar

Subjects

dc:subject × 4

Rights

Language dc:language.iso
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Texas
Base URL
repositories.lib.utexas.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Barry, Nathan. Block-wise KV caching for uniform diffusion language models. MASTERS thesis, The University of Texas at Austin, 2026. https://doi.org/10.26153/tsw/64722