VarGrad: A Low-Variance Gradient Estimator for Variational Inference

From MaRDI portal
Publication:6351797

arXiv2010.10436MaRDI QIDQ6351797

Author name not available (Why is that?)

Publication date: 20 October 2020

Abstract: We analyse the properties of an unbiased gradient estimator of the ELBO for variational inference, based on the score function method with leave-one-out control variates. We show that this gradient estimator can be obtained using a new loss, defined as the variance of the log-ratio between the exact posterior and the variational approximation, which we call the extitlogvarianceloss. Under certain conditions, the gradient of the log-variance loss equals the gradient of the (negative) ELBO. We show theoretically that this gradient estimator, which we call extitVarGrad due to its connection to the log-variance loss, exhibits lower variance than the score function method in certain settings, and that the leave-one-out control variate coefficients are close to the optimal ones. We empirically demonstrate that VarGrad offers a favourable variance versus computation trade-off compared to other state-of-the-art estimators on a discrete VAE.




Has companion code repository: https://github.com/aboustati/vargrad








This page was built for publication: VarGrad: A Low-Variance Gradient Estimator for Variational Inference

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q6351797)