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

基于神经网络训练的分布外检测

Out of Distribution Detection via Neural Network Anchoring

Lawrence Livermore National Laboratory(劳伦斯利弗莫尔国家实验室)

Rushil Anirudh, Jayaraman J. Thiagarajan

摘要:

我们在本文中的目标是利用异方差的温度标度作为一种校准策略的分布(OOD)检测。异方差在这里是指每个样本的最佳温度参数可能不同,而不是对整个分布使用相同值的传统方法。为了实现这一点,我们提出了一种称为锚定的新训练策略,可以为每个样本估计适当的温度值,从而在多个基准测试中实现最先进的OOD检测性能。使用NTK理论,我们表明,这个温度函数估计是密切相关的分类器,这解释了它的行为的认知不确定性。与一些性能最好的OOD检测方法相比,我们的方法不需要暴露于额外的离群数据集,自定义校准目标或模型集成。通过不同的OOD检测设置的实证研究-远OOD,近OOD,语义一致的OOD -我们建立了一个高效的OOD检测方法。可在github.com/LLNL/AMP上获得重现我们结果的代码

英文摘要:

Our goal in this paper is to exploit heteroscedastic temperature scaling as a calibration strategy for out of distribution (OOD) detection. Heteroscedasticity here refers to the fact that the optimal temperature parameter for each sample can be different, as opposed to conventional approaches that use the same value for the entire distribution. To enable this, we propose a new training strategy called anchoring that can estimate appropriate temperature values for each sample, leading to state-of-the-art OOD detection performance across several benchmarks. Using NTK theory, we show that this temperature function estimate is closely linked to the epistemic uncertainty of the classifier, which explains its behavior. In contrast to some of the best-performing OOD detection approaches, our method does not require exposure to additional outlier datasets, custom calibration objectives, or model ensembling. Through empirical studies with different OOD detection settings -- far OOD, near OOD, and semantically coherent OOD - we establish a highly effective OOD detection approach. Code to reproduce our results is available at github.com/LLNL/AMP

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

↑