arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.17799cs.CVcs.LG
收藏

长尾分布外检测是否需要复杂的训练?从特征几何角度的重新思考

Is Complex Training Necessary for Long-Tailed OOD Detection? A Re-think from Feature Geometry

Nanjing Normal University(南京师范大学)

Ningkang Peng, Xuanming Chen, Yanhui Gu

AI总结:

本文重新审视长尾分布外检测问题,提出通过特征几何方法简化检测过程,改进Mahalanobis距离计算,提升检测性能。

摘要:

长尾分布外检测通常通过专门的训练方法解决,包括引入分布外数据、回避头、对比目标、能量损失或梯度冲突控制。我们表明这些训练机制可能掩盖了一个更简单的问题:冻结的长尾表示可能已经包含有用的分布外证据,但原始Mahalanobis距离受到频率耦合特征半径和不充分支持的尾部协方差的影响。我们提出了超球面池化Mahalanobis(HPM)方法,一种后处理检测器,将特征归一化到单位球面,并用池化、岭正则化的度量替换类特定协方差,同时保持类均值作为语义锚点。在CIFAR-LT实验和ImageNet-100-LT近分布外边界分析中,HPM提高了原始Mahalanobis评分;对于先验校准经验风险最小化(PC-ERM),在CIFAR-10-LT上将AUROC从46.49提升到85.67,在CIFAR-100-LT上从50.40提升到78.35。这个简单的PC-ERM+HPM流程在CIFAR-100-LT上实现了最佳对数效率分数(LES;3.08),在显著降低训练时间成本的情况下,保留了约95%的最佳CIFAR-100-LT AUROC观测值。这些结果表明,在长尾分布外检测中应分别评估表示质量、检测器几何和训练复杂性。

英文摘要:

Long-tailed out-of-distribution (LT-OOD) detection is often addressed with specialized training, including auxiliary out-of-distribution (OOD) data, abstention heads, contrastive objectives, energy losses, or gradient-conflict control. We show that these training mechanisms can obscure a simpler issue: frozen long-tailed representations may already contain useful OOD evidence, but raw Mahalanobis distance is distorted by frequency-coupled feature radius and poorly supported tail covariance. We propose Hyperspherical Pooled Mahalanobis (HPM), a post-hoc detector that normalizes features onto the unit sphere and replaces class-specific covariance with a pooled, ridge-regularized metric while keeping class means as semantic anchors. In CIFAR-LT experiments and an ImageNet-100-LT near-OOD boundary analysis, HPM improves raw Mahalanobis scoring; for Prior-Calibrated ERM (PC-ERM), it raises AUROC from 46.49 to 85.67 on CIFAR-10-LT and from 50.40 to 78.35 on CIFAR-100-LT. This simple PC-ERM+HPM pipeline also achieves the best Log Efficiency Score (LES; 3.08) on CIFAR-100-LT, retaining roughly 95% of the best CIFAR-100-LT AUROC observed among the compared post-hoc scores at substantially lower training-time cost. These results argue for evaluating representation quality, detector geometry, and training complexity as separate factors in LT-OOD detection.

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

↑