Manuscript Offprint

arXiv:2610.03641

IDRF: Inverse-Distilled Reward Fine-tuning of Masked Discrete Diffusion Models

Vladislav Gromadskii, David Li, Samson Gourevitch, Yazid Janati, Eric Moulines, Maxim Panov, Alexander Korotin

ABSTRACT

Masked discrete diffusion models offer a promising alternative to autoregressive generation, but iterative sampling can be costly, and intractable sequence likelihoods complicate reward fine-tuning. We introduce IDRF, a framework for reward fine-tuning of few-step masked discrete diffusion generators. Starting from a standard reverse-KL-regularized objective, IDRF replaces the intractable sequence-level KL penalty with inverse-distillation regularization. With an optimal auxiliary denoiser, we prove that the population inverse-distillation loss upper-bounds the sequence-level KL divergence to the reference distribution. IDRF optimizes a trajectory-based surrogate of this loss without reference-model rollouts, so the student keeps its own few-step sampler. We view few-step generation as a finite-horizon Markov decision process and optimize reward with a clipped policy-gradient objective over the student's trajectories. Across DNA, image, and text generation, IDRF achieves high reward with up to 32×32 \times fewer denoising steps than the reference while mitigating reward hacking and preserving sample quality.

DNA

regulatory sequence design

Figure

Images

“a blue sports car”

Figure

Reference

128 steps

Reward-only

4 steps

IDRF (ours)

4 steps

Text

one-star reviews

Reward-only, 32 steps · 9.4% end with EOS

“... never buy this junk junk never ever buy this junk junk this is zero stars total junk ...”

IDRF (ours), 32 steps · 100% end with EOS

“This is an absolute piece of junk! I used this for less than a week, and then the bag completely fell apart. Totally junk!”

Figure 1: IDRF (ours) across DNA, images, and text. Reward-only fine-tuning and IDRF sample with the same budget of 8, 4, and 32 steps. Reward-only fine-tuning hacks the reward: DNA lacks accessibility (ATAC-Acc), images blur, and reviews degenerate into repetition that rarely ends with EOS. IDRF avoids these failures.

1 INTRODUCTION

Masked diffusion models (MDMs) generate sequences by unmasking tokens in parallel, with applications to language, biological sequences, and discrete image representations (Sahoo et al., 2024; Shi et al., 2024; Wang et al., 2025a). Reward fine-tuning adapts these models to task objectives, such as DNA activity, image attributes, or review sentiment. Optimizing reward alone, however, can destroy properties the reward does not measure (Figure 1).

KL regularization toward a pretrained reference provides a standard safeguard (Ziegler et al., 2019; Korbak et al., 2022), but an MDM's sequence likelihood marginalizes over all denoising trajectories and is intractable. Existing reward fine-tuning methods use likelihood surrogates and evidence bounds (Zhao et al., 2025; Wang et al., 2026a), or penalize KL between reverse transitions (Wang et al., 2025a). The latter requires reference evaluations along the rollout and ties the regularizer to its sampling path. We seek a tractable sequence-level KL regularizer that lets the student use its own sampler.

We introduce Inverse-Distilled Reward Fine-tuning (IDRF), which combines trajectory-based policy gradients with inverse distillation (Li et al., 2026). The regularizer compares the denoising losses of a frozen reference and a fitted auxiliary on student samples. It requires neither the reference's likelihood nor its rollouts. Both the reward and the regularizer reuse the student's own trajectories (Figure 2), so the regularizer shapes the student's few-step sampler directly. Reward fine-tuning requires neither pretraining data nor reward gradients. Our contributions are as follows.

  1. With an optimal auxiliary denoiser, we establish a sequence-level KL bound for the population inverse-distillation objective in masked diffusion, valid for any sequence length and any student sampler ( §\S 3.1).

  2. We regularize reward fine-tuning with a practical inverse-distillation objective on the student's own trajectories, without reference rollouts. The resulting framework supports reward fine-tuning directly in the few-step regime ( §\S 3.2).

  3. Across DNA, images, and text, IDRF reaches high reward with up to 32×32 \times fewer denoising steps than the reference while preserving properties lost under reward-only fine-tuning ( §\S 5).

References (70)