mlsanityData to 7 Oct 2026

Can Pre-trained Networks Detect Familiar Out-of-Distribution Data?

arXiv 2310.00847 ↗First posted 2 Oct 2023cs.CVcited by 4

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  6. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  7. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  8. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  9. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  10. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  11. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  12. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
38 more
  1. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  2. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  3. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
  4. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  5. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  6. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  7. 2022Visual Prompt Tuningcited by 1,674
  8. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  9. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  10. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  11. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,147
  12. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
  13. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 891
  14. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
  15. 2013An Empirical Investigation of Catastrophic Forgetting in Gradient-Based Neural Networkscited by 711
  16. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
  17. 2021ImageNet-21K Pretraining for the Massescited by 607
  18. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  19. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
  20. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  21. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  22. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  23. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
  24. 2019Using Pre-Training Can Improve Model Robustness and Uncertaintycited by 373
  25. 2021ResNet strikes back: An improved training procedure in timmcited by 365
  26. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 351
  27. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
  28. 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
  29. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  30. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
  31. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  32. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
  33. 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
  34. 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 178
  35. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  36. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  37. 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
  38. 2022Neural Prompt Searchcited by 133

50 most cited of 73 All 73 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 1.

4 papers.