更丰富的贝叶斯最后层与子采样NTK特征
Richer Bayesian Last Layers with Subsampled NTK Features
AI总结:
本文提出了一种改进贝叶斯最后层的方法,通过将神经切线核特征投影到由最后层特征张成的空间中,以更准确地估计不确定性,同时保持计算效率。
摘要:
贝叶斯最后层(BLLs)提供了一种方便且计算高效的神经网络不确定性估计方法。然而,由于只对最终层应用贝叶斯处理,忽略了早期层引入的不确定性,导致低估了epistemic不确定性。我们提出了一种方法,通过将神经切线核(NTK)特征投影到由最后层特征张成的空间中,从而在保持标准BLL推理低计算成本的同时,实现对整个网络变异性更全面的后验推断。我们证明了该方法产生的后验方差至少等于标准BLL的方差,纠正了其低估epistemic不确定性的倾向。为进一步降低计算成本,我们引入了统一的子采样方案来估计投影矩阵和后验推断。我们为两种子采样类型推导了近似界限。在UCI回归、上下文带币、图像分类和分布外检测任务中,对图像和表格数据集的实证评估显示,与标准BLL和竞争基线相比,该方法在校准和不确定性估计方面有所改进,同时降低了计算成本。
英文摘要:
Bayesian Last Layers (BLLs) provide a convenient and computationally efficient way to estimate uncertainty in neural networks. However, they underestimate epistemic uncertainty because they apply a Bayesian treatment only to the final layer, ignoring uncertainty induced by earlier layers. We propose a method that improves BLLs by leveraging a projection of Neural Tangent Kernel (NTK) features onto the space spanned by the last-layer features. This enables posterior inference that accounts for variability of the full network while retaining the low computational cost of inference of a standard BLL. We show that our method yields posterior variances that are provably greater or equal to those of a standard BLL, correcting its tendency to underestimate epistemic uncertainty. To further reduce computational cost, we introduce a uniform subsampling scheme for estimating the projection matrix and for posterior inference. We derive approximation bounds for both types of subsampling. Empirical evaluations on UCI regression, contextual bandits, image classification, and out-of-distribution detection tasks in image and tabular datasets, demonstrate improved calibration and uncertainty estimates compared to standard BLLs and competitive baselines, while reducing computational cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。