# Dependency-Guided Parallel Decoding in Discrete Diffusion Language Models

*Liran Ringel, Ameen A Ali, Yaniv Romano*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151486) · [Open on the map](../papers.html#p151486)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Diffusion Language Model Decoding](../pgroup/511.md) · Type: new method · Keywords: parallel decoding, dependency prediction, discrete diffusion language models, text generation speed, token independence

## Summary
DEMASK is a lightweight dependency predictor that guides parallel unmasking in discrete diffusion language models, achieving up to 2× speedup while preserving accuracy.

## Explained to a 5-year-old
In some computer programs, they make sentences by filling in missing words one by one. When they fill many words at the same time, they sometimes make mistakes because the words depend on each other. The researchers added a little helper that looks at how words influence each other before choosing which words to fill. This helper helps them fill words faster while keeping the sentences correct. As a result, the program can write answers more quickly, like solving math problems or writing code.

## Explained to a 5-year-old, longer
Computers can make up stories by guessing words that fit. Usually they guess one word at a time, which is slow. Sometimes they try to guess many words at once to make the story faster. But when words are related, guessing them together can cause mistakes. For example, if you guess "big" for a noun, you also need to guess a matching adjective. The researchers noticed this problem and wanted a smarter way to guess words in parallel. They added a small tool that looks at how each word influences the others. This tool watches the hidden thoughts of the computer model and measures word dependencies. Using this information, the tool picks groups of words that are not too dependent on each other. Then the computer fills those chosen words at the same time. Because the groups are carefully chosen, the sentences stay correct even though they are faster. This makes the computer write answers quickly for things like math problems and programming tasks.

## For a technical reader
The paper addresses the speed-quality trade-off in parallel decoding for discrete diffusion language models, where multiple tokens are unmasked simultaneously. It observes that naive parallel decoding assumes token independence, which can hurt output quality when tokens are strongly correlated. The authors introduce a dependency predictor that estimates pairwise influences between masked positions from the model’s hidden states. A greedy selection algorithm uses these estimates to choose token groups whose cumulative dependency is bounded, providing a theoretical guarantee on the deviation from the true joint distribution. Experiments on a large diffusion model show up to 2× faster generation while matching or improving baseline accuracy across math and code tasks.

## Problem
Parallel decoding in diffusion language models approximates the joint distribution by independent token selections, which can degrade quality when tokens are highly dependent. This mismatch leads to a trade-off between speed and accuracy.

## Method
The approach attaches a dependency predictor to the model's hidden states to estimate pairwise influences between masked tokens. Using these estimates, a greedy algorithm selects token positions whose cumulative dependency is bounded, ensuring parallel unmasking respects dependencies. A sub-additivity assumption provides a theoretical bound on the deviation from the true joint distribution.

## Results
The approach achieves 1.7-2.2× speedup on Dream-7B while matching or surpassing baseline accuracy, and yields Pareto-optimal trade-offs on math and code benchmarks.

## Contributions
It introduces a dependency-guided selection mechanism for parallel decoding, provides a theoretical bound on the approximation error, and demonstrates significant speedups across multiple tasks.

## Limitations and assumptions
The theoretical bound relies on a sub-additivity assumption about token dependencies.

## Practical relevance
The method enables faster text generation for large language models without compromising quality, benefiting applications requiring low-latency outputs.

## Research questions this paper is counted under

- [How can diffusion language models achieve fast parallel token generation while maintaining high sample quality and preserving token dependencies?](../q/7.md)

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](../feedback/?on=p/151486)
