· Masked / discrete diffusion, Inference acceleration, Reasoning · Source · Code (Mention in inspected excerpt)

Where and When to Commit: Candidate-Aware Decoding for Diffusion Language Models

SourceFull paper

Article overview

Verdict

LATCH is a convincing training-free acceleration method for diffusion language models: it preserves accuracy within 2 points on the evaluated tasks and reaches 9.3–17.8× speedups for short answers and 2.0–3.3× for long reasoning. Its safe-termination guarantee nevertheless depends on having one extractable answer, and the accuracy tolerance is not formally certified.

Main idea

The method separates local token commitment from global termination. BWEC commits confident positions early in non-final blocks, while CVC terminates only after re-locating the answer, observing sufficient confidence, and confirming value stability.

Mechanism

State variables are the remaining masked positions, their predictions, and block assignments; CVC additionally tracks the extracted candidate, normalized value stability, and mean softmax confidence over its span. At each of T steps the model predicts all masked positions, then permanently commits a subset while the rest may be remasked.

Within a non-final block, BWEC commits a position when its confidence is ≥ τBWEC or it belongs to the scheduled top-k set. The scheduled set guarantees block completion; once all positions commit, remaining block steps are skipped. The final block retains baseline scheduling and is protected from BWEC.

At every step, CVC re-extracts and relocates a candidate: the first five positions are used for short-answer and multiple-choice tasks, while the trailing 30% is used for long reasoning. Termination requires τCVC=0.7 and at least pmin=3 steps of argmax stability; γ=2.0 controls the adaptive run-length requirement. Missing candidates pause the stability counter. The configuration uses τBWEC=0.9 and tail_frac=0.3. There is no training objective because the method is training-free; the exact remasking rule beyond the stated quotas is unspecified.

Reproduction: (1) implement baseline masked decoding; (2) divide positions into sequential blocks; (3) add BWEC only to non-final blocks; (4) extract the candidate each step and compute confidence and stability; (5) permit global termination only when CVC passes; (6) measure the complete decode loop on fixed examples.

What this is useful for

The method is best suited to tasks with one localizable answer: short answers, multiple-choice prompts, and reasoning with a final value. It fits frozen-model deployments where end-to-end latency matters and conservative protection of the final block is acceptable. BWEC may still accelerate programs or long text in non-final blocks, but CVC provides no guarantee for them.

Risks / not proven

Single-span CVC transfers poorly to programs, long free-form text, and outputs with multiple subanswers. All commitments are monotonic, so incorrect intermediate reasoning tokens cannot be revisited, and BWEC commits receive no CVC safety check. Mask-and-reconstruct verification would require an additional forward pass per candidate. Results are limited to two backbones, 11 tasks, greedy decoding, and one GPU; per-block TPS analysis partly assumes uniform per-step cost.

Full abstract

Diffusion language models (DLMs) expose a provisional prediction at every denoising step, creating an opportunity for generation-time early exit that stops decoding before the schedule is exhausted. Existing early-exit gates decide termination from fixed-region confidence statistics or schedule-dependent rules, evidence too coarse for a decision that freezes every remaining position at once, so they fire prematurely on long chain-of-thought outputs whose answers stabilize only near the end. Adaptive sampling, the other axis of training-free acceleration, paces how quickly positions commit while decoding continues but never verifies that the output itself has stabilized. We introduce a training-free, candidate-aware early-exit framework that keeps the two axes separate and matches each decision to evidence of its own scope. Confidence-Verified Commit (CVC) governs when the sequence may stop by verifying confidence and sustained argmax stability over the dynamically extracted candidate span using a deterministic parser specified from each task's output format. Block-Wise Early Commit (BWEC) governs where to accelerate by applying a cheaper local rule to non-final blocks, while leaving the final block and global termination under CVC. We refer to their combination as LATCH (Localized Acceleration with Tracked-Candidate Halting). Unlike prior methods, LATCH needs no suffix-prompt construction; it is prompt-anchor-free but format-aware. We evaluate LATCH end to end on 11 tasks under zero-shot settings using LLaDA and Dream. LATCH stays within 2.0 percentage points of full-decoding accuracy across all 22 evaluation settings, with one frozen hyperparameter set that transfers cross-backbone untuned, while achieving end-to-end TPS speedups of 9.3-17.8x on short-answer tasks and 2.0-3.3x on long-reasoning tasks.

Source

Paper resources

Code

BibTeX · RIS · Markdown · JSON