mlsanityData to 7 Oct 2026

Detecting Out-of-Distribution Objects through Class-Conditioned Inpainting

arXiv 2402.03292 ↗First posted 5 Feb 2024cs.LG cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Recent object detectors have achieved impressive accuracy in identifying objects seen during training. However, real-world deployment often introduces novel and unexpected objects, referred to as out-of-distribution (OOD) objects, posing significant challenges to model trustworthiness. Modern object detectors are typically overconfident, making it unreliable to use their predictions alone for OOD detection. To address this, we propose leveraging an auxiliary model as a complementary solution. Specifically, we utilize an off-the-shelf text-to-image generative model, such as Stable Diffusion, which is trained with objective functions distinct from those of discriminative object detectors. We hypothesize that this fundamental difference enables the detection of OOD objects by measuring inconsistencies between the models. Concretely, for a given detected object bounding box and its predicted in-distribution class label, we perform class-conditioned inpainting on the image with the object removed. If the object is OOD, the inpainted image is likely to deviate significantly from the original, making the reconstruction error a robust indicator of OOD status. Extensive experiments demonstrate that our approach consistently surpasses existing zero-shot and non-zero-shot OOD detection methods, establishing a robust framework for enhancing object detection systems in dynamic environments.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 48 of its 58 references that are in the map. First posted on arXiv 5 Feb 2024.

Builds on

48 of 58 references.

References · 48

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2023Visual Instruction Tuningcited by 7,792
  6. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  7. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  8. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  9. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  10. 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,274
  11. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  12. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
36 more
  1. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  2. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  3. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  4. 2018BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learningcited by 1,282
  5. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  6. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  7. 2018The Open Images Dataset V4: Unified image classification, object detection, and visual relationship detection at scalecited by 542
  8. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
  9. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  10. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  11. 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
  12. 2023InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image Generationcited by 387
  13. 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 301
  14. 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
  15. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  16. 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 251
  17. 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
  18. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
  19. 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
  20. 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
  21. 2020Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encodercited by 145
  22. 2023CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say Nocited by 130
  23. 2023Kandinsky: an Improved Text-to-Image Synthesis with Image Prior and Latent Diffusioncited by 114
  24. 2022Denoising diffusion models for out-of-distribution detectioncited by 102
  25. 2019Efficient Pipeline for Camera Trap Image Reviewcited by 79
  26. 2023Dream the Impossible: Outlier Imagination with Diffusion Modelscited by 77
  27. 2018Improving Reconstruction Autoencoder Out-of-distribution Detection with Mahalanobis Distancecited by 74
  28. 2023Unsupervised Out-of-Distribution Detection with Diffusion Inpaintingcited by 57
  29. 2023Intriguing properties of generative classifierscited by 52
  30. 2023Rethinking Out-of-distribution (OOD) Detection: Masked Image Modeling is All You Needcited by 46
  31. 2023GL-MCM: Global and Local Maximum Concept Matching for Zero-Shot Out-of-Distribution Detectioncited by 36
  32. 2022SAFE: Sensitivity-Aware Features for Out-of-Distribution Object Detectioncited by 33
  33. 2022Towards Improving Calibration in Object Detection Under Domain Shiftcited by 26
  34. 2023DiffGuard: Semantic Mismatch-Guided Out-of-Distribution Detection using Pre-trained Diffusion Modelscited by 25
  35. 2021Do We Really Need to Learn Representations from In-domain Data for Outlier Detection?cited by 16
  36. 2023Multiclass Confidence and Localization Calibration for Object Detectioncited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Out-of-Distribution Object Detection in Street Scenes via Synthetic Outlier Exposure and Transfer Learning
  2. 2024Can OOD Object Detectors Learn from Foundation Models?
  3. 2025Dream-Box: Object-wise Outlier Generation for Out-of-Distribution Detection
  4. 2025Recent Advances in Out-of-Distribution Detection with CLIP-Like Models: A Survey
  5. 2023Class Relevance Learning For Out-of-distribution Detection
  6. 2025Revisiting Likelihood-Based Out-of-Distribution Detection by Modeling Representations
  7. 2024Exploiting Diffusion Prior for Out-of-Distribution Detection
  8. 2025A Benchmark and Evaluation for Real-World Out-of-Distribution Detection Using Vision-Language Models