arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.11934cs.LGcs.CV
收藏

基于表示和训练范式转变的分布外检测系统分析

A Systematic Analysis of Out-of-Distribution Detection Under Representation and Training Paradigm Shifts

Department of Electrical & Computer Engineering(电气与计算机工程系);University of Delaware(德雷塞尔大学)

Claudio César Claros Olivares, Austin J. Brockmeier

AI总结:

本文通过表示中心的视角系统评估了分布外检测的CSFs,分析了不同架构、训练范式和数据集的影响,并提出基于PCA的投影过滤方法和基于神经坍塌的预测方法来提升检测性能。

摘要:

我们通过表示中心的视角系统评估了分布外检测(OOD)的CSFs。我们的研究涵盖了CNN和ViT架构、多种训练范式、四个图像分类源数据集(CIFAR-10、CIFAR-100、SuperCIFAR-100和TinyImageNet),以及通过CLIP衍生的语义距离将OOD数据集分为近、中、远三个区域。为了比较这些设置下的CSFs,我们采用了一种多重比较受控的排名流程,该流程在无阈值排名指标(AURC和AUGRC)下识别出统计上不可区分的顶级聚类。主要经验发现是,竞争性检测器家族更依赖于学习的表示而不是单纯的分数设计。对于CNN和ViT,简单的概率分数在误分类检测中占主导地位。在CNN中,基于边界的分数在近OOD区域最强,而几何感知分数如NNGuide、fDBD和CTM在移位严重性增加时变得更具竞争力。在微调的ViT中,顶级聚类主要由重建和残差分数主导。为了解释这些排名变化,我们使用神经坍塌(NC)指标分析最后一层表示。得到的图景在不同架构中是一致的:原型和边界感知分数在表示更坍塌且与分类器权重更好对齐时更强,而弱坍塌区域则更青睐梯度和流形基于的分数。基于这些见解,我们提出两个贡献:一种基于PCA的投影过滤过程,可以提高检测器性能,以及一种利用训练分类器计算的NC测量来预测其竞争性的分布外检测器短名单的方法,而无需任何额外的分布外数据。

英文摘要:

We present a systematic benchmark of out-of-distribution (OOD) detection confidence scoring functions (CSFs) through a representation-centric lens. Our study spans CNN and ViT backbones, multiple training paradigms, four image-classification source datasets (CIFAR-10, CIFAR-100, SuperCIFAR-100, and TinyImageNet), and OOD datasets grouped into near, mid, and far regimes based on CLIP-derived semantic distances. To compare CSFs across these settings, we employ a rank-based pipeline of Friedman and Conover tests that identifies top cliques of statistically indistinguishable winners under threshold-free ranking metrics (AURC and AUGRC). The main empirical finding is that the family of CSFs that are competitive detectors correlates with characteristics of the learned representation. For both CNNs and ViTs, simple probabilistic scores dominate misclassification detection. On CNNs, margin-based scores are strongest in near-OOD regimes, while geometry-aware scores such as NNGuide, fDBD, and CTM become more competitive as shift severity increases. On fine-tuned ViTs, the top cliques are led mainly by reconstruction- and residual-based scores. To interpret these ranking shifts, we analyze the last-layer representation using Neural Collapse (NC) metrics. The resulting picture is consistent across architectures: prototype- and boundary-aware scores become stronger when the representation is more collapsed and better aligned with classifier weights, whereas weaker-collapse regimes favor gradient- and manifold-based scores. Building on these insights, we propose two contributions: a simple PCA-based projection-filtering procedure that improves detector performance, and an approach that uses only the NC measurements of a trained classifier to predict its competitive out-of-distribution detector shortlist, without OOD data for that classifier and without knowledge of the shift.

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

↑