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

TACG: Trajectory-Aware Commit Gating for Diffusion Language Model Decoding

Chengcheng Wang, Tingzhang Luo, Wenhao Li, Jianyuan Guo, Chang XuarXiv 2026

TL;DR

Diffusion Language Models (DLLMs) usually decide which tokens to "commit" based on a single snapshot of model confidence, often locking in early, transient mistakes. Trajectory-Aware Commit Gating (TACG) is a training-free decoding framework that analyzes the history of how token probabilities evolve across denoising steps to make smarter, faster commitment decisions. It consistently boosts accuracy and generation speed across math and coding benchmarks without requiring extra model training or additional forward passes.

What Problem Does This Paper Address?

Unlike standard autoregressive models that generate text token-by-token, Diffusion Language Models (DLLMs) generate text by iteratively denoising an entire sequence of masked positions in parallel. At each step, the decoder must decide which tokens are reliable enough to be permanently locked into the sequence (committed).

Currently, most decoders make this choice based purely on a single "snapshot" of the current step's confidence. The authors point out a major flaw here: snapshot confidence conflates confidence with commitment readiness. Early in the denoising process, a token might look like a strong candidate due to incomplete context, leading the model to prematurely lock in an error. Conversely, a highly stable token that has steady support across multiple steps might be delayed because its absolute confidence score hasn't crossed a rigid threshold yet.

Methods

TACG separates the decision of what token to write (which it anchors to the base model's current prediction) from when to commit it. It introduces two main training-free components that leverage the historical trajectory of the denoising process:

  1. Temporal Implicit Logits Guidance (TILG): This branch maintains an exponential moving average (EMA) of past logits to serve as a historical reference. By contrasting the current step's logits against this reference, TILG measures whether a token's support is actively growing or fading over time.
  2. History Gate (HG): This branch acts as a stability filter, requiring a token proposal to remain unchanged for a minimum number of consecutive steps before it can be committed (with a high-confidence escape hatch for already certain tokens).

Finally, TACG uses a Capped Extra-Promotion Budget ($K_{extra}$) to safely accelerate decoding by allowing a limited number of highly stable, sub-threshold tokens to be committed early each step.

Figure 2: TACG mechanism with a TILG temporal-support branch. The base posterior first proposes the token identity ˆxi = arg maxv pt(v). TILG then builds an EMA self-reference zref from the same denoising trajectory, contrasts the current logits with this reference, and uses the auxiliary readout qt = softmax(ut) only to score commitment readiness. The written token remains the base proposal; TACG changes when a position is unmasked, not which token is written.

Datasets

The authors evaluated TACG across standard code generation and mathematical reasoning benchmarks using three different DLLM backbones (LLaDA, Dream, and LLaDA2-Mini):

  • HumanEval & MBPP (Python code generation)
  • GSM8K & MATH500 (Mathematical problem-solving)

Key Insights and Ideas

  • Separating Identity from Timing: The core "aha" moment is that deciding when to commit a token is much more fragile than deciding which token to write. By anchoring token identity to the base model and using history only to gate the timing, TACG avoids distorting the model's calibrated vocabulary preferences.
  • Logit History as a Hidden Signal: The trajectory of logits contains rich, untapped information. Tokens with rising historical support are much more likely to be correct than tokens with a sudden, transient spike in confidence.
  • Complementary Dynamics: TILG acts as an accelerator (promoting ready tokens early), while HG acts as a brake (preventing premature commitments). Together, they achieve a better quality-efficiency trade-off than either could alone.
Figure 1: Diagnostic historical signals on GSM8K. Higher history gate and history-logit support improve token-level match, suggesting their roles in both reliable commitment and early token promotion.

Key Results

Across all tested models and datasets, TACG consistently improved or preserved accuracy while reducing the number of denoising steps and increasing Tokens Per Forward (TPF) pass:

  • On LLaDA (HumanEval): Accuracy jumped from 37.20% to 42.07%, while generation efficiency improved (TPF increased from 6.45 to 7.01).
  • On LLaDA2-Mini: TACG demonstrated robust scalability, improving accuracy across both 1024 and 2048 generation lengths (e.g., +2.60% accuracy gain on MATH500 at length 1024).
  • Compared to other advanced decoders like KLASS, TACG provides a complementary boost, showing that trajectory-aware signals offer unique utility beyond instant distribution-level stability metrics.

Limitations and Future Work

  • Independent Position Scoring: Currently, TACG evaluates the commitment readiness of each masked position independently. It doesn't account for dependencies between tokens during the gating step itself (e.g., committing a prefix might drastically change the readiness of the next token).
  • Computational Overhead: Tracking the EMA of logits introduces an extra memory and tensor operation overhead of $O(BLV)$ (where $B$ is batch size, $L$ is sequence length, and $V$ is vocabulary size). While it requires no extra model forward passes, optimizing this overhead with fused kernels remains future work.

Summary updated

BibTeX
@misc{wang2026tacg,
  author = {Chengcheng Wang and Tingzhang Luo and Wenhao Li and Jianyuan Guo and Chang Xu},
  title = {{TACG: Trajectory-Aware Commit Gating for Diffusion Language Model Decoding}},
  year = {2026},
  eprint = {2607.03236},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.03236},
}
Figure