NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DPRM: A Plug-in Token-Ordering Module for Diffusion Language Models

Dake Bu, Wei Huang, Andi Han, Hau-San Wong, Qingfu Zhang, Taiji Suzuki, Atsushi Nitanda

TL;DR

DPRM (Doob $h$-transform Process Reward Model) is a lightweight, plug-in module that optimizes the order in which Diffusion Language Models (DLLMs) generate tokens. By shifting from simple confidence-based heuristics to a "reward-tilted" policy, DPRM improves performance across nine diverse domains—from mathematical reasoning to DNA sequence design—without changing the underlying model architecture or training objective.

What Problem Does This Paper Address?

Unlike traditional autoregressive models (like GPT) that generate text strictly from left to right, diffusion language models can generate tokens in any order. This flexibility is a double-edged sword: how should the model decide which tokens to "reveal" or denoise first?

Currently, most systems use either random masking or "confidence-driven" ordering (picking the tokens the model is most sure about). However, random masking creates a mismatch between how the model is trained and how it's used at test time. Meanwhile, confidence-driven ordering is "myopic"—it prioritizes easy, local decisions that might lead the model into a global "dead end" (e.g., committing to an "End of Text" token too early). The authors seek a way to use global task rewards to guide these local ordering decisions.

Methods

The authors introduce DPRM, which treats token ordering as a Markov process and applies Doob’s $h$-transform—a mathematical technique to "tilt" a stochastic process toward high-reward outcomes.

Key components include:

  • Plug-in Architecture: It leaves the host model, loss function, and data pipeline unchanged. It only modifies the "reveal policy."
  • Online Bucketized Estimator: Since tracking every possible partial sequence is impossible, DPRM groups states into "buckets" based on Phase (how far along the generation is) and Confidence (the model's current score for a token).
  • Two-Stage Strategy:
    1. Warmup: It starts with confidence-based ordering to align training and inference.
  • Reward-Tilting: As it collects data, it uses historical rewards from these buckets to prioritize token orders that have historically led to better final results.
  • Soft-BoN Approximation: A stagewise algorithm that makes the complex "reward-tilted" math computationally efficient for real-time generation.

Datasets

The researchers evaluated DPRM across an impressive array of nine "host" settings:

  • Natural Language/Reasoning: GSM8K (math), MATH, and Countdown.
  • Scientific Domains: Protein inverse folding (CATH 4.3), single-cell RNA expression (Dentate Gyrus), molecular drug design (SAFE strings), and DNA regulatory sequences (GOSAI).
  • Multimodal: Text-to-image generation (Omni-Diffusion) and Visual Question Answering (AI2D, RealWorldQA).

Key Insights and Ideas

  • Ordering as a Control Axis: The paper demonstrates that token order is a "reusable control axis." You can squeeze significantly more performance out of an existing model just by changing the sequence of operations.
  • The Limits of Confidence: High confidence is a great starting point, but it's a poor proxy for global success in complex tasks. DPRM identifies "residual families"—trajectories that aren't locally obvious but are globally valuable.
  • Bucketized Transfer: By binning by phase and confidence, the model can learn useful ordering regularities that transfer to "unseen" sequences. For example, it might learn that being 50% confident in a specific type of token at the 20% mark of generation is a bad sign, regardless of the specific sentence.
  • Theoretical Convergence: The authors provide proofs showing that their practical "Soft-BoN" approximation converges to the ideal reward-tilted policy at a rate of $O(1/N)$.

Key Results

DPRM showed consistent gains across multiple benchmarks:

  • Math Reasoning: On the PUMA host, it raised the GSM8K mean score from 29.34 to 34.27. On DMPO, it improved "MATH Hard" from 44.3 to 47.9.
  • DNA Design: In the SDPO-DNA setting, the total metric improved dramatically from 1.141 to 2.119.
  • Multimodal: It improved AI2D diagram QA accuracy from 0.658 to 0.692.
  • Low Overhead: The "bucketized" logic is essentially scalar bookkeeping. In text-to-image tasks, the generation time remained nearly identical (approx. 21 seconds), proving the "plug-in" is computationally efficient.

Limitations and Future Work

  • Abstraction Bias: The coarse "buckets" (phase and confidence) can sometimes be too simple. In heterogeneous tasks like RealWorldQA, the authors found that these coarse buckets weren't enough to outperform standard confidence-based decoding.
  • NFE Overhead: In specific search-based frameworks like Prism, DPRM improved accuracy but nearly doubled the number of function evaluations (NFE), representing a quality-cost trade-off.
  • Future Directions: The authors suggest developing tighter bucket abstractions (perhaps using domain-specific features) and exploring richer "process rewards" that provide feedback during the generation process rather than just at the end.

Summary updated

BibTeX
@inproceedings{bu2026dprm,
  author = {Dake Bu and Wei Huang and Andi Han and Hau-San Wong and Qingfu Zhang and Taiji Suzuki and Atsushi Nitanda},
  title = {{DPRM: A Plug-in Token-Ordering Module for Diffusion Language Models}},
  booktitle = {FoGen @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=xuJsKLw5H1},
}
Figure