Learn from Your Mistakes: Self-Correcting Masked Diffusion Models

arXiv:2602.11590 · cs.LG · Submitted 2026-02-12 · Read on arXiv

cs.LG

Submitted: 2026-02-12

Updated: 2026-10-20

Comments: NeurIPS 2026. Code to reproduce our experiments is available here: https://github.com/kuleshov-group/proseco

License: http://creativecommons.org/licenses/by/4.0/

The gist: Masked diffusion models (MDMs) have emerged as a promising alternative to autoregressive models, enabling parallel token generation while achieving competitive performance.

Terminology

Abstract

Masked diffusion models (MDMs) have emerged as a promising alternative to autoregressive models, enabling parallel token generation while achieving competitive performance. Despite these advantages, MDMs face a fundamental limitation: once tokens are unmasked, they remain fixed, leading to error accumulation and ultimately degrading sample quality. We address this by proposing a framework that trains a model to perform both unmasking and correction. By reusing outputs from the MDM denoising network as inputs for corrector training, we train a model to recover from potential mistakes. During generation we apply additional corrective refinement steps between unmasking ones in order to change decoded tokens and improve outputs. We name our training and sampling method Progressive Self-Correction (ProSeCo) for its unique ability to iteratively refine an entire sequence, including already generated tokens. We conduct extensive experimental validation across multiple conditional and unconditional tasks, demonstrating that ProSeCo yields better quality-efficiency trade-offs (up to 4x faster sampling while still outperforming the best accuracy baseline method) and enables further gains through inference-time compute scaling (up to 1.2x improvement on benchmarks when allowing for slower, high-NFE decoding).

Related papers