How to Overcome Curse-of-Dimensionality for Out-of-Distribution Detection?

Authors

  • Soumya Suvra Ghosal University of Wisconsin, Madison
  • Yiyou Sun University of Wisconsin, Madison
  • Yixuan Li University of Wisconsin, Madison

DOI:

https://doi.org/10.1609/aaai.v38i18.29960

Keywords:

PEAI: Safety, Robustness & Trustworthiness

Abstract

Machine learning models deployed in the wild can be challenged by out-of-distribution (OOD) data from unknown classes. Recent advances in OOD detection rely on distance measures to distinguish samples that are relatively far away from the in-distribution (ID) data. Despite the promise, distance-based methods can suffer from the curse-of-dimensionality problem, which limits the efficacy in high dimensional feature space. To combat this problem, we propose a novel framework, Subspace Nearest Neighbor (SNN), for OOD detection. In training, our method regularizes the model and its feature representation by leveraging the most relevant subset of dimensions (i.e. subspace). The subspace learning yields highly distinguishable distance measures between ID and OOD data. We provide comprehensive experiments and ablations to validate the efficacy of SNN. Compared to the current best distance-based method, SNN reduces the average FPR95 by 15.96% on the CIFAR-100 benchmark.

Published

2024-03-24

How to Cite

Ghosal, S. S., Sun, Y., & Li, Y. (2024). How to Overcome Curse-of-Dimensionality for Out-of-Distribution Detection?. Proceedings of the AAAI Conference on Artificial Intelligence, 38(18), 19849-19857. https://doi.org/10.1609/aaai.v38i18.29960

Issue

Section

AAAI Technical Track on Philosophy and Ethics of AI