The reparameterization trick enables optimizing large scale stochastic computation graphs via gradient descent. The essence of the trick is to refactor each stochastic node into a differentiable function of its parameters and a random variable with fixed distribution. After refactoring, the gradients of the loss propagated by the chain rule through the graph are low variance unbiased estimators of the gradients of the expected loss. While many continuous random variables have such reparameterizations, discrete random variables lack useful reparameterizations due to the discontinuous nature of discrete states. In this work we introduce Concrete random variables---continuous relaxations of discrete random variables. The Concrete distribution is a new family of distributions with closed form densities and a simple reparameterization. Whenever a discrete stochastic node of a computation graph can be refactored into a one-hot bit representation that is treated continuously, Concrete stochastic nodes can be used with automatic differentiation to produce low-variance biased gradients of objectives (including objectives that depend on the log-probability of latent stochastic nodes) on the corresponding discrete graph. We demonstrate the effectiveness of Concrete relaxations on density estimation and structured prediction tasks using neural networks.
A Continuous Relaxation for Discrete Bayesian Optimization
DIKU, University of Copenhagen(哥本哈根大学DIKU学院);IMT, Université de Toulouse III(图卢兹第三大学IMT学院);Center for Machine Learning in Life Science(生命科学机器学习中心);DTU(丹麦技术大学)
Stochastic Gradient Descent-like relaxation is equivalent to Metropolis dynamics in discrete optimization and inference problems
Sapienza Università di Roma(罗马第一大学);Istituto Nazionale di Fisica Nucleare(国家核物理研究所);Osaka University(大阪大学);Università degli studi di Firenze(佛罗伦萨大学);Institute of Nanotechnology (NANOTEC) - CNR(国家研究委员会纳米技术研究所)
本文证明在离散优化和推断问题中,类 SGD 算法动力学与 Metropolis Monte Carlo 动力学定量匹配,并利用此等价性优化 mini-batch 大小以提升困难推断问题中的信号恢复效率。
REBAR: Low-variance, unbiased gradient estimates for discrete latent variable models
Google Brain(谷歌大脑);DeepMind;University of Oxford(牛津大学)
由于高方差梯度估计量,具有离散潜变量的模型中的学习具有挑战性。通常,方法依赖于控制变量来减少REINFORCE估计量的方差。最近的工作(Jang et al. 2016,Maddison et al. 2016)采取了不同的方法,引入了离散变量的连续松弛来产生低方差但有偏的梯度估计。在这项工作中,我们结合了这两种方法,通过一种新的控制变量,产生低方差,\emph{unbiased}梯度估计。然后,我们介绍了一个修改的连续松弛,并表明放松的紧密度可以在线适应,删除它作为一个超参数。我们在几个基准生成建模任务上展示了最先进的方差减少,通常会更快地收敛到更好的最终对数似然。