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

GROOD:梯度感知的分布外检测

GROOD: GRadient-Aware Out-of-Distribution Detection

Mila - Quebec AI Institute(魁北克AI研究所);DIRO, Université de Montréal(蒙特利尔大学计算研究所);Université Laval(拉瓦尔大学);IID(智能与数据研究所);DEEL, IRT Saint Exupéry(DEEL,圣埃克苏佩里研究所);CIFAR AI Chair(CIFAR人工智能席位)

Mostafa ElAraby, Sabyasachi Sahoo, Yann Pequignot, Paul Novello, Liam Paull

AI总结:

提出GROOD方法,通过从合成样本导出OOD原型并从ID训练数据计算类原型,分析最近类原型损失函数关于OOD原型的梯度,实现ID与OOD样本的清晰分离,在ImageNet-1k上鲁棒性超越基线。

摘要:

分布外(OOD)检测对于确保深度学习模型在现实世界应用中的可靠性至关重要。现有方法通常关注特征表示或输出空间分析,往往假设这些空间上存在某种分布,或利用关于模型参数的梯度范数。然而,这些方法难以区分近分布外样本,且通常需要大量的超参数调整,限制了其实用性。在本研究中,我们提出了梯度感知的分布外检测(GROOD),该方法从合成样本中导出OOD原型,并直接从分布内(ID)训练数据中计算类原型。通过分析最近类原型损失函数关于人工OOD原型的梯度,我们的方法实现了分布内和OOD样本之间的清晰分离。实验评估表明,从OOD原型计算的梯度增强了ID和OOD数据之间的区分度,在鲁棒性上超越了既定基线,特别是在ImageNet-1k上。这些发现突显了基于梯度的方法和原型驱动方法在推进深度神经网络中OOD检测方面的潜力。

英文摘要:

Out-of-distribution (OOD) detection is crucial for ensuring the reliability of deep learning models in real-world applications. Existing methods typically focus on feature representations or output-space analysis, often assuming a distribution over these spaces or leveraging gradient norms with respect to model parameters. However, these approaches struggle to distinguish near-OOD samples and often require extensive hyper-parameter tuning, limiting their practicality.In this work, we propose GRadient-aware Out-Of-Distribution detection (GROOD), a method that derives an OOD prototype from synthetic samples and computes class prototypes directly from In-distribution (ID) training data. By analyzing the gradients of a nearest-class-prototype loss function concerning an artificial OOD prototype, our approach achieves a clear separation between in-distribution and OOD samples. Experimental evaluations demonstrate that gradients computed from the OOD prototype enhance the distinction between ID and OOD data, surpassing established baselines in robustness, particularly on ImageNet-1k. These findings highlight the potential of gradient-based methods and prototype-driven approaches in advancing OOD detection within deep neural networks.

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

↑