Out-of-distribution (OOD) 检测在确保神经网络安全性方面发挥着至关重要的作用。现有研究利用了 In-distribution (ID) 样本在特征空间中形成子空间这一事实,取得了 state-of-the-art (SOTA) 的性能。然而,ID 子空间的综合特性仍有待深入探索。最近,Neural Collapse ($\mathcal{NC}$) 的发现为 ID 子空间的新特性提供了启示。借助 $\mathcal{NC}$ 的见解,我们观察到特征与 ID 特征子空间之间的 Principal Angle 构成了衡量 OOD 可能性的优越表示。基于这一观察,我们提出了一种受 $\mathcal{NC}$ 启发的新型 OOD 评分函数,名为 Entropy-enhanced Principal Angle (EPA),它整合了 ID 子空间的全局特性及其内在属性。我们通过实验将 EPA 与各种 SOTA 方法进行了比较,验证了其在不同网络架构和 OOD 数据集上的卓越性能和鲁棒性。
英文摘要:
Out-of-distribution (OOD) detection plays a crucial role in ensuring the security of neural networks. Existing works have leveraged the fact that In-distribution (ID) samples form a subspace in the feature space, achieving state-of-the-art (SOTA) performance. However, the comprehensive characteristics of the ID subspace still leave under-explored. Recently, the discovery of Neural Collapse ($\mathcal{NC}$) sheds light on novel properties of the ID subspace. Leveraging insight from $\mathcal{NC}$, we observe that the Principal Angle between the features and the ID feature subspace forms a superior representation for measuring the likelihood of OOD. Building upon this observation, we propose a novel $\mathcal{NC}$-inspired OOD scoring function, named Entropy-enhanced Principal Angle (EPA), which integrates both the global characteristic of the ID subspace and its inner property. We experimentally compare EPA with various SOTA approaches, validating its superior performance and robustness across different network architectures and OOD datasets.
Rethinking Loss Reweighting for Imbalance Learning as an Inverse Problem: A Neural Collapse Point of View
CSMT, Wenzhou-Kean University(温州肯恩大学计算机科学与技术学院);International Frontier Interdisciplinary Research Institute, Wenzhou-Kean University(温州肯恩大学国际前沿交叉研究 institutes)
Model Collapse Is Not a Bug but a Feature in Machine Unlearning for LLMs
Dept. of Computer Science & Munich Data Science Institute, Technical University of Munich(计算机科学系及慕尼黑数据科学研究所,技术大学慕尼黑);Mila, Université de Montréal(蒙特利尔大学Mila)
Rethinking Continual Learning with Progressive Neural Collapse
Department of Computer Science, University of Houston, USA(德克萨斯大学休斯顿分校计算机科学系);Department of Computer Science, University of North Carolina at Charlotte, USA(北卡罗来纳大学夏洛特分校计算机科学系)
More Experts Than Galaxies: Conditionally-overlapping Experts With Biologically-Inspired Fixed Routing
University of Colorado Boulder(科罗拉多大学博尔德分校);National Institute of Mental Health(美国国家精神卫生研究所);Johannes Gutenberg University Mainz(美因茨约翰内斯·古腾堡大学);University of Chicago(芝加哥大学);Google DeepMind(谷歌DeepMind)