TL;DR
Time-Anchored Diffusion Language Models (TADM) introduce a "latent-space caching" mechanism that significantly speeds up text generation by reusing expensive hidden representations across multiple denoising steps. By periodically refreshing these "anchors" and using a lightweight fusion module to correct them, TADM achieves up to a 79% throughput boost in models like DiffusionGemma-26B with negligible loss in accuracy.
What Problem Does This Paper Address?
Diffusion Language Models (DLMs) offer a compelling alternative to standard autoregressive models because they can refine entire sequences at once, allowing for bidirectional attention and error correction. However, their Achilles' heel is inference speed. Unlike autoregressive models that generate one token at a time, DLMs typically require dozens of full model evaluations to "denoise" a sequence from random noise into coherent text.
Previous attempts to speed this up, like the Anchored Diffusion Language Model (ADLM), required supervised "anchor tokens"—specific important words the model had to predict first. This requires task-specific labels and doesn't always generalize. The authors of TADM ask: Can we find a way to cache and reuse the model's internal "plan" or "global structure" without needing explicit supervision?
Methods
The core idea of TADM is that while the specific tokens in a sequence change rapidly during denoising, the high-level semantic intent (the "anchor") remains relatively stable across nearby time steps.
To exploit this, the authors decompose the standard denoising network into four parts:
- Shared Network: A lightweight encoder that processes the current noisy state at every step.
- Anchor Network: The "heavy lifter" (containing most of the Transformer layers) that generates a deep latent representation. This is evaluated only once every $K$ steps and its output is cached.
- Fusion Module: A tiny, learned component that intelligently combines the "stale" cached anchor with the current state.
- Denoiser Network: A lightweight decoder that produces the final token predictions.
The framework is instantiated in two ways:
- TADM:Post-train: A method to "anchorize" existing pretrained DLMs (like DiffusionGemma) by training only a tiny 3.1M parameter fusion module while keeping the rest of the 26B parameter model frozen.
- TADM:Pretraining: Learning these cacheable representations from scratch using a new objective called the Time-Anchored Negative Evidence Lower Bound (T-ANELBO).
Datasets
The authors evaluated TADM across a wide variety of challenging reasoning and coding benchmarks:
- Reasoning & STEM: GSM8K (grade-school math), AIME26 (math competitions), GPQA-Diamond (expert-level science), and MMLU-Pro.
- Coding: HumanEval and LiveCodeBench-v6.
- Generalization: Zero-shot perplexity was tested on Lambada, PTB, Wikitext, LM1B, AG News, PubMed, and ArXiv.
- Training Data: Post-training used UltraData-SFT and Nemotron datasets; pretraining was performed on OpenWebText.
Key Insights and Ideas
- Semantic Persistence: The "aha moment" is the realization that global structure—like the logical flow of a math proof or the architecture of a code block—is a persistent property. Even if the hidden representations become technically "stale" as tokens are unmasked, their semantic content remains useful for several steps.
- Latent-Space Caching: Unlike standard KV-caching in autoregressive models (which saves local attention states), TADM caches a global latent state. The fusion module acts as a "correction" mechanism, allowing the model to use a stale plan while adjusting for the most recent changes in the token canvas.
- Tunable Efficiency: The refresh interval $K$ acts as a "speed dial." A higher $K$ means more speed but potentially lower quality, giving users a direct way to trade off compute for performance.
Key Results
TADM demonstrates that you can get significant speedups without the "diffusion tax" usually paid in accuracy.
- Throughput Gains: Applied to DiffusionGemma-26B, TADM:Post-train improved throughput by 49% to 79% across math and code benchmarks.
- Accuracy Preservation: As shown in Table 1, increasing the refresh interval $K$ to 3 steps yields a 1.76x speedup on GSM8K while actually slightly increasing accuracy (+0.16 pp).
- Compute Reduction: TADM:Pretraining reduced Transformer-layer computation by up to 38% relative to standard DLMs and achieved 73% higher throughput than the previous state-of-the-art ADLM.
Limitations and Future Work
The authors note that generation quality eventually degrades if the anchor refresh interval $K$ is too large, as the cache becomes too disconnected from the evolving sequence. Additionally, TADM:Post-train is naturally limited by the capabilities of the underlying frozen backbone model.
Future research could explore adaptive refresh intervals, where the model decides to re-evaluate the expensive anchor network only when it detects a significant shift in the sequence's semantic direction, rather than on a fixed schedule.
Summary updated