[Paper Review] Categorical Reparameterization with Denoising Diffusion models
The paper presents a diffusion-based soft reparameterization for categorical distributions (ReDGE), yielding a training-free differentiable sampler and new gradient estimators that improve optimization on discrete problems.
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.
Motivation & Objective
- Motivate gradient-based optimization with categorical variables across domains (actions, latent variables, token decisions).
- Overcome bias–variance trade-offs of existing estimators by introducing a diffusion-based relaxation.
- Derive a closed-form denoiser for simplex-vertex distributions to enable training-free diffusion sampling.
- Develop practical gradient estimators, including hard variants, and assess performance on benchmarks.
Proposed method
- Model the categorical distribution as a product of independent components over a L x K vocabulary (factorized pi_theta).
- Apply denoising diffusion models with a closed-form denoiser for categorical simplex vertices, enabling a differentiable sampling map from Gaussian noise to pi_theta.
- Use DDIM-inspired reverse transitions with a training-free denoiser to obtain an approximate reparameterization of pi_theta.
- Derive hard gradient estimators ( ST and ReinMax-inspired variants) and a ReDGE-Max option by integrating with a second-order approximation.
- Extend with parameter-dependent base distributions pi_1^theta to improve denoising in high-probability regions (ReDGE-Cov).
- Discuss the interplay between diffusion steps (as a relaxation parameter) and gradient informativeness.
![Figure 1: Visualization of the DDIM transport for $\pi_{\!\theta}=\theta\!\cdot\!\updelta_{-2}+(1-\theta)\!\cdot\!\updelta_{2}$ with the linear schedule $(\alpha_{t},\sigma_{t})=(1-t,t)$ . First two rows : DDIM trajectories with varying ${t_{1}}$ for two different values of $\theta\in[0,1]$ . Third](https://ar5iv.labs.arxiv.org/html/2601.00781/assets/images/traj_figure.png)
Experimental results
Research questions
- RQ1Can diffusion-based denoising provide a low-bias, low-variance pathwise gradient for discrete categorical distributions?
- RQ2How does the number and placement of diffusion timesteps affect gradient quality and optimization performance?
- RQ3Do closed-form denoisers yield training-free, differentiable sampling maps for categorical variables, and how do they compare to existing relaxations?
- RQ4What are effective gradient estimators (hard/ST, ReinMax, ReDGE variants) within this diffusion framework?
- RQ5Does incorporating a parameter-dependent base distribution further improve gradient estimates and optimization outcomes?
Key findings
- A closed-form denoiser exists for categorical distributions on the simplex vertices within a diffusion framework, enabling training-free, differentiable sampling.
- A DDIM-based reverse process yields approximately reparameterized samples from pi_theta, with gradient behavior governed by timesteps (early t1 controls Jacobian magnitude).
- Hard gradient variants (including ReDGE-Max) recover or improve upon Straight-Through and ReinMax as special cases, offering competitive baselines.
- Parameter-dependent base distributions (ReDGE-Cov) further improve performance by aligning the diffusion process with the target pi_theta.
- Empirical results show competitive or improved optimization performance across several benchmarks compared to ST, Gumbel-Softmax, and ReinMax.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.