Can Pre-trained Networks Detect Familiar Out-of-Distribution Data?
Not on the map. Why?
Abstract (arXiv)
Out-of-distribution (OOD) detection is critical for safety-sensitive machine learning applications and has been extensively studied, yielding a plethora of methods developed in the literature. However, most studies for OOD detection did not use pre-trained models and trained a backbone from scratch. In recent years, transferring knowledge from large pre-trained models to downstream tasks by lightweight tuning has become mainstream for training in-distribution (ID) classifiers. To bridge the gap between the practice of OOD detection and current classifiers, the unique and crucial problem is that the samples whose information networks know often come as OOD input. We consider that such data may significantly affect the performance of large pre-trained networks because the discriminability of these OOD data depends on the pre-training algorithm. Here, we define such OOD data as PT-OOD (Pre-Trained OOD) data. In this paper, we aim to reveal the effect of PT-OOD on the OOD detection performance of pre-trained networks from the perspective of pre-training algorithms. To achieve this, we explore the PT-OOD detection performance of supervised and self-supervised pre-training algorithms with linear-probing tuning, the most common efficient tuning method. Through our experiments and analysis, we find that the low linear separability of PT-OOD in the feature space heavily degrades the PT-OOD detection performance, and self-supervised models are more vulnerable to PT-OOD than supervised pre-trained models, even with state-of-the-art detection methods. To solve this vulnerability, we further propose a unique solution to large-scale pre-trained models: Leveraging powerful instance-by-instance discriminative representations of pre-trained models and detecting OOD in the feature space independent of the ID decision boundaries. The code will be available via https://github.com/AtsuMiyai/PT-OOD.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 73 of its 90 references that are in the map. First posted on arXiv 2 Oct 2023.
Builds on
73 of 90 references.
References · 73
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
38 more
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2022Visual Prompt Tuningcited by 1,674
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,147
- 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
- 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 891
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2013An Empirical Investigation of Catastrophic Forgetting in Gradient-Based Neural Networkscited by 711
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2021ImageNet-21K Pretraining for the Massescited by 607
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
- 2019Using Pre-Training Can Improve Model Robustness and Uncertaintycited by 373
- 2021ResNet strikes back: An improved training procedure in timmcited by 365
- 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 351
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
- 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 178
- 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
- 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
- 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
- 2022Neural Prompt Searchcited by 133
50 most cited of 73 All 73 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 1.
4 papers.
- 2024Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Surveycited by 36
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 24
- 2025Out-of-Distribution Detection Methods Answer the Wrong Questionscited by 14
- 2024Unsolvable Problem Detection: Robust Understanding Evaluation for Large Multimodal Modelscited by 12
- 2025Out-of-Distribution Detection Methods Answer the Wrong Questions2 Jul 2025
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advances18 Sep 2024
- 2024Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Survey31 Jul 2024
- 2024Unsolvable Problem Detection: Robust Understanding Evaluation for Large Multimodal Models29 Mar 2024