Trust but Verify: Designing Region-Inhomogeneous Forward Dynamics for Discrete Diffusion
The paper introduces regionâinhomogeneous forward dynamics for discrete diffusion, letting models treat context with varying trust levels to improve robustness against corrupted inputs.

Introduction
Discrete diffusion models, especially for language generation, have traditionally treated the forward corruption process as a binary trust problem: the observed context is either fully trusted or completely discarded. This allâorânothing approach can cause errors to cascade when the input contains noise or adversarial corruption. In Trust but Verify, Gunmay Jhingran reopens the design space of forward dynamics by mixing absorbing and uniformâmixing kernels in a regionâdependent manner. The resulting system lets the model trust some tokens while verifying others, improving resilience without changing the underlying architecture.
RegionâInhomogeneous Forward Dynamics
The core idea is simple yet powerful. During training, each token is assigned one of two forward processes:
- Absorbing dynamics â the token is left untouched, preserving the original context.
- Uniformâmixing dynamics â the token is replaced with a random token from the vocabulary at a low rate.
Missing positions (the target of infill) always follow the absorbing dynamics, while surrounding context is split between the two regimes based on a regionâspecific rate. This creates a spectrum of trust: highâtrust regions remain stable, whereas lowâtrust regions expose the model to uncertain, potentially corrupted tokens. The model learns to distinguish reliable from unreliable context, assigning roughly 50âŻ% probability to observed tokens even when they are random noise.
Inference Heuristic: Reâinjecting Noise
At generation time, a heuristic sampler reâinjects noise into tokens that appear suspicious, guided by an annealed intensity schedule. Early in the diffusion trajectory, the sampler allows more aggressive noise injection, encouraging the model to reconsider dubious context. As the trajectory progresses, updates to the context are gradually frozen, preventing unnecessary perturbations once confidence is established. This âtrustâbutâverifyâ loop enables the model to correct corrupted spans while preserving clean conditioning.
Empirical Findings
Using a 170âŻMâparameter masked diffusion model fineâtuned for 8,000 steps (under five hours on a 6âŻGB laptop GPU), the authors report:
- Corruption detection: 0.96 recall and 0.91 precision for uniformly random corrupted tokens.
- Infill quality: TokenâF1 improvements of 3.8âŻpoints at 10âŻ% corruption and 6.4âŻpoints at 20âŻ% corruption, eliminating the typical accuracy dip near corrupted regions.
- Clean conditioning: No measurable regression; falseâedit rate stays below 0.4âŻ%.
- Plausible corruptions: Modest gains (â0.5âŻF1 points) that were not statistically significant, suggesting that subtle, semantically plausible noise is harder to detect.
These results highlight a key insight: the detectability and damage of corruption depend jointly on how far the noise deviates from the data distribution. Distant, highâcontrast noise is easy to spot and highly destructive, while nearby, lowâcontrast noise blends in and is less harmful.
Practical Takeaways
- Design flexibility: Adjusting forward dynamics offers a lightweight way to introduce intermediate trust levels without architectural changes.
- Training efficiency: The approach works with modest computeâfineâtuning a 170âŻM model on a consumerâgrade GPU in a few hours.
- Robust generation: By reâinjecting noise during inference, models can selfâcorrect when faced with unexpected context, making them more reliable for downstream applications such as code completion or document editing.
Conclusion
Trust but Verify demonstrates that regionâinhomogeneous forward dynamics can effectively balance trust and verification in discrete diffusion models. By exposing the model to controlled noise during training and employing a noiseâreâinjection sampler at inference, the method improves robustness to corrupted inputs while preserving performance on clean data. This work opens a promising avenue for future research: exploring richer regionâdependent schedules, extending the approach to larger models, and integrating it with other robustness techniques.
Source
Read original sourceWhy we picked this
Core AI paper introducing new methods for discrete diffusion dynamics