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

重新思考不平衡数据分布下的分布外检测

Rethinking Out-of-Distribution Detection on Imbalanced Data Distribution

Zhejiang University(浙江大学);Alibaba Cloud(阿里云)

Kai Liu, Zhihang Fu, Sheng Jin, Chao Chen, Ze Chen, Rongxin Jiang, Fan Zhou, Yaowu Chen, Jieping Ye

AI总结:

针对真实场景中分布内数据不平衡导致OOD检测性能下降的问题,提出ImOOD统计框架分析类别感知偏差,设计统一训练正则化方法,在多个长尾基准上超越现有SOTA方法。

摘要:

检测并拒绝未知的分布外(OOD)样本,对于已部署的神经网络避免不可靠预测至关重要。然而在真实场景中,现有OOD检测方法的效果往往因分布内(ID)数据的固有不平衡性而受阻,导致性能显著下降。通过统计观察,我们发现了不同OOD检测器面临的两个常见挑战:将尾类ID样本误识别为OOD,同时将OOD样本错误预测为ID中的头类。为解释这一现象,我们提出了一个名为ImOOD的通用统计框架,用于构建不平衡数据分布下的OOD检测问题。理论分析表明,平衡与不平衡OOD检测之间存在一个类别感知的偏差项,这是造成性能差距的原因。基于这一发现,我们提出了一种统一的训练时正则化技术,用于缓解该偏差并提升跨架构设计的不平衡OOD检测器性能。我们的理论驱动方法在代表性的CIFAR10-LT、CIFAR100-LT和ImageNet-LT基准上,相较于多种最先进的OOD检测方法取得了一致的性能提升。代码可在https://github.com/alibaba/imood获取。

英文摘要:

Detecting and rejecting unknown out-of-distribution (OOD) samples is critical for deployed neural networks to void unreliable predictions. In real-world scenarios, however, the efficacy of existing OOD detection methods is often impeded by the inherent imbalance of in-distribution (ID) data, which causes significant performance decline. Through statistical observations, we have identified two common challenges faced by different OOD detectors: misidentifying tail class ID samples as OOD, while erroneously predicting OOD samples as head class from ID. To explain this phenomenon, we introduce a generalized statistical framework, termed ImOOD, to formulate the OOD detection problem on imbalanced data distribution. Consequently, the theoretical analysis reveals that there exists a class-aware bias item between balanced and imbalanced OOD detection, which contributes to the performance gap. Building upon this finding, we present a unified training-time regularization technique to mitigate the bias and boost imbalanced OOD detectors across architecture designs. Our theoretically grounded method translates into consistent improvements on the representative CIFAR10-LT, CIFAR100-LT, and ImageNet-LT benchmarks against several state-of-the-art OOD detection approaches. Code is available at https://github.com/alibaba/imood.

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

↑