Learn from Your Mistakes: Self-Correcting Masked Diffusion Models
Yair Schiff, Omer Belhasin, Roy Uziel, Guanghan Wang, Marianne Arriola, Gilad Turok, Ran Zilberstein, Miki Elad, Volodymyr Kuleshov
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Reasoning, Memory & RAG › Diffusion Language Models · Type: new method · Keywords: masked diffusion models, self-correction, parallel generation, error recovery, sequence refinement
Areas: Generative Models (Diffusion & Flows) › Diffusion Language Modeling › Diffusion models
Summary
ProSeCo introduces a self-correcting masked diffusion model that iteratively refines both newly unmasked and previously generated tokens, improving sample quality and speeding up sampling up to 4×.
Explained to a 5-year-old
Masked diffusion models make things piece by piece in parallel, which is fast. However, once a piece is revealed it stays fixed, so if it was wrong it cannot be changed. This can cause the final output to have errors. The new idea adds a second step that looks at what has already been made and tries to correct mistakes. It uses the model’s own guesses as new input to learn how to fix errors.
Explained to a 5-year-old, longer
Masked diffusion models generate things piece by piece in parallel, which is fast. However, once a piece is revealed it stays fixed, so if it was wrong it cannot be changed. This can cause the final output to have errors. The new idea adds a second step that looks at what has already been made and tries to correct mistakes. It uses the model’s own guesses as new input to learn how to fix errors. During creation, extra checking steps are added between the main steps. These extra steps can change already placed pieces to make them better. This process repeats, improving the whole sequence over time. As a result, the final output is cleaner and higher quality. The method also runs faster because it can generate more in less time. It works for many kinds of tasks, like making text or images. The improvement is noticeable on standard tests, where quality goes up a bit and speed goes up a lot. Overall, the approach makes parallel generation more reliable and efficient.
For a technical reader
The paper addresses a limitation of masked diffusion models where tokens, once unmasked, cannot be revised, leading to accumulated errors. It proposes a self-correcting framework that jointly learns unmasking and correction by feeding the denoising network’s outputs into a corrector. During inference, additional refinement steps are interleaved with unmasking steps, allowing already generated tokens to be updated. This iterative refinement improves sample quality and enables faster sampling-up to four times faster-while also scaling compute at inference time. Experiments across conditional and unconditional tasks show consistent quality gains and speedups over standard MDMs.
Problem
Parallel token generation models that fix tokens after they are revealed can accumulate errors, leading to lower quality outputs.
Method
The framework trains a model to both unmask tokens and correct previously generated tokens by using outputs from the denoising network as inputs for a corrector. During generation, additional refinement steps are inserted between unmasking steps to revise tokens and improve overall quality.
Results
The approach achieves up to 4× faster sampling and up to 1.2× higher sample quality on benchmarks compared to standard masked diffusion models.
Contributions
It introduces a self-correcting mechanism that iteratively refines entire sequences, enabling error recovery and better quality-efficiency trade-offs. The method also supports inference-time compute scaling to further boost sample quality.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction