arXiv:2507.14178cs.LGcs.AI2025-07

解决深度模型特征偏移导致的分布外检测失效问题

Feature Bank Enhancement for Distance-based Out-of-Distribution Detection

  • 利用数据集统计特性识别并约束极端特征
  • 在ImageNet-1k和CIFAR-10上达到最优检测性能
  • 适合需要高可靠性部署的深度学习应用

分布外(OOD)检测对保障深度学习应用的可靠性至关重要,近年来受到广泛关注。现有方法多设计高效评分函数,使分布内(ID)样本得分高、分布外(OOD)样本得分低。其中基于距离的评分函数因高效易用而被广泛采用。然而,深度学习常导致特征分布偏移,极端特征不可避免,使得距离方法对ID样本评分过低,限制了其检测能力。为此,本文提出简单有效的特征库增强(FBE)方法,利用数据集统计特性识别并约束极端特征至分离边界,使分布内外样本间距离更远。在ImageNet-1k和CIFAR-10两个大规模数据集上的实验表明,该方法在两项基准测试中均达到当前最优性能。理论分析与补充实验进一步揭示了方法机理。

原文摘要 · Abstract (English)

Out-of-distribution (OOD) detection is critical to ensuring the reliability of deep learning applications and has attracted significant attention in recent years. A rich body of literature has emerged to develop efficient score functions that assign high scores to in-distribution (ID) samples and low scores to OOD samples, thereby helping distinguish OOD samples. Among these methods, distance-based score functions are widely used because of their efficiency and ease of use. However, deep learning often leads to a biased distribution of data features, and extreme features are inevitable. These extreme features make the distance-based methods tend to assign too low scores to ID samples. This limits the OOD detection capabilities of such methods. To address this issue, we propose a simple yet effective method, Feature Bank Enhancement (FBE), that uses statistical characteristics from dataset to identify and constrain extreme features to the separation boundaries, therapy making the distance between samples inside and outside the distribution farther. We conducted experiments on large-scale ImageNet-1k and CIFAR-10 respectively, and the results show that our method achieves state-of-the-art performance on both benchmark. Additionally, theoretical analysis and supplementary experiments are conducted to provide more insights into our method.

OOD检测特征增强深度可靠性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。