arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.11033stat.MLastro-ph.IMcs.LGphysics.data-anstat.ME
收藏

度量高斯变分推断

Metric Gaussian Variational Inference

Max-Planck-Institut für Astrophysik(马克斯·普朗克天体物理研究所);Ludwig-Maximilians-Universität München(路德维希-马克西米利安慕尼黑大学)

Jakob Knollmüller, Torsten A. Enßlin

摘要:

用变分方法近似求解贝叶斯推断问题可以得到快速而准确的结果。捕获近似值内的相关性需要显式参数化。这本质上限制了这种方法,无论是适度的尺寸问题,或需要强烈简化的平均场方法。我们提出度量高斯变分推断(MGVI)作为一种方法,超越平均场。这里考虑了所有模型参数之间的相关性,同时仍然在计算时间和内存中线性缩放。与传统方法相比,这种方法实现了更高的精度,在许多情况下显着的加速。MGVI是一种迭代方法,它对后验进行一系列高斯近似。我们交替近似的协方差与逆费舍尔信息度量评估在一个中间均值估计和优化KL发散给定的协方差相对于平均值。迭代此过程,直到不确定性估计与平均参数自洽。我们通过避免在任何时候显式存储协方差来实现线性缩放。相反,我们从近似分布中抽取样本,依赖于隐式表示和数值方案来近似求解线性方程组。这些样本用于近似KL-散度及其梯度。自然梯度下降的使用允许快速收敛。在标准化坐标系中制定贝叶斯模型使得MGVI适用于任何具有连续参数的推理问题。我们证明了高精度的MGVI通过比较它的HMC和它的快速收敛相对于其他已建立的方法在几个例子。我们研究真实数据的应用,以及不同大小和复杂性的合成示例,以及多达一百万个模型参数。

英文摘要:

Solving Bayesian inference problems approximately with variational approaches can provide fast and accurate results. Capturing correlation within the approximation requires an explicit parametrization. This intrinsically limits this approach to either moderately dimensional problems, or requiring the strongly simplifying mean-field approach. We propose Metric Gaussian Variational Inference (MGVI) as a method that goes beyond mean-field. Here correlations between all model parameters are taken into account, while still scaling linearly in computational time and memory. With this method we achieve higher accuracy and in many cases a significant speedup compared to traditional methods. MGVI is an iterative method that performs a series of Gaussian approximations to the posterior. We alternate between approximating the covariance with the inverse Fisher information metric evaluated at an intermediate mean estimate and optimizing the KL-divergence for the given covariance with respect to the mean. This procedure is iterated until the uncertainty estimate is self-consistent with the mean parameter. We achieve linear scaling by avoiding to store the covariance explicitly at any time. Instead we draw samples from the approximating distribution relying on an implicit representation and numerical schemes to approximately solve linear equations. Those samples are used to approximate the KL-divergence and its gradient. The usage of natural gradient descent allows for rapid convergence. Formulating the Bayesian model in standardized coordinates makes MGVI applicable to any inference problem with continuous parameters. We demonstrate the high accuracy of MGVI by comparing it to HMC and its fast convergence relative to other established methods in several examples. We investigate real-data applications, as well as synthetic examples of varying size and complexity and up to a million model parameters.

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

↑