mlsanityData to 14 Oct 2026

Knowledge Regularized Negative Feature Tuning of Vision-Language Models for Out-of-Distribution Detection

arXiv 2507.19847 ↗First posted 26 Jul 2025cs.CVcited by 4

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

Abstract (arXiv)

Out-of-distribution (OOD) detection is crucial for building reliable machine learning models. Although negative prompt tuning has enhanced the OOD detection capabilities of vision-language models, these tuned models often suffer from reduced generalization performance on unseen classes and styles. To address this challenge, we propose a novel method called Knowledge Regularized Negative Feature Tuning (KR-NFT), which integrates an innovative adaptation architecture termed Negative Feature Tuning (NFT) and a corresponding knowledge-regularization (KR) optimization strategy. Specifically, NFT applies distribution-aware transformations to pre-trained text features, effectively separating positive and negative features into distinct spaces. This separation maximizes the distinction between in-distribution (ID) and OOD images. Additionally, we introduce image-conditional learnable factors through a lightweight meta-network, enabling dynamic adaptation to individual images and mitigating sensitivity to class and style shifts. Compared to traditional negative prompt tuning, NFT demonstrates superior efficiency and scalability. To optimize this adaptation architecture, the KR optimization strategy is designed to enhance the discrimination between ID and OOD sets while mitigating pre-trained knowledge forgetting. This enhances OOD detection performance on trained ID classes while simultaneously improving OOD detection on unseen ID datasets. Notably, when trained with few-shot samples from ImageNet dataset, KR-NFT not only improves ID classification accuracy and OOD detection but also significantly reduces the FPR95 by 5.44% under an unexplored generalization setting with unseen ID categories. Codes can be found at hrefhttps://github.com/ZhuWenjie98/KRNFT.

Key facts. Cited by 4 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 40 of its 72 references that are in the map. First posted on arXiv 26 Jul 2025.

Builds on

40 of 72 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection5 Nov
  2. 2024AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models26 Oct
  3. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapters9 Oct
  4. 2021Learning to Prompt for Vision-Language Models2 Sep

Other references · 36

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  4. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  5. 2013Describing Textures in the Wildcited by 2,125
  6. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  7. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  8. 2019Natural Adversarial Examplescited by 1,408
  9. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  10. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  11. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
  12. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
24 more
  1. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  2. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  3. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
  4. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
  5. 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 294
  6. 2022Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuningcited by 294
  7. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  8. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 268
  9. 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 252
  10. 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
  11. 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
  12. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
  13. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
  14. 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 152
  15. 2018Latent Space Autoregression for Novelty Detectioncited by 149
  16. 2019Unsupervised Out-of-Distribution Detection by Maximum Classifier Discrepancycited by 112
  17. 2022POEM: Out-of-Distribution Detection with Posterior Samplingcited by 108
  18. 2017Medical Image Analysis using Convolutional Neural Networks: A Reviewcited by 99
  19. 2018Generative Probabilistic Novelty Detection with Adversarial Autoencoderscited by 99
  20. 2021MOOD: Multi-level Out-of-distribution Detectioncited by 94
  21. 2022Anomaly Detection in Autonomous Driving: A Surveycited by 87
  22. 2022Unknown-Aware Object Detection: Learning What You Don't Know from Videos in the Wildcited by 70
  23. 2022Bayesian Prompt Learning for Image-Language Model Generalizationcited by 51
  24. 2022Towards Textual Out-of-Domain Detection without In-Domain Labelscited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Out-of-Distribution Detection with Positive and Negative Prompt Supervision Using Large Language Models
  2. 2025Harnessing Large Language and Vision-Language Models for Robust Out-of-Distribution Detection
  3. 2024CRoFT: Robust Fine-Tuning with Concurrent Optimization for OOD Generalization and Open-Set OOD Detection
  4. 2023How Does Fine-Tuning Impact Out-of-Distribution Detection for Vision-Language Models?
  5. 2024Overcoming the Pitfalls of Vision-Language Model Finetuning for OOD Generalization
  6. 2024LAPT: Label-driven Automated Prompt Tuning for OOD Detection with Vision-Language Models
  7. 2024Weak Distribution Detectors Lead to Stronger Generalizability of Vision-Language Prompt Tuning
  8. 2025FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection