mlsanityData to 7 Oct 2026

A Cosine Similarity-based Method for Out-of-Distribution Detection

arXiv 2306.14920 ↗First posted 23 Jun 2023cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

The ability to detect OOD data is a crucial aspect of practical machine learning applications. In this work, we show that cosine similarity between the test feature and the typical ID feature is a good indicator of OOD data. We propose Class Typical Matching (CTM), a post hoc OOD detection algorithm that uses a cosine similarity scoring function. Extensive experiments on multiple benchmarks show that CTM outperforms existing post hoc OOD detection methods.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 22 of its 29 references that are in the map. First posted on arXiv 23 Jun 2023.

Builds on

22 of 29 references.

References · 22

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2016Densely Connected Convolutional Networkscited by 6,691
  3. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  4. 2016Wide Residual Networkscited by 3,057
  5. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  6. 2013Describing Textures in the Wildcited by 2,110
  7. 2016Concrete Problems in AI Safetycited by 1,582
  8. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  9. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
  10. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  11. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  12. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
10 more
  1. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  2. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  3. 2018Predictive Uncertainty Estimation via Prior Networkscited by 555
  4. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  5. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
  6. 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 251
  7. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  8. 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
  9. 2022Is Out-of-Distribution Detection Learnable?cited by 109
  10. 2021Input Similarity from the Neural Network Perspectivecited by 78

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.