arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.16587cs.LGcs.AIcs.CV
收藏

基于潜在表示高维检验的自适应不确定性估计

Adaptive Uncertainty Estimation via High-Dimensional Testing on Latent Representations

The University of Hong Kong(香港大学);TCL AI Lab(TCL人工智能实验室);Imperial College London(帝国理工学院)

Tsai Hor Chan, Kin Wai Lau, Jiajun Shen, Guosheng Yin, Lequan Yu

AI总结:

针对现有不确定性估计方法受限于低维假设且依赖训练时分布外数据的问题,提出一种基于潜在表示的数据自适应高维假设检验框架,无需重训编码器即可提升OOD检测与不确定性估计的准确性。

摘要:

不确定性估计旨在评估已训练深度神经网络的置信度。然而,现有的不确定性估计方法依赖于低维分布假设,因此受制于潜在特征的高维特性。现有方法往往侧重于离散分类概率上的不确定性,这导致其对其他任务的不确定性估计泛化能力较差。此外,大部分文献要求在训练中见过分布外(OOD)数据以更好地估计不确定性,由于OOD数据通常是未见的,这在实践中限制了不确定性估计的性能。为克服这些局限性,我们提出了一种新的框架,使用数据自适应的高维假设检验进行不确定性估计,该框架利用了特征表示的统计特性。我们的方法直接作用于潜在表示,因此无需在修改的目标下重新训练特征编码器。检验统计量将特征分布假设放宽至高维度,并且对潜在表示中的不确定性更具区分力。我们证明,使用贝叶斯神经网络编码特征可以提升检验性能,并带来更准确的不确定性估计。我们进一步引入族检验程序来确定OOD检测的最优阈值,从而最小化错误发现率(FDR)。大量实验验证了我们的框架在多种竞争对手的不确定性估计和特定任务预测上均具有令人满意的性能。在OOD检测任务上的实验也表明,当训练中未见过OOD数据时,我们的方法同样表现良好。代码可在 https://github.com/HKU-MedAI/bnn_uncertainty 获取。

英文摘要:

Uncertainty estimation aims to evaluate the confidence of a trained deep neural network. However, existing uncertainty estimation approaches rely on low-dimensional distributional assumptions and thus suffer from the high dimensionality of latent features. Existing approaches tend to focus on uncertainty on discrete classification probabilities, which leads to poor generalizability to uncertainty estimation for other tasks. Moreover, most of the literature requires seeing the out-of-distribution (OOD) data in the training for better estimation of uncertainty, which limits the uncertainty estimation performance in practice because the OOD data are typically unseen. To overcome these limitations, we propose a new framework using data-adaptive high-dimensional hypothesis testing for uncertainty estimation, which leverages the statistical properties of the feature representations. Our method directly operates on latent representations and thus does not require retraining the feature encoder under a modified objective. The test statistic relaxes the feature distribution assumptions to high dimensionality, and it is more discriminative to uncertainties in the latent representations. We demonstrate that encoding features with Bayesian neural networks can enhance testing performance and lead to more accurate uncertainty estimation. We further introduce a family-wise testing procedure to determine the optimal threshold of OOD detection, which minimizes the false discovery rate (FDR). Extensive experiments validate the satisfactory performance of our framework on uncertainty estimation and task-specific prediction over a variety of competitors. The experiments on the OOD detection task also show satisfactory performance of our method when the OOD data are unseen in the training. Codes are available at https://github.com/HKU-MedAI/bnn_uncertainty.

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

↑