English

Categorical Reparameterization with Denoising Diffusion models

Machine Learning 2026-02-10 v2 Machine Learning

Abstract

Learning models with categorical variables requires optimizing expectations over discrete distributions, a setting in which stochastic gradient-based optimization is challenging due to the non-differentiability of categorical sampling. A common workaround is to replace the discrete distribution with a continuous relaxation, yielding a smooth surrogate that admits reparameterized gradient estimates via the reparameterization trick. Building on this idea, we introduce ReDGE, a novel and efficient diffusion-based soft reparameterization method for categorical distributions. Our approach defines a flexible class of gradient estimators that includes the Straight-Through estimator as a special case. Experiments spanning latent variable models and inference-time reward guidance in discrete diffusion models demonstrate that ReDGE consistently matches or outperforms existing gradient-based methods. The code will be made available at https://github.com/samsongourevitch/redge.

Keywords

Cite

@article{arxiv.2601.00781,
  title  = {Categorical Reparameterization with Denoising Diffusion models},
  author = {Samson Gourevitch and Alain Durmus and Eric Moulines and Jimmy Olsson and Yazid Janati},
  journal= {arXiv preprint arXiv:2601.00781},
  year   = {2026}
}

Comments

preprint

R2 v1 2026-07-01T08:48:42.208Z