EntRGi: Entropy Aware Reward Guidance for Diffusion Language Models
Atula Tejaswi, Litu Rout, Constantine Caramanis, Sanjay Shakkottai, Sujay Sanghavi
TL;DR
EntRGi tackles the challenge of steering discrete diffusion language models at inference time with differentiable reward signals by introducing entropy-aware gradient guidance. It interpolates between continuous relaxations and hard token embeddings using tokenwise entropy, via $\hat{e}^l = (1-w^l)\bar{e}^l + w^l \tilde{e}^l$ with $w^l = H(q^l)/\log K$, to provide reliable reward gradients $\nabla_{\psi^l} R(\hat{e})$ while keeping the diffusion and reward models fixed. The paper presents a theoretical analysis of gradient approximation errors, defining $\mathcal{E}^l$ and $\mathcal{D}^l$, and demonstrates that EntRGi reduces early-denoising approximation error relative to prior methods. Empirically, using a 7B Dream diffusion LLM and three reward models across three benchmarks, EntRGi achieves consistent improvements over state-of-the-art baselines, with larger reward models and a moderate number of gradient steps further enhancing performance. This work demonstrates that entropy-based modulation offers a principled, training-free path to reliable reward-guided generation in discrete diffusion models, with practical implications for controllable text generation without additional fine-tuning.
Abstract
Reward guidance has been applied to great success in the test-time adaptation of continuous diffusion models; it updates each denoising step using the gradients from a downstream reward model. We study reward guidance for discrete diffusion language models, where one cannot differentiate through the natural outputs of the model because they are discrete tokens. Existing approaches either replace these discrete tokens with continuous relaxations, or employ techniques like the straight-through estimator. In this work, we show the downsides of both these methods. The former degrades gradient feedback because the reward model has never been trained with continuous inputs. The latter involves incorrect optimization because the gradient evaluated at discrete tokens is used to update continuous logits. Our key innovation is to go beyond this tradeoff by introducing a novel mechanism called EntRGi: Entropy aware Reward Guidance that dynamically regulates the gradients from the reward model. By modulating the continuous relaxation using the model's confidence, our approach substantially improves reward guidance while providing reliable inputs to the reward model. We empirically validate our approach on a 7B-parameter diffusion language model across 3 diverse reward models and 3 multi-skill benchmarks, showing consistent improvements over state-of-the-art methods.
