arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.00176cs.LGstat.ML
收藏

不可微模型的重参数化梯度

Reparameterization Gradient for Non-differentiable Models

KAIST(韩国科学技术院)

Wonyeol Lee, Hangyeol Yu, Hongseok Yang

摘要:

针对密度不可微的模型,提出了一种新的随机变分推理算法。随机变分推理中的一个关键挑战是提出变分目标梯度的低方差估计。我们通过推广重新参数化技巧来应对这一挑战,这是解决可微模型方差问题的最有效技术之一,因此该技巧也适用于不可微模型。我们的算法将潜在变量的空间划分为变量密度可微的区域和密度可能无法微的边界。对于每个可微区域,该算法应用标准的重新参数化技巧并估计限制在该区域的梯度。对于每个潜在的不可微边界,它使用一种形式的流形采样,并计算变分参数的方向,如果遵循,将增加边界对变分目标的贡献。所有估计的和成为我们算法的梯度估计。我们的估计享有减少方差的重新参数化梯度,同时保持无偏,即使是不可微的模型。我们初步实施的实验证实了减少方差和无偏性的好处。

英文摘要:

We present a new algorithm for stochastic variational inference that targets at models with non-differentiable densities. One of the key challenges in stochastic variational inference is to come up with a low-variance estimator of the gradient of a variational objective. We tackle the challenge by generalizing the reparameterization trick, one of the most effective techniques for addressing the variance issue for differentiable models, so that the trick works for non-differentiable models as well. Our algorithm splits the space of latent variables into regions where the density of the variables is differentiable, and their boundaries where the density may fail to be differentiable. For each differentiable region, the algorithm applies the standard reparameterization trick and estimates the gradient restricted to the region. For each potentially non-differentiable boundary, it uses a form of manifold sampling and computes the direction for variational parameters that, if followed, would increase the boundary's contribution to the variational objective. The sum of all the estimates becomes the gradient estimate of our algorithm. Our estimator enjoys the reduced variance of the reparameterization gradient while remaining unbiased even for non-differentiable models. The experiments with our preliminary implementation confirm the benefit of reduced variance and unbiasedness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑