Metric Learning for Novelty and Anomaly Detection
Marc Masana, Idoia Ruiz, Joan Serrat, Joost van de Weijer, Antonio M., Lopez

TL;DR
This paper proposes a metric learning approach for detecting out-of-distribution images, including novelty and anomaly detection, demonstrating improved performance over traditional cross-entropy methods in various applications.
Contribution
It introduces a metric learning method for out-of-distribution detection that avoids the limitations of softmax-based classifiers, with extensive experimental validation.
Findings
Achieves comparable or better detection results than previous methods.
Effective in real-world applications like traffic sign recognition.
Distinguishes between related novelty and unrelated anomalies.
Abstract
When neural networks process images which do not resemble the distribution seen during training, so called out-of-distribution images, they often make wrong predictions, and do so too confidently. The capability to detect out-of-distribution images is therefore crucial for many real-world applications. We divide out-of-distribution detection between novelty detection ---images of classes which are not in the training set but are related to those---, and anomaly detection ---images with classes which are unrelated to the training set. By related we mean they contain the same type of objects, like digits in MNIST and SVHN. Most existing work has focused on anomaly detection, and has addressed this problem considering networks trained with the cross-entropy loss. Differently from them, we propose to use metric learning which does not have the drawback of the softmax layer (inherent to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Adversarial Robustness in Machine Learning · COVID-19 diagnosis using AI
MethodsSoftmax
