Efficient and Stable Reinforcement Learning for Diffusion Language Models
Jiawei Liu, Xiting Wang, Yuanyuan Zhong, Defu Lian, Yu Yang
TL;DR
This work tackles the dual challenges of efficiency and stability in reinforcement learning for diffusion-based language models by introducing Spatio-Temporal Pruning (STP). STP combines spatial pruning, which fixes a fraction of tokens using static priors to constrain exploration, with temporal pruning, which omits late-stage denoising steps to reduce computation. The authors provide theoretical guarantees showing that STP reduces ELBO variance and stabilizes GRPO-based training, and they validate these claims with extensive experiments on math and logic benchmarks, achieving up to 81.7% relative improvements in logic tasks and notable training speedups. Importantly, STP is orthogonal to other RL advances and demonstrated to be compatible with alternative RL algorithms, acting as a versatile plug-in to accelerate and stabilize diffusion-based RL for first-pass reasoning tasks.
Abstract
Reinforcement Learning (RL) is crucial for unlocking the complex reasoning capabilities of Diffusion-based Large Language Models (dLLMs). However, applying RL to dLLMs faces unique challenges in efficiency and stability. To address these challenges, we propose Spatio-Temporal Pruning (STP), a framework designed to simultaneously improve the efficiency and stability of RL for dLLMs. STP compresses the redundancy in the generative process through: (1) \textit{spatial pruning}, which constrains the exploration space using static priors; and (2) \textit{temporal pruning}, which bypasses redundant late-stage refinement steps. Our theoretical analysis demonstrates that STP strictly reduces the variance of the log-likelihood estimation, thereby ensuring more stable policy updates. Extensive experiments demonstrate that STP surpasses state-of-the-art baselines in both efficiency and accuracy. Our code is available at https://github.com/Lolo1222/STP.
