Skip to content

PACT Certifies Written Tokens in Parallel Diffusion Decoding

THE ARGUMENT

Commit rules for parallel decoding should certify the tokens they actually write, not just predicted distributions; PACT cuts forward passes at matched quality, but its guarantee depends on threshold, spacing, and Markov assumptions.

On this page

You want to compare several parallel decoders at matched quality and see which is faster, and the natural first move is to line up pass@1 and a fixed tokens-per-step setting. But the paper [1] shows that when these decoders write by sampling, published commit rules test the predicted distribution at each position, not the token actually drawn. A rule can pass its distribution-level test while the drawn token is far less likely than the top choice, so the reported score and the written quality sit on opposite sides of one sampling step. That single gap decides what an evaluation has to record: without the decoding temperature and the commit rule, pass@1 is not comparable across methods.

The Default Test Reads Distributions, Not Written Tokens

Most teams assume that a published commit rule with a high benchmark score is safe to compare on pass@1 and forward passes. The paper [1] describes a commit rule as three parts: a score for each position, an order over positions, and a cut that ends the order. Published rules usually score positions from predicted distributions alone, such as the top probability at each position or the joint probability of a prefix. They do not read the tokens drawn in this step. Under sampling, each position draws a token from the temperature-adjusted distribution, and that token can be much less likely than the top choice. The paper separates reported reliability R̂(S), computed on the most likely tokens, from actual reliability R(S), computed on the written tokens. Proposition 2 states that R̂(S) ≥ R(S), with equality only when every position receives its most likely token; at T=1 the expected gap is the sum of each position's entropy minus its min-entropy. A rule can therefore clear its distribution test while the written tokens do not.

PACT Draws First, Then Certifies the Written Set

PACT reverses the order: it draws the tokens first and then certifies the set it will write. The name stands for Post-draw Accumulated Certificate for Tokens. One step has three parts:

  • Score: for each masked position, take the log probability of the drawn token; a score closer to 0 means the model is more confident in that written word.
  • Order and cut: sort positions by score and commit the longest prefix whose scores sum to at least log τ; if no prefix passes, commit the first position so every step makes progress.
  • Spacing: scan the order and keep a position only if it lies at least g positions away from every kept position; stop at k* positions, and lower g one step at a time if too few qualify. The default is g=8.

Because the certificate reads the drawn tokens, the set PACT certifies is the set it writes at every temperature. Proposition 3 says no rule with the same guarantee commits more positions; as τ approaches 1, PACT commits one position per step and the speed-up disappears [1]. Training-free, adds no forward passes, changes only the commit rule has to be read at two levels: within a step, scoring, ordering, summing and spacing are CPU-side reordering of the distributions already computed — no extra model call, no added forward computation per step. The gain lands on the total iteration count: reaching the same quality takes fewer total forward passes, i.e. fewer decoding steps [1]. Reading no added forward passes per step as the total number of forward passes is unchanged reverses what the method actually buys.

Evidence From 4 Models and 5 Benchmarks

The experimental setup is compact enough to put in one table.

DimensionSpecifics
ModelsLLaDA-8B, LLaDA-MoE, LLaDA2.1-mini, Dream-7B (two dense, two mixture-of-experts)
BenchmarksHumanEval and MBPP for code; GSM8K and MATH500 for math; IFEval for instruction following
Published baselinesFast-dLLM, Fast-dLLM++, EB-Sampler, KLASS, TACG
Decoding protocol256 positions per answer including padding, temperature 0.6, single block; pass@1 over 8 samples per problem
PACT defaultg=8; LLaDA2.1-mini runs without spacing

The abstract reports that at matched quality on code and math, PACT needs fewer forward passes than each of the 5 published rules, and the gap grows as decoding gets faster. As temperature rises, ordering by the top choice collapses while PACT keeps most of its accuracy. At the same speed, published decoders write the same word twice in a row far more often than PACT. The abstract does not give a single multiplier, so readers should not treat faster as a fixed percentage; forward passes depend on τ, g, and task length.

Why Spacing Can Lower Total Cost

Spacing looks counterintuitive because it removes positions from each step. The paper's explanation is that spacing lowers dependence among tokens within one step, so later steps can write more tokens. Proposition 4 gives a bound under a Markov assumption: if a step writes m positions that lie pairwise at least g apart, the expected dependence term is at most (m-1) times the largest mutual information between two positions g apart, and that mutual information is non-increasing in g. In plain terms, a larger gap makes positions more independent, but it also leaves fewer positions per step. PACT recomputes the cut on the filtered order, so a lower-scoring position can push the sum below log τ. The default g=8 is a trade-off, and LLaDA2.1-mini runs without spacing, which shows the trade-off is not universal.

When PACT Fails or Does Not Apply

PACT fails when τ approaches 1, because it commits one token per step and the speed-up becomes ordinary token-by-token decoding; if the goal is maximum throughput at any cost to quality, PACT does not apply [1]. It also rests on idealized assumptions: Proposition 4 uses a Markov assumption and a shared joint distribution, and the paper states that Section 4.4 tests only the predicted trend, not the strict bound [1]. Spacing can reduce the number of committed positions per step, so its benefit shrinks when a task needs long-range simultaneous filling or when model conditionals are strongly dependent [1]. PACT changes only the commit rule: the certificate covers reliability under the model's own probabilities, cannot correct a model that is confidently wrong, and is not a guarantee of factual correctness; benchmark scores remain exposed to contamination, prompt format, and sample size [1]. The experiments use 256-position single blocks without a KV cache and count cost in forward passes; switch to 32-token blocks, cached decoding, batching, or another temperature and the cost of a single pass changes, so the numbers do not transfer directly [1]. The boundary is therefore clear: commit rules should certify the tokens they write, but certification only moves the inspection point from the predicted distribution to the actual output — it is not correctness.

References

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

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…