Efficient Perplexity Bound and Ratio Matching in Discrete Diffusion Language Models
Etrit Haxholli, Yeti Z. Gurbuz, Ogul Can, Eli Waxman
TL;DR
This work tackles the challenge of modeling discrete language with diffusion, introducing a CTMC-based discrete diffusion framework and proving three KL-divergence theorems that yield a tighter perplexity bound via $J_2$. It replaces ratio-matching training with cross-entropy discrete diffusion (CEDD) and introduces roulette diffusion, featuring an analytic matrix exponential to enable efficient training and refinement during unmasking. Empirically, CEDD and its variants consistently outperform SEDD across absorb, uniform, and roulette dynamics, delivering up to ~10% lower perplexity and ~15% faster training, with additional gains in spelling correction tasks. The results advance practical, scalable discrete diffusion models for language with improved evaluation bounds and generation efficiency.
Abstract
While continuous diffusion models excel in modeling continuous distributions, their application to categorical data has been less effective. Recent work has shown that ratio-matching through score-entropy within a continuous-time discrete Markov chain (CTMC) framework serves as a competitive alternative to autoregressive models in language modeling. To enhance this framework, we first introduce three new theorems concerning the KL divergence between the data and learned distribution. Our results serve as the discrete counterpart to those established for continuous diffusion models and allow us to derive an improved upper bound of the perplexity. Second, we empirically show that ratio-matching performed by minimizing the denoising cross-entropy between the clean and corrupted data enables models to outperform those utilizing score-entropy with up to 10% lower perplexity/generative-perplexity, and 15% faster training steps. To further support our findings, we introduce and evaluate a novel CTMC transition-rate matrix that allows prediction refinement, and derive the analytic expression for its matrix exponential which facilitates the computation of conditional ratios thus enabling efficient training and generation.
