arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.00428stat.MLcs.AIcs.LG
收藏

Storchastic:一个通用的随机自动微分框架

Storchastic: A Framework for General Stochastic Automatic Differentiation

Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)

Emile van Krieken, Jakub M. Tomczak, Annette ten Teije

摘要:

建模者使用计算图的自动微分(AD)来实现复杂的深度学习模型,而无需定义梯度计算。随机AD将AD扩展到具有采样步骤的随机计算图,当建模者处理强化学习和变分推断中常见的棘手期望时,会出现这种情况。然而,目前的随机AD方法是有限的:他们要么只适用于连续随机变量和可微函数,或只能使用简单但高方差的得分函数估计。为了克服这些局限性,我们引入Storstochastic,一个新的框架AD的随机计算图。Storstochastic允许建模者在每个采样步骤从各种各样的梯度估计方法中进行选择,以最佳地降低梯度估计的方差。此外,Storstochastic是可证明的无偏估计的任何阶梯度,并推广方差减少技术高阶梯度估计。最后,我们在https://github.com/HEmile/storchastic上将Storchromatic实现为PyTorch库。

英文摘要:

Modelers use automatic differentiation (AD) of computation graphs to implement complex Deep Learning models without defining gradient computations. Stochastic AD extends AD to stochastic computation graphs with sampling steps, which arise when modelers handle the intractable expectations common in Reinforcement Learning and Variational Inference. However, current methods for stochastic AD are limited: They are either only applicable to continuous random variables and differentiable functions, or can only use simple but high variance score-function estimators. To overcome these limitations, we introduce Storchastic, a new framework for AD of stochastic computation graphs. Storchastic allows the modeler to choose from a wide variety of gradient estimation methods at each sampling step, to optimally reduce the variance of the gradient estimates. Furthermore, Storchastic is provably unbiased for estimation of any-order gradients, and generalizes variance reduction techniques to higher-order gradient estimates. Finally, we implement Storchastic as a PyTorch library at https://github.com/HEmile/storchastic.

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

↑