Inference-Time Scaling of Diffusion Language Models with Particle Gibbs Sampling
Meihua Dang, Jiaqi Han, Minkai Xu, Kai Xu, Akash Srivastava, Stefano Ermon
TL;DR
This work addresses steering discrete diffusion language models toward task-specific rewards without retraining. It introduces PG-DLM, a trajectory-level inference-time method that iteratively refines full generations via a conditional sequential Monte Carlo kernel, yielding convergence guarantees and improved reward optimization while preserving generation quality. The authors develop a unified framework for multi-axis inference-time scaling and show that, under fixed compute budgets, increasing the number of iterations $m$ often yields the best reward-perplexity trade-off, with strong empirical gains over baselines on MDLM and LLaDA-8B across toxicity, sentiment, and linguistic-acceptability tasks. The approach demonstrates broad compatibility with various diffusion processes and provides practical guidance for compute allocation in real-world constrained settings, enabling scalable, controllable generation without retraining.
Abstract
Discrete diffusion models have recently emerged as strong alternatives to autoregressive language models, matching their performance through large-scale training. However, inference-time control remains relatively underexplored. In this work, we study how to steer generation toward desired rewards without retraining the models. Prior methods typically resample or filter within a single denoising trajectory, optimizing rewards step-by-step without trajectory-level refinement. We introduce particle Gibbs sampling for diffusion language models (PG-DLM), a novel inference-time algorithm enabling trajectory-level refinement while preserving generation perplexity under reward optimization. PG-DLM constructs a Markov chain over full denoising trajectories and applies a conditional sequential Monte Carlo kernel to resample them. We derive theoretical guarantees for convergence, including asymptotic consistency and variance bounds. Within this framework, we further analyze trade-offs across four key axes for inference-time scaling under fixed budgets: iterations, samples, denoising steps, and reward estimation. Our analysis shows scaling iterations achieves the best reward-perplexity trade-off. Empirically, PG-DLM consistently outperforms prior methods using MDLM and LLaDA-8B as base models across a wide range of compute budgets for reward-guided generation tasks including toxicity and sentiment control as well as linguistic acceptability.
