arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.04816cs.LGstat.ML
收藏

用于深度神经网络确定性不确定性量化的概率跳跃连接

Probabilistic Skip Connections for Deterministic Uncertainty Quantification in Deep Neural Networks

University of Wisconsin–Madison(威斯康星大学麦迪逊分校)

Felix Jimenez, Matthias Katzfuss

AI总结:

本文提出概率跳跃连接(PSC),利用神经坍缩选择敏感且平滑的中间层并拟合概率模型,从而在不重训的情况下实现高质量不确定性量化与OOD检测。

摘要:

深度学习中的确定性不确定性量化(UQ)旨在通过对网络进行单次前向传播,并利用网络特征提取器的输出来估计不确定性。现有方法要求特征提取器同时具备敏感性和平滑性,以确保有意义的输入变化会在特征向量中产生有意义的变化。平滑性能够实现泛化,而敏感性则可防止特征坍缩,即不同输入被映射到相同特征向量的情况。为满足这些要求,当前的确定性方法通常会使用谱归一化重新训练网络。本文不再修改训练过程,而是提出利用神经坍缩的度量来识别现有网络中一个既敏感又平滑的中间层。随后,我们在该中间层的特征向量上拟合一个概率模型,并将其称为概率跳跃连接(PSC)。通过实证分析,我们考察了谱归一化对神经坍缩的影响,并证明 PSC 能够有效解耦偶然不确定性和认知不确定性。此外,我们还表明,PSC 在不确定性量化和分布外(OOD)检测性能上,能够匹敌甚至超过现有需要修改训练过程的单次传播方法。通过对现有模型进行改造,PSC 无需重新训练即可提供高质量的 UQ 和 OOD 能力。

英文摘要:

Deterministic uncertainty quantification (UQ) in deep learning aims to estimate uncertainty with a single pass through a network by leveraging outputs from the network's feature extractor. Existing methods require that the feature extractor be both sensitive and smooth, ensuring meaningful input changes produce meaningful changes in feature vectors. Smoothness enables generalization, while sensitivity prevents feature collapse, where distinct inputs are mapped to identical feature vectors. To meet these requirements, current deterministic methods often retrain networks with spectral normalization. Instead of modifying training, we propose using measures of neural collapse to identify an existing intermediate layer that is both sensitive and smooth. We then fit a probabilistic model to the feature vector of this intermediate layer, which we call a probabilistic skip connection (PSC). Through empirical analysis, we explore the impact of spectral normalization on neural collapse and demonstrate that PSCs can effectively disentangle aleatoric and epistemic uncertainty. Additionally, we show that PSCs achieve uncertainty quantification and out-of-distribution (OOD) detection performance that matches or exceeds existing single-pass methods requiring training modifications. By retrofitting existing models, PSCs enable high-quality UQ and OOD capabilities without retraining.

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

↑