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