mlsanityData to 7 Oct 2026

Enhancing OOD Detection Using Latent Diffusion

arXiv 2406.16525 ↗First posted 24 Jun 2024stat.ML cs.LGcited by 1

On the map: Diffusion models → Medical imaging and segmentation

Abstract (arXiv)

Out-of-distribution (OOD) detection is crucial for the reliable deployment of machine learning models in real-world scenarios, enabling the identification of unknown samples or objects. A prominent approach to enhance OOD detection performance involves leveraging auxiliary datasets for training. Recent efforts have explored using generative models, such as Stable Diffusion (SD), to synthesize outlier data in the pixel space. However, synthesizing OOD data in the pixel space can lead to reduced robustness due to over-generation. To address this challenge, we propose Outlier-Aware Learning (OAL), a novel framework that generates synthetic OOD training data within the latent space, taking a further step to study how to utilize Stable Diffusion for developing a latent-based outlier synthesis approach. This improvement facilitates network training with fewer outliers and less computational cost. Besides, to regularize the model's decision boundary, we develop a mutual information-based contrastive learning module (MICL) that amplifies the distinction between In-Distribution (ID) and collected OOD data. Moreover, we develop a knowledge distillation module to prevent the degradation of ID classification accuracy when training with OOD data. The superior performance of our method on several benchmark datasets demonstrates its efficiency and effectiveness. Source code is available in https://github.com/HengGao12/OAL.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 43 of its 65 references that are in the map. First posted on arXiv 24 Jun 2024.

Builds on

43 of 65 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023Dream the Impossible: Outlier Imagination with Diffusion Models23 Sep
  2. 2023Unsupervised Out-of-Distribution Detection with Diffusion Inpainting20 Feb
  3. 2022Denoising diffusion models for out-of-distribution detection14 Nov
  4. 2021Diffusion Models for Implicit Image Segmentation Ensembles6 Dec

Other references · 39

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  7. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  8. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  9. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  10. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
  11. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  12. 2013Describing Textures in the Wildcited by 2,110
27 more
  1. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  2. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
  3. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  4. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  5. 2018Deep Anomaly Detection with Outlier Exposurecited by 939
  6. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
  7. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  8. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  9. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  10. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  11. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
  12. 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
  13. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
  14. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  15. 2020CLUB: A Contrastive Log-ratio Upper Bound of Mutual Informationcited by 233
  16. 2021Score-Based Generative Modeling with Critically-Damped Langevin Diffusioncited by 230
  17. 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
  18. 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 178
  19. 2022Knowledge Distillation with the Reused Teacher Classifiercited by 140
  20. 2023Non-Parametric Outlier Synthesiscited by 129
  21. 2022Point-to-Voxel Knowledge Distillation for LiDAR Semantic Segmentationcited by 118
  22. 2022POEM: Out-of-Distribution Detection with Posterior Samplingcited by 108
  23. 2023Generative Semantic Segmentationcited by 32
  24. 2023Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sourcescited by 31
  25. 2022ZITS++: Image Inpainting by Improving the Incremental Transformer on Structural Priorscited by 21
  26. 2018Improving Confidence Estimates for Unfamiliar Examplescited by 2
  27. 2024Confidence Preservation Property in Knowledge Distillation Abstractionscited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Non-Linear Outlier Synthesis for Out-of-Distribution Detection
  2. 2024Exploiting Diffusion Prior for Out-of-Distribution Detection
  3. 2025Dream-Box: Object-wise Outlier Generation for Out-of-Distribution Detection
  4. 2025Probability Density from Latent Diffusion Models for Out-of-Distribution Detection
  5. 2024Out-of-Distribution Detection with a Single Unconditional Diffusion Model
  6. 2024Diffusion based Semantic Outlier Generation via Nuisance Awareness for Out-of-Distribution Detection
  7. 2024NODI: Out-Of-Distribution Detection with Noise from Diffusion
  8. 2025Beyond Binary Out-of-Distribution Detection: Characterizing Distributional Shifts with Multi-Statistic Diffusion Trajectories