Understanding normalization in contrastive representation learning and out-of-distribution detection
Not on the map. Why?
Abstract (arXiv)
Contrastive representation learning has emerged as an outstanding approach for anomaly detection. In this work, we explore the ℓ2-norm of contrastive features and its applications in out-of-distribution detection. We propose a simple method based on contrastive learning, which incorporates out-of-distribution data by discriminating against normal samples in the contrastive layer space. Our approach can be applied flexibly as an outlier exposure (OE) approach, where the out-of-distribution data is a huge collective of random images, or as a fully self-supervised learning approach, where the out-of-distribution data is self-generated by applying distribution-shifting transformations. The ability to incorporate additional out-of-distribution samples enables a feasible solution for datasets where AD methods based on contrastive learning generally underperform, such as aerial images or microscopy images. Furthermore, the high-quality features learned through contrastive learning consistently enhance performance in OE scenarios, even when the available out-of-distribution dataset is not diverse enough. Our extensive experiments demonstrate the superiority of our proposed method under various scenarios, including unimodal and multimodal settings, with various image datasets.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 31 of its 53 references that are in the map. First posted on arXiv 23 Dec 2023.
Builds on
31 of 53 references.
References · 31
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2013Describing Textures in the Wildcited by 2,125
- 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,591
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 734
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
19 more
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 514
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 514
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 353
- 2019Object Detection in Optical Remote Sensing Images: A Survey and A New Benchmarkcited by 340
- 2021MagFace: A Universal Representation for Face Recognition and Quality Assessmentcited by 334
- 2014Discriminative Unsupervised Feature Learning with Exemplar Convolutional Neural Networkscited by 300
- 2019Deep Semi-Supervised Anomaly Detectioncited by 291
- 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
- 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
- 2023EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latenciescited by 160
- 2020Learning and Evaluating Representations for Deep One-class Classificationcited by 133
- 2021Natural Synthetic Anomalies for Self-Supervised Anomaly Detection and Localizationcited by 116
- 2020Deep Nearest Neighbor Anomaly Detectioncited by 104
- 2019Detecting semantic anomaliescited by 50
- 2022Exposing Outlier Exposure: What Can Be Learned From Few, One, and Zero Outlier Imagescited by 35
- 2021Transformaly -- Two (Feature Spaces) Are Better Than Onecited by 25
Built on by
Citing papers per year: 2025: 2.
2 papers.
- 2025Mahalanobis++: Improving OOD Detection via Feature Normalizationcited by 32
- 2025A Geometry-Based View of Mahalanobis OOD Detectioncited by 4
- 2025A Geometry-Based View of Mahalanobis OOD Detection17 Oct 2025
- 2025Mahalanobis++: Improving OOD Detection via Feature Normalization23 May 2025