Saved in:
Bibliographic Details
Main Authors: Jazbec, Metod, Olausson, Theo X., Béthune, Louis, Ablin, Pierre, Kirchhof, Michael, Monteiro, João, Turrisi, Victor, Ramapuram, Jason, Cuturi, Marco
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.09106
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910053444878336
author Jazbec, Metod
Olausson, Theo X.
Béthune, Louis
Ablin, Pierre
Kirchhof, Michael
Monteiro, João
Turrisi, Victor
Ramapuram, Jason
Cuturi, Marco
author_facet Jazbec, Metod
Olausson, Theo X.
Béthune, Louis
Ablin, Pierre
Kirchhof, Michael
Monteiro, João
Turrisi, Victor
Ramapuram, Jason
Cuturi, Marco
contents Diffusion (Large) Language Models (dLLMs) now match the downstream performance of their autoregressive counterparts on many tasks, while holding the promise of being more efficient during inference. One critical design aspect of dLLMs is the sampling procedure that selects which tokens to unmask at each diffusion step. Indeed, recent work has found that heuristic strategies such as confidence thresholding improve both sample quality and token throughput compared to random unmasking. However, such heuristics have downsides: they require manual tuning, and we observe that their performance degrades with larger block sizes. In this work, we instead propose to train sampling procedures using reinforcement learning. Specifically, we formalize masked diffusion sampling as a Markov decision process in which the dLLM serves as the environment, and propose a lightweight policy based on a single-layer transformer that maps dLLM token confidences to unmasking decisions. Our experiments show that these trained policies match the performance of state-of-the-art heuristics when combined with semi-autoregressive (block) generation, while outperforming them in the full-diffusion setting.
format Preprint
id arxiv_https___arxiv_org_abs_2512_09106
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Learning Unmasking Policies for Diffusion Language Models
Jazbec, Metod
Olausson, Theo X.
Béthune, Louis
Ablin, Pierre
Kirchhof, Michael
Monteiro, João
Turrisi, Victor
Ramapuram, Jason
Cuturi, Marco
Machine Learning
Diffusion (Large) Language Models (dLLMs) now match the downstream performance of their autoregressive counterparts on many tasks, while holding the promise of being more efficient during inference. One critical design aspect of dLLMs is the sampling procedure that selects which tokens to unmask at each diffusion step. Indeed, recent work has found that heuristic strategies such as confidence thresholding improve both sample quality and token throughput compared to random unmasking. However, such heuristics have downsides: they require manual tuning, and we observe that their performance degrades with larger block sizes. In this work, we instead propose to train sampling procedures using reinforcement learning. Specifically, we formalize masked diffusion sampling as a Markov decision process in which the dLLM serves as the environment, and propose a lightweight policy based on a single-layer transformer that maps dLLM token confidences to unmasking decisions. Our experiments show that these trained policies match the performance of state-of-the-art heuristics when combined with semi-autoregressive (block) generation, while outperforming them in the full-diffusion setting.
title Learning Unmasking Policies for Diffusion Language Models
topic Machine Learning
url https://arxiv.org/abs/2512.09106