mlsanityData to 14 Oct 2026

GOOD: Training-Free Guided Diffusion Sampling for Out-of-Distribution Detection

arXiv 2510.17131 ↗First posted 20 Oct 2025cs.CV cs.AIcited by 5

On the map: Diffusion models → Medical imaging and segmentation

Abstract (arXiv)

Recent advancements have explored text-to-image diffusion models for synthesizing out-of-distribution (OOD) samples, substantially enhancing the performance of OOD detection. However, existing approaches typically rely on perturbing text-conditioned embeddings, resulting in semantic instability and insufficient shift diversity, which limit generalization to realistic OOD. To address these challenges, we propose GOOD, a novel and flexible framework that directly guides diffusion sampling trajectories towards OOD regions using off-the-shelf in-distribution (ID) classifiers. GOOD incorporates dual-level guidance: (1) Image-level guidance based on the gradient of log partition to reduce input likelihood, drives samples toward low-density regions in pixel space. (2) Feature-level guidance, derived from k-NN distance in the classifier's latent space, promotes sampling in feature-sparse regions. Hence, this dual-guidance design enables more controllable and diverse OOD sample generation. Additionally, we introduce a unified OOD score that adaptively combines image and feature discrepancies, enhancing detection robustness. We perform thorough quantitative and qualitative analyses to evaluate the effectiveness of GOOD, demonstrating that training with samples generated by GOOD can notably enhance OOD detection performance.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 55 of its 70 references that are in the map. First posted on arXiv 20 Oct 2025.

Builds on

55 of 70 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025BOOD: Boundary-based Out-Of-Distribution Data Generation1 Aug
  2. 2023Dream the Impossible: Outlier Imagination with Diffusion Models23 Sep
  3. 2021Score-based diffusion models for accelerated MRI8 Oct

Other references · 52

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2020Denoising Diffusion Implicit Modelscited by 9,781
  5. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  6. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  7. 2022Classifier-Free Diffusion Guidancecited by 5,847
  8. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  9. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  10. 2013Describing Textures in the Wildcited by 2,125
  11. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  12. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
38 more
  1. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  2. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  3. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
  4. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  5. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 776
  6. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  7. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  8. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  9. 2023Universal Guidance for Diffusion Modelscited by 437
  10. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  11. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 405
  12. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 405
  13. 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
  14. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
  15. 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
  16. 2023FreeDoM: Training-Free Energy-Guided Conditional Diffusion Modelcited by 294
  17. 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
  18. 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
  19. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
  20. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  21. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  22. 2023Manifold Preserving Guided Diffusioncited by 157
  23. 2023Non-Parametric Outlier Synthesiscited by 129
  24. 2022POEM: Out-of-Distribution Detection with Posterior Samplingcited by 108
  25. 2024TFG: Unified Training-Free Guidance for Diffusion Modelscited by 107
  26. 2022Training OOD Detectors in their Natural Habitatscited by 86
  27. 2019Detecting semantic anomaliescited by 50
  28. 2024How Does Unlabeled Data Provably Help Out-of-Distribution Detection?cited by 36
  29. 2023GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradientscited by 21
  30. 2023PointSSC: A Cooperative Vehicle-Infrastructure Point Cloud Benchmark for Semantic Scene Completioncited by 14
  31. 2024FodFoM: Fake Outlier Data by Foundation Models Creates Stronger Visual Out-of-Distribution Detectorcited by 10
  32. 2025ARTDECO: Towards Efficient and High-Fidelity On-the-Fly 3D Reconstruction with Structured Scene Representationcited by 9
  33. 2025Deep Incomplete Multi-view Learning via Cyclic Permutation of VAEscited by 8
  34. 2024PAPL-SLAM: Principal Axis-Anchored Monocular Point-Line SLAMcited by 6
  35. 2024Out-Of-Distribution Detection with Diversification (Provably)cited by 6
  36. 2025Dark-ISP: Enhancing RAW Image Processing for Low-Light Object Detectioncited by 5
  37. 2024Non-Linear Outlier Synthesis for Out-of-Distribution Detectioncited by 4
  38. 2025Out-of-Distribution Detection using Synthetic Data Generationcited by 4

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024NODI: Out-Of-Distribution Detection with Noise from Diffusion
  2. 2025Beyond Binary Out-of-Distribution Detection: Characterizing Distributional Shifts with Multi-Statistic Diffusion Trajectories
  3. 2023Unsupervised Out-of-Distribution Detection with Diffusion Inpainting
  4. 2025Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection
  5. 2026Geometry over Density: Few-Shot Cross-Domain OOD Detection
  6. 2026Enhanced Low-Density Region Exploration in Classifier-Guided Diffusion Models Through Modified Reverse Diffusion Sampling
  7. 2024Exploiting Diffusion Prior for Out-of-Distribution Detection
  8. 2023Elucidating The Design Space of Classifier-Guided Diffusion Generation