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

GradPCA: 利用NTK对齐实现可靠的分布外检测

GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection

Ludwig-Maximilians-Universität München(慕尼黑莱布尼茨大学);University of Pittsburgh(匹兹堡大学);Harvard University(哈佛大学);University of Tromso(特罗姆斯大学);DLR-German Aerospace Center(德国航空航天中心);Munich Center for Machine Learning(慕尼黑机器学习中心)

Mariia Seleznova, Hung-Hsu Chou, Claudio Mayrink Verdun, Gitta Kutyniok

AI总结:

GradPCA通过利用NTK对齐的梯度低秩结构,实现了可靠的分布外检测,并通过理论分析和实验验证了其有效性。

摘要:

我们介绍了GradPCA,一种利用神经切线核(NTK)对齐诱导的神经网络梯度低秩结构来实现分布外(OOD)检测的方法。GradPCA对梯度类均值应用主成分分析(PCA),在标准图像分类基准上实现了比现有方法更一致的性能。我们从理论角度探讨了神经网络中的谱OOD检测,强调了特征空间属性,这些属性能够实现有效的检测,并自然地从NTK对齐中涌现。我们的分析进一步揭示了特征质量——特别是预训练与非预训练表示的使用——在决定哪些检测器将成功方面起着关键作用。广泛的实验验证了GradPCA的强大性能,我们的理论框架为设计更系统的谱OOD检测器提供了指导。

英文摘要:

We introduce GradPCA, an Out-of-Distribution (OOD) detection method that exploits the low-rank structure of neural network gradients induced by Neural Tangent Kernel (NTK) alignment. GradPCA applies Principal Component Analysis (PCA) to gradient class-means, achieving more consistent performance than existing methods across standard image classification benchmarks. We provide a theoretical perspective on spectral OOD detection in neural networks to support GradPCA, highlighting feature-space properties that enable effective detection and naturally emerge from NTK alignment. Our analysis further reveals that feature quality -- particularly the use of pretrained versus non-pretrained representations -- plays a crucial role in determining which detectors will succeed. Extensive experiments validate the strong performance of GradPCA, and our theoretical framework offers guidance for designing more principled spectral OOD detectors.

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

↑