No Shifted Augmentations (NSA): compact distributions for robust self-supervised Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Unsupervised Anomaly detection (AD) requires building a notion of normalcy, distinguishing in-distribution (ID) and out-of-distribution (OOD) data, using only available ID samples. Recently, large gains were made on this task for the domain of natural images using self-supervised contrastive feature learning as a first step followed by kNN or traditional one-class classifiers for feature scoring. Learned representations that are non-uniformly distributed on the unit hypersphere have been shown to be beneficial for this task. We go a step further and investigate how the emph geometrical compactness of the ID feature distribution makes isolating and detecting outliers easier, especially in the realistic situation when ID training data is polluted (i.e. ID data contains some OOD data that is used for learning the feature extractor parameters). We propose novel architectural modifications to the self-supervised feature learning step, that enable such compact distributions for ID data to be learned. We show that the proposed modifications can be effectively applied to most existing self-supervised objectives, with large gains in performance. Furthermore, this improved OOD performance is obtained without resorting to tricks such as using strongly augmented ID images (e.g. by 90 degree rotations) as proxies for the unseen OOD data, as these impose overly prescriptive assumptions about ID data and its invariances. We perform extensive studies on benchmark datasets for one-class OOD detection and show state-of-the-art performance in the presence of pollution in the ID data, and comparable performance otherwise. We also propose and extensively evaluate a novel feature scoring technique based on the angular Mahalanobis distance, and propose a simple and novel technique for feature ensembling during evaluation that enables a big boost in performance at nearly zero run-time cost.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 50 of its 92 references that are in the map. First posted on arXiv 19 Mar 2022.
Builds on
50 of 92 references.
References · 50
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
38 more
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2016Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzlescited by 1,379
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2016Colorful Image Colorizationcited by 1,113
- 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 806
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
- 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
- 2018Adversarially Robust Generalization Requires More Datacited by 318
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2019Billion-scale semi-supervised learning for image classificationcited by 232
- 2020Classification-Based Anomaly Detection for General Datacited by 210
- 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
- 2018Hyperspherical Variational Auto-Encoderscited by 188
- 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
- 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
- 2020Learning and Evaluating Representations for Deep One-class Classificationcited by 133
- 2020DROCC: Deep Robust One-Class Classificationcited by 121
- 2020Modeling the Distribution of Normal Data in Pre-Trained Deep Features for Anomaly Detectioncited by 115
- 2016Deep Structured Energy Based Models for Anomaly Detectioncited by 113
- 2018Generative Probabilistic Novelty Detection with Adversarial Autoencoderscited by 99
- 2021Mean-Shifted Contrastive Loss for Anomaly Detectioncited by 87
- 2017von Mises-Fisher Mixture Model-based Deep learning: Application to Face Verificationcited by 45
- 2020Rethinking Assumptions in Deep Anomaly Detectioncited by 45
- 2021Constrained Contrastive Distribution Learning for Unsupervised Anomaly Detection and Localisation in Medical Imagescited by 45
- 2021Compressive Visual Representationscited by 41
- 2021OODformer: Out-Of-Distribution Detection Transformercited by 27
- 2018Von Mises-Fisher Loss for Training Sequence to Sequence Models with Continuous Outputscited by 26
- 2019Implicit Generation and Generalization in Energy-Based Modelscited by 21
- 2021Do We Really Need to Learn Representations from In-domain Data for Outlier Detection?cited by 16
- 2021Elsa: Energy-based learning for semi-supervised anomaly detectioncited by 6
- 2018Directional Analysis of Stochastic Gradient Descent via von Mises-Fisher Distributions in Deep learningcited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 0; 2026: 1.
3 papers.