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

重新审视用于分布外检测的基于能量模型

Revisiting Energy-Based Model for Out-of-Distribution Detection

School of Computer Engineering and Science, Shanghai University(上海大学计算机工程与科学学院);School of Computer Science, Fudan University(复旦大学计算机科学学院);School of Data Science, Fudan University(复旦大学数据科学学院);Department of Computer Science, Hong Kong Baptist University(香港浸会大学计算机科学系)

Yifan Wu, Xichen Ye, Songmin Dai, Dengye Pan, Xiaoqiang Li, Weizhong Zhang, Yifan Chen

AI总结:

本文提出OEST/OEST*框架,利用简单变换生成的外围分布数据和能量势垒损失训练EBM,以提升OOD检测并达到先进性能。

摘要:

分布外(OOD)检测是增强深度学习模型鲁棒性的重要方法,使其能够识别落在其训练分布之外的输入。现有OOD检测方法通常依赖于精心构造的数据,例如特定的离群点数据集或复杂的数据增强。尽管这是合理的,但构造数据与OOD数据之间频繁出现的不匹配限制了模型的鲁棒性和泛化能力。针对这一问题,我们提出了Outlier Exposure by Simple Transformations(OEST),这是一个通过利用“外围分布”(PD)数据来增强OOD检测的框架。具体而言,PD数据是通过简单数据变换生成的样本,从而为人工筛选的离群点提供了一种高效替代方案。我们采用基于能量模型(EBM)来研究PD数据。我们认识到OOD检测中的“能量势垒”,它刻画了分布内(ID)样本与OOD样本之间的能量差异,并使检测更加容易。PD数据被用于在训练期间建立能量势垒。此外,这种能量势垒概念启发了一种具有理论依据的能量势垒损失,用以替代经典的能量有界损失,从而产生了改进范式OEST*,它在ID样本与OOD样本之间实现了更有效且理论上更合理的分离。我们对所提方案进行了实证验证,跨多个基准的大量实验表明,与最先进方法相比,OEST*取得了更好或相当的准确率。

英文摘要:

Out-of-distribution (OOD) detection is an essential approach to robustifying deep learning models, enabling them to identify inputs that fall outside of their trained distribution. Existing OOD detection methods usually depend on crafted data, such as specific outlier datasets or elaborate data augmentations. While this is reasonable, the frequent mismatch between crafted data and OOD data limits model robustness and generalizability. In response to this issue, we introduce Outlier Exposure by Simple Transformations (OEST), a framework that enhances OOD detection by leveraging "peripheral-distribution" (PD) data. Specifically, PD data are samples generated through simple data transformations, thus providing an efficient alternative to manually curated outliers. We adopt energy-based models (EBMs) to study PD data. We recognize the "energy barrier" in OOD detection, which characterizes the energy difference between in-distribution (ID) and OOD samples and eases detection. PD data are introduced to establish the energy barrier during training. Furthermore, this energy barrier concept motivates a theoretically grounded energy-barrier loss to replace the classical energy-bounded loss, leading to an improved paradigm, OEST*, which achieves a more effective and theoretically sound separation between ID and OOD samples. We perform empirical validation of our proposal, and extensive experiments across various benchmarks demonstrate that OEST* achieves better or similar accuracy compared with state-of-the-art methods.

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

↑