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

分布外检测的归一化Logits不确定性估计

Uncertainty-Estimation with Normalized Logits for Out-of-Distribution Detection

Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学)

Mouxiao Huang, Yu Qiao

摘要:

分发外(OOD)检测对于防止深度学习模型做出错误预测以确保人工智能系统的安全性至关重要。特别是在医疗诊断和自动驾驶等安全关键型应用中,错误决策的成本通常难以承受。然而,神经网络经常遭受过度自信的问题,使得在训练过程中从未见过的OOD数据的高置信度,并且可能与训练数据无关,即在分布(ID)数据。确定预测的可靠性仍然是一项困难和具有挑战性的任务。在这项工作中,我们提出了不确定性估计与归一化对数(UE-NL),一个强大的学习方法OOD检测,它有三个主要的好处。(1)基于UE-NL的神经网络通过预测输入数据的不确定性得分来平等对待每个ID样本,并将不确定性添加到softmax函数中,以在训练阶段调整简单样本和困难样本的学习强度,使模型具有鲁棒性和准确性。(2)UE-NL在logits上强制一个恒定的向量范数,以解耦优化过程中不断增加的输出范数的影响,这在一定程度上导致了过度自信问题。(3)UE-NL提供了一种新的度量标准,不确定性分数的大小,以检测OOD数据。实验表明,UE-NL在常见的OOD基准测试中获得了最佳性能,并且对可能被其他方法误判为OOD数据的噪声ID数据更具鲁棒性。

英文摘要:

Out-of-distribution (OOD) detection is critical for preventing deep learning models from making incorrect predictions to ensure the safety of artificial intelligence systems. Especially in safety-critical applications such as medical diagnosis and autonomous driving, the cost of incorrect decisions is usually unbearable. However, neural networks often suffer from the overconfidence issue, making high confidence for OOD data which are never seen during training process and may be irrelevant to training data, namely in-distribution (ID) data. Determining the reliability of the prediction is still a difficult and challenging task. In this work, we propose Uncertainty-Estimation with Normalized Logits (UE-NL), a robust learning method for OOD detection, which has three main benefits. (1) Neural networks with UE-NL treat every ID sample equally by predicting the uncertainty score of input data and the uncertainty is added into softmax function to adjust the learning strength of easy and hard samples during training phase, making the model learn robustly and accurately. (2) UE-NL enforces a constant vector norm on the logits to decouple the effect of the increasing output norm from optimization process, which causes the overconfidence issue to some extent. (3) UE-NL provides a new metric, the magnitude of uncertainty score, to detect OOD data. Experiments demonstrate that UE-NL achieves top performance on common OOD benchmarks and is more robust to noisy ID data that may be misjudged as OOD data by other methods.

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

↑