Skip to main content
QUICK REVIEW

[论文解读] Categorical Reparameterization with Denoising Diffusion models

Samson Gourevitch, Alain Durmus|arXiv (Cornell University)|Jan 2, 2026
Stochastic Gradient Optimization TechniquesComputer Science被引用 0
一句话总结

该论文提出了一种用于分类分布的扩散式软重参数化(ReDGE),实现了无需训练的可微采样器和新的梯度估计器,从而提升对离散问题的优化。

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.

研究动机与目标

  • 在各领域(行动、潜变量、令牌决策)中激励基于梯度的分类变量优化。
  • 通过引入扩散式松弛来克服现有估计量的偏差-方差权衡。
  • 推导出针对单纯形顶点分布的闭式去噪器,以实现训练自由的扩散采样。
  • 开发实用的梯度估计量(包括硬变体),并在基准上评估性能。

提出的方法

  • 将分类分布建模为在 L x K 词汇表上的独立分量乘积(因子化的 pi_theta)。
  • 应用对分类单纯形顶点具有闭式去噪器的去噪扩散模型,使从高斯噪声到 pi_theta 的采样映射可微。
  • 使用受 DDIM 启发的反向转移,配合无需训练的去噪器,获得对 pi_theta 的近似重参数化。
  • 推导硬梯度估计量(包括 ST 和 ReinMax 启发的变体)以及通过二阶近似整合的 ReDGE-Max 选项。
  • 通过引入以参数为依赖的基分布 pi_1^theta 以在高概率区域改进去噪(ReDGE-Cov)。
  • 讨论扩散步数(作为松弛参数)与梯度信息量之间的相互关系。
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
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

实验结果

研究问题

  • RQ1扩散基去噪是否能为离散分类分布提供低偏差、低方差的路径梯度?
  • RQ2扩散时间步数的数量和放置如何影响梯度质量和优化性能?
  • RQ3闭式去噪器是否能为分类变量提供训练自由的可微采样映射,与现有松弛方法相比如何?
  • RQ4在此扩散框架内,哪些有效的梯度估计量(硬/ ST、ReinMax、ReDGE 变体)?
  • RQ5引入参数相关的基分布是否能进一步改善梯度估计和优化结果?

主要发现

  • 在扩散框架内,存在针对单纯形顶点的分类分布的闭式去噪器,使训练自由、可微采样成为可能。
  • 基于 DDIM 的反向过程可产生对 pi_theta 的近似重参数化样本,其梯度行为受时间步控制(早期 t1 控制雅可比矩阵的规模)。
  • 硬梯度变体(包括 ReDGE-Max)作为特殊情况可恢复或改进 Straight-Through 与 ReinMax,提供具有竞争力的基线。
  • 参数相关的基分布(ReDGE-Cov)通过使扩散过程与目标 pi_theta 对齐,进一步提升性能。
  • 实证结果在若干基准上与 ST、Gumbel-Softmax 和 ReinMax 相比,展现出具有竞争力或改进的优化性能。
Figure 2: Polynomial programming benchmark for different values of the exponent $p$ .
Figure 2: Polynomial programming benchmark for different values of the exponent $p$ .

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。