arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2301.08374cs.LGcs.AIstat.ML
收藏

高维变分推断的投影积分更新

Projective Integral Updates for High-Dimensional Variational Inference

Sandia National Laboratories(桑迪亚国家实验室)

Jed A. Duersch

AI总结:

提出一种基于投影积分更新的变分推断不动点优化方法,利用准随机求积序列实现高维积分,生成拟牛顿变分贝叶斯(QNVB),在多种问题和架构上展现出更优的泛化能力与不确定性控制。

摘要:

变分推断是一种用于贝叶斯推断的近似框架,它通过优化参数上的简化分布来代替完整的后验分布,从而改进预测中量化的不确定性。捕获与训练数据保持一致的模型变化,能够通过降低参数敏感性来实现更鲁棒的预测。本研究引入了一种用于变分推断的不动点优化方法,当每个可行的对数密度可以表示为给定基中函数的线性组合时,该方法即可适用。在这种情况下,优化器成为投影积分更新的不动点。当基在每个参数上张成单变量二次函数时,可行密度即为高斯分布,且投影积分更新可生成拟牛顿变分贝叶斯(QNVB)。其他基和更新也是可行的。由于这些更新需要高维积分,本研究首先提出了一种用于平均场分布的高效准随机求积序列。该序列的每次迭代包含两个求值点,它们组合起来能够正确积分所有单变量二次函数,并且如果平均场因子是对称的,还能积分所有单变量三次函数。更重要的是,在短子序列上对结果进行平均,能够在更大范围的多变量二次函数空间上实现周期性精确。相应的变分更新需要使用标准(而非二阶)反向传播进行4次损失评估,以消除超过一半的多变量二次基函数中的误差项。该积分技术的动机是首先提出随机分块平均场求积,这在其他语境中也可能有用。QNVB的PyTorch实现允许在训练期间比竞争方法更好地控制模型不确定性。实验证明了该方法在多种学习问题和架构上具有卓越的泛化能力。

英文摘要:

Variational inference is an approximation framework for Bayesian inference that seeks to improve quantified uncertainty in predictions by optimizing a simplified distribution over parameters to stand in for the full posterior. Capturing model variations that remain consistent with training data enables more robust predictions by reducing parameter sensitivity. This work introduces a fixed-point optimization for variational inference that is applicable when every feasible log density can be expressed as a linear combination of functions from a given basis. In such cases, the optimizer becomes a fixed-point of projective integral updates. When the basis spans univariate quadratics in each parameter, feasible densities are Gaussian and the projective integral updates yield quasi-Newton variational Bayes (QNVB). Other bases and updates are also possible. As these updates require high-dimensional integration, this work first proposes an efficient quasirandom quadrature sequence for mean-field distributions. Each iterate of the sequence contains two evaluation points that combine to correctly integrate all univariate quadratics and, if the mean-field factors are symmetric, all univariate cubics. More importantly, averaging results over short subsequences achieves periodic exactness on a much larger space of multivariate quadratics. The corresponding variational updates require 4 loss evaluations with standard (not second-order) backpropagation to eliminate error terms from over half of all multivariate quadratic basis functions. This integration technique is motivated by first proposing stochastic blocked mean-field quadratures, which may be useful in other contexts. A PyTorch implementation of QNVB allows for better control over model uncertainty during training than competing methods. Experiments demonstrate superior generalizability for multiple learning problems and architectures.

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

↑