mlsanityData to 14 Oct 2026

Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection

arXiv 2507.10225 ↗First posted 14 Jul 2025cs.CVcited by 3

On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP

Abstract (arXiv)

Pre-trained vision-language models have exhibited remarkable abilities in detecting out-of-distribution (OOD) samples. However, some challenging OOD samples, which lie close to in-distribution (InD) data in image feature space, can still lead to misclassification. The emergence of foundation models like diffusion models and multimodal large language models (MLLMs) offers a potential solution to this issue. In this work, we propose SynOOD, a novel approach that harnesses foundation models to generate synthetic, challenging OOD data for fine-tuning CLIP models, thereby enhancing boundary-level discrimination between InD and OOD samples. Our method uses an iterative in-painting process guided by contextual prompts from MLLMs to produce nuanced, boundary-aligned OOD samples. These samples are refined through noise adjustments based on gradients from OOD scores like the energy score, effectively sampling from the InD/OOD boundary. With these carefully synthesized images, we fine-tune the CLIP image encoder and negative label features derived from the text encoder to strengthen connections between near-boundary OOD samples and a set of negative labels. Finally, SynOOD achieves state-of-the-art performance on the large-scale ImageNet benchmark, with minimal increases in parameters and runtime. Our approach significantly surpasses existing methods, and the code is available at https://github.com/Jarvisgivemeasuit/SynOOD.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 56 of its 67 references that are in the map. First posted on arXiv 14 Jul 2025.

Builds on

56 of 67 references.

Closest ancestors · 6

Same direction, newest first

  1. 2024AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models26 Oct
  2. 2024Conjugated Semantic Pool Improves OOD Detection with Pre-trained Vision-Language Models11 Oct
  3. 2024LAPT: Label-driven Automated Prompt Tuning for OOD Detection with Vision-Language Models12 Jul
  4. 2024Negative Label Guided OOD Detection with Pretrained Vision-Language Models29 Mar
  5. 2022Conditional Prompt Learning for Vision-Language Models10 Mar
  6. 2021Learning to Prompt for Vision-Language Models2 Sep

Other references · 50

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  6. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  7. 2023GPT-4 Technical Reportcited by 18,396
  8. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  9. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  10. 2023Visual Instruction Tuningcited by 7,869
  11. 2016Densely Connected Convolutional Networkscited by 6,720
  12. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
38 more
  1. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
  2. 2023Qwen Technical Reportcited by 3,344
  3. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
  4. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  5. 2013Describing Textures in the Wildcited by 2,125
  6. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  7. 2019Natural Adversarial Examplescited by 1,408
  8. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  9. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  10. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
  11. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  12. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  13. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 405
  14. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 353
  15. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
  16. 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
  17. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  18. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 268
  19. 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
  20. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
  21. 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
  22. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
  23. 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
  24. 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 179
  25. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  26. 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 152
  27. 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 134
  28. 2023CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say Nocited by 130
  29. 2023Non-Parametric Outlier Synthesiscited by 129
  30. 2022Is Out-of-Distribution Detection Learnable?cited by 109
  31. 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 107
  32. 2023Dream the Impossible: Outlier Imagination with Diffusion Modelscited by 77
  33. 2023Content-based Unrestricted Adversarial Attackcited by 73
  34. 2020Feature Space Singularity for Out-of-Distribution Detectioncited by 49
  35. 2020A Boundary Based Out-of-Distribution Classifier for Generalized Zero-Shot Learningcited by 34
  36. 2023Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sourcescited by 31
  37. 2024Hierarchical Visual Categories Modeling: A Joint Representation Learning and Density Estimation Framework for Out-of-Distribution Detectioncited by 4
  38. 2024TagOOD: A Novel Approach to Out-of-Distribution Detection via Vision-Language Representations and Class Center Learningcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Recent Advances in Out-of-Distribution Detection with CLIP-Like Models: A Survey
  2. 2025Harnessing Large Language and Vision-Language Models for Robust Out-of-Distribution Detection
  3. 2025Out-of-Distribution Detection with Positive and Negative Prompt Supervision Using Large Language Models
  4. 2023How Does Fine-Tuning Impact Out-of-Distribution Detection for Vision-Language Models?
  5. 2024CLIP-driven Outliers Synthesis for few-shot OOD detection
  6. 2023Adapting Contrastive Language-Image Pretrained (CLIP) Models for Out-of-Distribution Detection
  7. 2026Mind the Way You Select Negative Texts: Pursuing the Distance Consistency in OOD Detection with VLMs
  8. 2026Vision Also You Need: Navigating Out-of-Distribution Detection with Multimodal Large Language Model