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

无限宽极限下神经网络隐式先验的不确定性研究

Exploring the Uncertainty Properties of Neural Networks' Implicit Priors in the Infinite-Width Limit

Google Brain(谷歌大脑(Google Brain))

Ben Adlam, Jaehoon Lee, Lechao Xiao, Jeffrey Pennington, Jasper Snoek

摘要:

现代深度学习模型在许多数据模式的预测准确性方面取得了巨大成功。然而,他们的应用到许多现实世界的任务是限制了穷人的不确定性估计,如过度自信的分布外(OOD)数据和不优雅的失败下分布的转变。以前的基准测试已经发现,神经网络(NN)的集合通常是OOD数据的最佳校准模型。受此启发,我们利用最新的理论进展,其特征的功能空间前的合奏无限宽的神经网络作为一个高斯过程,称为神经网络高斯过程(NNGP)。我们使用带有softmax链接函数的NNGP来构建多类分类的概率模型,并对潜在高斯输出进行边缘化以从后验中采样。这使我们更好地理解了函数空间上的隐式先验NN,并允许直接比较NNGP及其有限宽度模拟的校准。我们还研究了以前的方法与NNGP分类的校准,将分类问题视为回归到一个热标签。在这种情况下,贝叶斯后验是精确的,我们比较了几个分类来生成类的分类分布。我们发现这些方法在分布偏移下得到了很好的校准。最后,我们考虑一个无限宽度的最终层与一个预先训练好的嵌入。这复制了迁移学习的重要实际用例,并允许扩展到更大的数据集。除了实现有竞争力的预测精度外,这种方法比其有限宽度模拟更好地校准。

英文摘要:

Modern deep learning models have achieved great success in predictive accuracy for many data modalities. However, their application to many real-world tasks is restricted by poor uncertainty estimates, such as overconfidence on out-of-distribution (OOD) data and ungraceful failing under distributional shift. Previous benchmarks have found that ensembles of neural networks (NNs) are typically the best calibrated models on OOD data. Inspired by this, we leverage recent theoretical advances that characterize the function-space prior of an ensemble of infinitely-wide NNs as a Gaussian process, termed the neural network Gaussian process (NNGP). We use the NNGP with a softmax link function to build a probabilistic model for multi-class classification and marginalize over the latent Gaussian outputs to sample from the posterior. This gives us a better understanding of the implicit prior NNs place on function space and allows a direct comparison of the calibration of the NNGP and its finite-width analogue. We also examine the calibration of previous approaches to classification with the NNGP, which treat classification problems as regression to the one-hot labels. In this case the Bayesian posterior is exact, and we compare several heuristics to generate a categorical distribution over classes. We find these methods are well calibrated under distributional shift. Finally, we consider an infinite-width final layer in conjunction with a pre-trained embedding. This replicates the important practical use case of transfer learning and allows scaling to significantly larger datasets. As well as achieving competitive predictive accuracy, this approach is better calibrated than its finite width analogue.

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

↑