Hyperparameter-Free Out-of-Distribution Detection Using Softmax of Scaled Cosine Similarity
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). First posted on arXiv 25 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 4; 2023: 2; 2024: 1; 2025: 1.
12 papers.
- 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 252
- 2023NECO: NEural Collapse Based Out-of-distribution detectioncited by 42
- 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detectioncited by 15
- 2021Practical Evaluation of Out-of-Distribution Detection Methods for Image Classificationcited by 10
- 2021Exploring Covariate and Concept Shift for Detection and Calibration of Out-of-Distribution Datacited by 7
- 2021Distribution Awareness for AI System Testingcited by 6
- 2022Improving Training and Inference of Face Recognition Models via Random Temperature Scalingcited by 3
- 2021Bridging In- and Out-of-distribution Samples for Their Better Discriminabilitycited by 2
- 2022Exploring the Advantages of Dense-Vector to One-Hot Encoding of Intent Classes in Out-of-Scope Detection Taskscited by 1
- 2025Hypercone Assisted Contour Generation for Out-of-Distribution Detectioncited by 1
- 2022Towards Robust Deep Learning using Entropic Lossescited by 0
- 2024Quantifying the Prediction Uncertainty of Machine Learning Models for Individual Datacited by 0
- 2025Hypercone Assisted Contour Generation for Out-of-Distribution Detection17 Jan 2025
- 2024Quantifying the Prediction Uncertainty of Machine Learning Models for Individual Data10 Dec 2024
- 2023NECO: NEural Collapse Based Out-of-distribution detection10 Oct 2023
- 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detection20 Feb 2023
- 2022Improving Training and Inference of Face Recognition Models via Random Temperature Scaling2 Dec 2022
- 2022Towards Robust Deep Learning using Entropic Losses6 Aug 2022
- 2022Mitigating Neural Network Overconfidence with Logit Normalization19 May 2022
- 2022Exploring the Advantages of Dense-Vector to One-Hot Encoding of Intent Classes in Out-of-Scope Detection Tasks18 May 2022
- 2021Exploring Covariate and Concept Shift for Detection and Calibration of Out-of-Distribution Data28 Oct 2021
- 2021Distribution Awareness for AI System Testing6 May 2021
- 2021Bridging In- and Out-of-distribution Samples for Their Better Discriminability7 Jan 2021
- 2021Practical Evaluation of Out-of-Distribution Detection Methods for Image Classification7 Jan 2021