Out-of-distribution Detection via Nearest Neighbors and Null Vectors on Principal Feature Space

Out-of-distribution (OOD) detection is crucial for ensuring the reliability of deep learning models in open-world environments, especially in safety-critical applications such as autonomous driving. Existing OOD detection methods typically focus on either classifier-based scores, which suffers from over-confidence, or distance-based approaches that lack fine-graininess due to their class-agnostic nature. Recently, some fused scoring functions have been proposed but be limited to single type of feature-based information. To address these challenges, we propose Nearest Neighbors with Null Space Analysis (k-NNuSA), a novel distance-focused approach that combines both distance to nearest neighbors within the in-distribution (ID) data and the residual against the ID principal subspace. Our method scales the generalized distance using classification confidence, enhancing fine-grained detection capability. We extensively evaluate <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$k$</tex>-NNuSA on different CNN-based and transformer-based architectures, using ImageNet-1K as the ID reference set and a variety of OOD datasets, demonstrating its state-of-the-art performance of 96.23% AUROC and 19.34% FPR95. Our proposed scoring function consists of post-hoc operations which is instantly applicable without re-training.

Authors

Publication Details

Published
2024-10-16
DOI
https://doi.org/10.1109/ictc62082.2024.10826743
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Out-of-distribution Detection via Nearest Neighbors and Null Vectors on Principal Feature Space

Myron J. Tong, Trang Nguyen, Bang Le Thi, Hung Manh Lu
Anomaly Detection Techniques and Applications
article

Out-of-distribution Detection via Nearest Neighbors and Null Vectors on Principal Feature Space

Myron J. Tong, Trang Nguyen, Bang Le Thi, Hung Manh Lu
article en

Abstract

Out-of-distribution (OOD) detection is crucial for ensuring the reliability of deep learning models in open-world environments, especially in safety-critical applications such as autonomous driving. Existing OOD detection methods typically focus on either classifier-based scores, which suffers from over-confidence, or distance-based approaches that lack fine-graininess due to their class-agnostic nature. Recently, some fused scoring functions have been proposed but be limited to single type of feature-based information. To address these challenges, we propose Nearest Neighbors with Null Space Analysis (k-NNuSA), a novel distance-focused approach that combines both distance to nearest neighbors within the in-distribution (ID) data and the residual against the ID principal subspace. Our method scales the generalized distance using classification confidence, enhancing fine-grained detection capability. We extensively evaluate <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$k$</tex>-NNuSA on different CNN-based and transformer-based architectures, using ImageNet-1K as the ID reference set and a variety of OOD datasets, demonstrating its state-of-the-art performance of 96.23% AUROC and 19.34% FPR95. Our proposed scoring function consists of post-hoc operations which is instantly applicable without re-training.

Reduced inequalities
Openalex Percentile: Top 77%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.