arXiv:2611.04152cs.CLNov 2026

Manuscript Offprint

arXiv:2611.04152

PACT: Certifying What Is Written in Parallel Decoding of Diffusion Language Models

Yanchao Li, Yusu Zhang, Jiaqing Xie, Yi Ban, Ben Gao, Zhongyu Huang, Tianfan Fu, Yuqiang Li

Abstract

Parallel decoding speeds up masked diffusion language models by writing several tokens per forward pass. Published commit rules choose these tokens by testing the predicted distributions. Under sampling the written tokens are drawn, and these tests do not see them. We find that answer quality follows the reliability of the tokens actually written. An answer's log probability splits into this reliability and the dependence within each step. We propose PACT, a training-free commit rule that draws the tokens first, certifies the set it will write and spaces the positions of each step apart. This certificate holds at every temperature, and we show that no rule with the same guarantee commits more positions. Experiments use four models of the LLaDA and Dream families and HumanEval, MBPP, GSM8K, MATH500 and IFEval benchmarks. PACT reaches the quality of published commit rules with fewer forward passes. Spacing removes positions from each step, yet it usually lowers the total cost because later steps then write more tokens. At the same speed, published decoders also write a word twice in a row far more often than PACT. These results suggest that commit rules should certify the tokens they write. Code is available at https://github.com/LiZaiyuan0619/PACT.

1 Introduction

Masked diffusion language models generate text from a fully masked answer (Sahoo et al., 2024; Shi et al., 2024; Nie et al., 2025). Over a series of steps, they fill in its positions several at a time. A commit rule decides which positions each step fills. Filling more of them saves forward passes but raises the risk of writing a wrong token. Training-free commit rules have moved from a fixed number of positions per step to a test that sets this number. They make decoding several times faster (Wu et al., 2026a; Ben-Hamu et al., 2025; Kim et al., 2025; Kasa et al., 2026; Wang et al., 2026). These models

Figure

Figure 1: A test that cannot see the draw writes the same word twice. Top, two answers of LLaDA-8B to HumanEval/48 at τ=0.1\tau = 0.1. Bottom, the share of answers with one word written twice in a row at matched forward passes, with bars at the median over models (Appendix C.6).

are often decoded by sampling. Reinforcement learning and test-time scaling rely on it for diverse answers (Olausson et al., 2026; Fang et al., 2026).

However, commit rules face two problems when the decoder samples. First, their tests read the predicted distributions and not the drawn tokens. Under sampling a drawn token can be far less likely than the most likely one, and the test misses this gap. Second, the tokens of one step depend on each other, and this dependence cannot be measured from the distributions of a single forward pass. In Figure 1, a rule that orders and scores positions by their top choice accepts cleaned twice in one step, yet the finished answer gives each copy almost no probability.

We find that quality follows the actual reliability of what a decoder writes, the log probability of the written tokens. Across rule families and four models, it predicts pass@1 better than the reliability reported on the most likely tokens, and far better than the number of forward passes. The log probability of an answer is also the sum of two terms, the actual reliability of each step and the dependence among the tokens it writes. This suggests that a rule should certify the tokens it writes and keep the tokens of one step apart.

We propose PACT, a Post-draw Accumulated Certificate for Tokens. At each step PACT draws the tokens first and orders the positions by the log probability of their drawn tokens. It then commits the longest prefix of this order whose log probabilities add up to at least log⁡τ\log \tau. The set it certifies is therefore the set it writes, at any temperature. We prove that it commits as many positions as this guarantee allows. PACT also spaces the positions of one step at least a minimum gap apart, to lower the dependence among them. It is training-free, adds no forward passes and changes only the commit rule.

We evaluate PACT on four masked diffusion language models from the LLaDA and Dream families, on HumanEval, MBPP, GSM8K, MATH500 and IFEval. At matched quality on code and math, it needs fewer forward passes than each of the five published rules, and the margin grows as decoding gets faster. These savings also shorten the decoding time. As the temperature rises, ordering by the top choice collapses, while PACT keeps most of its accuracy. The doubled word of Figure 1 turns up far more often under the published decoders than under PACT at the same speed. These results make PACT a faster and more reliable way to decode masked diffusion language models by sampling.

The main contributions are summarized as follows.

  1. We identify that published commit rules test the predicted distributions alone, while the written tokens are drawn. Under sampling, we find that quality follows the actual reliability of what is written.

  2. We propose PACT, a commit rule that certifies the drawn tokens it writes and spaces the positions of one step, with no training and no extra forward passes.

  3. We prove that PACT commits as many posi-

tions as its guarantee allows, at any temperature. Under a Markov assumption, spacing bounds the dependence within a step.

  1. We show on four models that PACT needs fewer forward passes than five published rules at matched quality.

References (49)