正交补子空间中的扰动用于高效的分布外检测
Perturbations in the Orthogonal Complement Subspace for Efficient Out-of-Distribution Detection
AI总结:
本文提出P-OCS方法,通过在分布内样本定义的主子空间的正交补中施加单一投影扰动,在保持表示几何结构的同时增强ID与OOD样本的区别,实现了无需重新训练且计算成本可忽略的最先进OOD检测。
摘要:
分布外(OOD)检测在开放世界环境中部署深度学习模型至关重要。现有方法(如基于能量的打分和梯度投影方法)通常依赖高维表示来分离分布内(ID)和OOD样本。我们提出了P-OCS(正交补子空间中的扰动),这是一种轻量级且有理论基础的方法,它在由ID样本定义的主子空间的正交补中运作。P-OCS施加一个限制在该互补子空间内的单一投影扰动,在保持ID表示几何结构的同时增强细微的ID-OOD区别。我们证明在小扰动机制下单步更新即可满足需求,并为所得检测分数提供收敛保证。在多种架构和数据集上的实验表明,P-OCS实现了最先进的OOD检测,计算成本可忽略不计,且无需重新训练模型、访问OOD数据或更改模型架构。
英文摘要:
Out-of-distribution (OOD) detection is essential for deploying deep learning models in open-world environments. Existing approaches, such as energy-based scoring and gradient-projection methods, typically rely on high-dimensional representations to separate in-distribution (ID) and OOD samples. We introduce P-OCS (Perturbations in the Orthogonal Complement Subspace), a lightweight and theoretically grounded method that operates in the orthogonal complement of the principal subspace defined by ID features. P-OCS applies a single projected perturbation restricted to this complementary subspace, enhancing subtle ID-OOD distinctions while preserving the geometry of ID representations. We show that a one-step update is sufficient in the small-perturbation regime and provide convergence guarantees for the resulting detection score. Experiments across multiple architectures and datasets demonstrate that P-OCS achieves state-of-the-art OOD detection with negligible computational cost and without requiring model retraining, access to OOD data, or changes to model architecture.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。