Lune

ICCV2025Top-tier venue

Diagnosing Pretrained Models for Out-of-Distribution Detection

Haipeng Xiong, Kai Xu, Angela Yao

Abstract

This work questions a common assumption of OOD detection, that models with higher in-distribution (ID) accuracy tend to have better OOD performance. Recent findings show this assumption doesn't always hold. A direct observation is that the later version of torchvision models improves ID accuracy but suffers from a significant drop in OOD performance. We systematically diagnose torchvision training recipes and explain this effect by analyzing the maximal logits of ID and OOD samples. We then propose post-hoc and training-time solutions to mitigate the OOD decrease by fixing problematic augmentations in torchvision recipes. Both solutions enhance OOD detection and maintain strong ID performance.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features cites Random Erasing Data Augmentation
  • AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty cites Random Erasing Data Augmentation
  • RandAugment: Practical Automated Data Augmentation with a Reduced Search Space cites Random Erasing Data Augmentation
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on21

  1. CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
  2. RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 citations
  3. Random Erasing Data AugmentationZhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li et al.AAAI 2020 · 4,134 citations
  4. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  5. AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations

Related papers

  1. Detecting Out-of-distribution Data through In-distribution Class PriorXue Jiang, Feng Liu, Zhen Fang, Hong Chen et al.ICML 2023 · 33 citations
  2. A Noisy Elephant in the Room: Is Your out-of-Distribution Detector Robust to Label Noise?Galadrielle Humblot-Renaux, Sergio Escalera, Thomas B. MoeslundCVPR 2024
  3. Double Descent Meets Out-of-Distribution Detection: Theoretical Insights and Empirical Analysis on the Role of Model ComplexityMouïn Ben Ammar, David Brellmann, Arturo Mendoza, Antoine Manzanera et al.NeurIPS 2025 · 1 citation
  4. ID and OOD Performance Are Sometimes Inversely Correlated on Real-world DatasetsDamien Teney, Yong Lin, Seong Joon Oh, Ehsan AbbasnejadNeurIPS 2023 · 70 citations
  5. Scaling for Training Time and Post-hoc Out-of-distribution Detection EnhancementKai Xu, Rongyu Chen, Gianni Franchi, Angela YaoICLR 2024 · 81 citations
Dusk over the sea between two cliffs drawn in fine vertical lines