NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerating Diffusion Language Models via Structured Suffix Modeling

Zifeng Cheng, Keda Li, Zhiwei Jiang, Cong Wang, Fei Shen, Qing Gu

TL;DR

The paper introduces Structured Suffix Modeling (SSM), a training-free inference acceleration framework for Diffusion Language Models (DLMs). By treating the token suffix as a heterogeneous structure rather than a uniform pool of redundant tokens, SSM prunes unnecessary computation while preserving critical contextual and boundary cues. When combined with existing acceleration techniques like parallel decoding and prefix caching, SSM achieves up to a 72.81× speedup in long-sequence generation without sacrificing task accuracy.

What Problem Does This Paper Address?

Unlike traditional autoregressive language models that generate text token-by-token, Diffusion Language Models (DLMs) can denoise multiple tokens simultaneously in a single generation step. While this parallel decoding dramatically reduces latency, it introduces a massive computational bottleneck: at every single step, the model must compute attention scores and hidden states for a large number of masked suffix tokens to maintain bidirectional context.

Prior attempts to mitigate this overhead typically relied on simple local windows or uniform token dropout. However, these approaches suffer from two major flaws:

  1. Homogeneous Treatment: They treat all suffix tokens as equally redundant, ignoring the fact that tokens at different distances provide distinct structural, contextual, or boundary cues.
  2. Information Loss: They completely re-initialize suffix tokens as static [MASK] embeddings at each timestep, discarding the valuable denoising signals accumulated during previous iterative refinement steps.

Methods

SSM addresses these limitations through two core components: Role-Aware Suffix Partitioning and Soft Suffix Embedding Mixing.

1. Role-Aware Suffix Partitioning & Retention

The authors analyze attention patterns and divide the suffix into three distinct functional regions, applying a tailored token budget to each:

  • Local Region: Retains all neighboring suffix tokens to preserve fine-grained, short-range contextual dependencies.
  • Middle Region: Retains only the start token of each suffix block. These act as lightweight structural anchors, maintaining the coarse skeleton of the text with minimal computation.
  • Tail Region: Retains both the start and the final token of the sequence to explicitly preserve terminal boundary information, allowing the DLM to plan the remaining generation length.

2. Soft Suffix Embedding Mixing

Instead of resetting the retained suffix tokens to standard [MASK] embeddings at each step, SSM introduces a temporal bridge. At each timestep, it takes the top-$k$ predicted token probabilities from the previous step, constructs a weighted combination of their embeddings, and mixes this "soft decoded" representation with the standard [MASK] embedding (controlled by a hyperparameter $\alpha$). This allows suffix tokens to carry evolving denoising information across generation steps.

Overview of the proposed structured suffix modeling framework.

Datasets

The authors evaluated SSM across three representative DLMs (LLaDA-8B-Instruct, LLaDA-1.5, and Dream-7B-Base) using four standard benchmarks:

  • GSM8K (4-shot): Mathematical reasoning.
  • MATH (4-shot): Advanced mathematical problem-solving.
  • HumanEval (0-shot): Python code generation.
  • MBPP (3-shot): Python code generation.

Key Insights and Ideas

  • The U-Shaped Suffix Attention Curve: By visualizing attention scores, the authors discovered that attention doesn't just decay linearly with distance. It drops rapidly, plateaus in the middle, and then spikes sharply at the very end of the sequence. Suffix tokens are not a homogeneous redundancy reservoir; the boundary matters just as much as the local context.
  • Conciseness as an Accuracy Booster: Interestingly, pruning the suffix often improves strict-match accuracy, particularly on code generation tasks. By exposing the model to fewer redundant suffix tokens, SSM naturally encourages the model to generate more concise, well-formatted outputs, preventing it from wandering into erroneous intermediate reasoning steps.
  • Training-Free Orthogonality: Because SSM modifies only the input representations and sparsity patterns before they enter the model, it requires zero retraining and can be seamlessly stacked on top of other acceleration tricks like KV-caching or advanced parallel decoding strategies.

Key Results

  • Substantial Latency Reductions: On the MBPP dataset using LLaDA-Instruct, SSM achieved a 2.3× speedup over the strongest existing baseline (Streaming+Par.) and reduced latency by up to 81.4% compared to parallel decoding alone.
  • Massive Long-Sequence Speedups: In long-sequence generation scenarios (1024 tokens) using LLaDA-1.5 on GSM8K, combining SSM with parallel decoding and prefix caching delivered a staggering 72.81× speedup compared to vanilla top-1 decoding.
  • Maintained or Improved Accuracy: On GSM8K, SSM+Par. improved strict-match accuracy from 37.38% (Vanilla) to 76.95% on LLaDA-Instruct, outperforming all other suffix-pruning baselines.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Suffix Length Dependency: The efficiency gains are tied directly to the length of the suffix. If a task involves a very long input prompt (prefix) but a very short generation target, the relative speedup diminishes.
  • Scale Constraints: The framework has currently only been validated on models up to 10B parameters; its characteristics on larger scale models (e.g., >70B) remain untested.
  • Minor Dataset Variance: On rare occasions, the aggressive pruning can cause minor performance degradation depending on the specific dataset distribution.

Summary updated

BibTeX
@inproceedings{cheng2026accelerating,
  author = {Zifeng Cheng and Keda Li and Zhiwei Jiang and Cong Wang and Fei Shen and Qing Gu},
  title = {{Accelerating Diffusion Language Models via Structured Suffix Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=SkQxO613nL},
}
Figure