RankFeat:用于分布外检测的秩1特征去除
RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection
摘要:
分发外(OOD)检测任务对于在现实环境中部署机器学习模型至关重要。在本文中,我们观察到分布(ID)和OOD特征的奇异值分布是完全不同的:OOD特征矩阵倾向于具有比ID特征更大的主导奇异值,并且OOD样本的类预测在很大程度上由其决定。这种观察促使我们提出\texttt{RankFeat},通过从高级特征中去除由最大奇异值和相关奇异向量组成的秩1矩阵(\emph{i.e.,} $\mathbf{X}{-} \mathbf{s}_{1}\mathbf{u}_{1}\mathbf{v}_{1}^{T}$),用于OOD检测的简单而有效的\texttt{post hoc}方法。\texttt{RankFeat}达到了\emph{state-of-the-art}的性能,与以前的最佳方法相比,平均误报率(FPR 95)降低了17.90%.广泛的消融研究和全面的理论分析,以支持实证结果。
英文摘要:
The task of out-of-distribution (OOD) detection is crucial for deploying machine learning models in real-world settings. In this paper, we observe that the singular value distributions of the in-distribution (ID) and OOD features are quite different: the OOD feature matrix tends to have a larger dominant singular value than the ID feature, and the class predictions of OOD samples are largely determined by it. This observation motivates us to propose \texttt{RankFeat}, a simple yet effective \texttt{post hoc} approach for OOD detection by removing the rank-1 matrix composed of the largest singular value and the associated singular vectors from the high-level feature (\emph{i.e.,} $\mathbf{X}{-} \mathbf{s}_{1}\mathbf{u}_{1}\mathbf{v}_{1}^{T}$). \texttt{RankFeat} achieves the \emph{state-of-the-art} performance and reduces the average false positive rate (FPR95) by 17.90\% compared with the previous best method. Extensive ablation studies and comprehensive theoretical analyses are presented to support the empirical results.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。