Categorical Reparameterization with Denoising Diffusion models

Samson Gourevitch, Alain Durmus, Eric Moulines, Jimmy Olsson, Yazid Janati
1/2/2026
cs.LGstat.ML

Official code: samsongourevitch/redge (3 stars, last commit 2026-03-03).

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.

View on arXivView PDF

Code Implementations(1)

30PythonFeb 9, 20267 months ago

Cite this paper

@article{gourevitch2026categorical,
  title  = {Categorical Reparameterization with Denoising Diffusion models},
  author = {Samson Gourevitch and Alain Durmus and Eric Moulines and Jimmy Olsson and Yazid Janati},
  year   = {2026},
  eprint = {2601.00781},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.00781v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.00781.svg)](https://codeofpaper.com/paper/2601.00781)

Discussion