CVMay 25, 2019

Hyperparameter-Free Out-of-Distribution Detection Using Softmax of Scaled Cosine Similarity

arXiv:1905.10628v330 citations
Originality Incremental advance
AI Analysis

This addresses the need for reliable OOD detection in real-world applications by eliminating hyperparameter tuning, though it is incremental as it builds on metric learning approaches.

The paper tackles the problem of out-of-distribution (OOD) detection in deep neural networks by proposing a hyperparameter-free method based on softmax of scaled cosine similarity, which outperforms existing methods on a hyperparameter-aware evaluation test and achieves comparable performance on conventional tests while being computationally efficient.

The ability to detect out-of-distribution (OOD) samples is vital to secure the reliability of deep neural networks in real-world applications. Considering the nature of OOD samples, detection methods should not have hyperparameters that need to be tuned depending on incoming OOD samples. However, most of the recently proposed methods do not meet this requirement, leading to compromised performance in real-world applications. In this paper, we propose a simple, hyperparameter-free method based on softmax of scaled cosine similarity. It resembles the approach employed by modern metric learning methods, but it differs in details; the differences are essential to achieve high detection performance. We show through experiments that our method outperforms the existing methods on the evaluation test recently proposed by Shafaei et al., which takes the above issue of hyperparameter dependency into account. We also show that it achieves at least comparable performance to other methods on the conventional test, where their hyperparameters are chosen using explicit OOD samples. Furthermore, it is computationally more efficient than most of the previous methods, since it needs only a single forward pass.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes