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

变分推断中的统计与计算权衡:一项关于推断模型选择的案例研究

Statistical and Computational Trade-offs in Variational Inference: A Case Study in Inferential Model Selection

University of California, Berkeley(加州大学伯克利分校);University of California, San Diego(加州大学圣地亚哥分校);University of Michigan(密歇根大学)

Kush Bhatia, Nikki Lijing Kuang, Yi-An Ma, Yixin Wang

AI总结:

本文以高斯推断模型为案例,从贝叶斯后验推断和频率派不确定性量化两个角度理论分析了变分推断中统计精度与计算效率的权衡,证明低秩模型在固定计算预算下可加速收敛,且小数据集下无需满秩即可达到最优估计误差。

摘要:

变分推断近年来已成为大规模贝叶斯推断中经典马尔可夫链蒙特卡洛(MCMC)方法的一种流行替代方案。其核心思想是以统计精度换取计算效率。在本工作中,我们通过一项关于推断模型选择的案例研究,探讨变分推断中的这些统计与计算权衡。聚焦于具有对角加低秩精度矩阵的高斯推断模型(或变分近似族),我们从两个方面展开了关于这些权衡的理论研究:贝叶斯后验推断误差和频率派不确定性量化误差。从贝叶斯后验推断的角度,我们刻画了变分后验相对于精确后验的误差。我们证明,在给定固定计算预算的情况下,较低秩的推断模型产生的变分后验具有更高的统计近似误差,但具有更低的计算误差;它降低了随机优化中的方差,从而加速收敛。从频率派不确定性量化的角度,我们将变分后验的精度矩阵视为一种不确定性估计,其中包含一个源于数据采样不确定性的额外统计误差。因此,对于小数据集,推断模型不必是满秩的即可达到最优估计误差(即使计算预算不受限制)。

英文摘要:

Variational inference has recently emerged as a popular alternative to the classical Markov chain Monte Carlo (MCMC) in large-scale Bayesian inference. The core idea is to trade statistical accuracy for computational efficiency. In this work, we study these statistical and computational trade-offs in variational inference via a case study in inferential model selection. Focusing on Gaussian inferential models (or variational approximating families) with diagonal plus low-rank precision matrices, we initiate a theoretical study of the trade-offs in two aspects, Bayesian posterior inference error and frequentist uncertainty quantification error. From the Bayesian posterior inference perspective, we characterize the error of the variational posterior relative to the exact posterior. We prove that, given a fixed computation budget, a lower-rank inferential model produces variational posteriors with a higher statistical approximation error, but a lower computational error; it reduces variance in stochastic optimization and, in turn, accelerates convergence. From the frequentist uncertainty quantification perspective, we consider the precision matrix of the variational posterior as an uncertainty estimate, which involves an additional statistical error originating from the sampling uncertainty of the data. As a consequence, for small datasets, the inferential model need not be full-rank to achieve optimal estimation error (even with unlimited computation budget).

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

↑