Lune

NeurIPS2024Top-tier venue

Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection

Geng Yu, Jianing Zhu, Jiangchao Yao, Bo Han

Abstract

Out-of-distribution (OOD) detection is crucial for deploying reliable machine learning models in open-world applications. Recent advances in CLIP-based OOD detection have shown promising results via regularizing prompt tuning with OOD features extracted from ID data. However, the irrelevant context mined from ID data can be spurious due to the inaccurate foreground-background decomposition, thus limiting the OOD detection performance. In this work, we propose a novel framework, namely, Self-Calibrated Tuning (SCT), to mitigate this problem for effective OOD detection with only the given few-shot ID data. Specifically, SCT introduces modulating factors respectively on the two components of the original learning objective. It adaptively directs the optimization process between the two tasks during training on data with different prediction uncertainty to calibrate the influence of OOD regularization, which is compatible with many prompt tuning based OOD detection methods. Extensive experiments and analyses have been conducted to characterize and demonstrate the effectiveness of the proposed SCT. The code is publicly available.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Conditional Prompt Learning for Vision-Language Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Conditional Prompt Learning for Vision-Language Models cites AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
  • Conditional Prompt Learning for Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection cites Conditional Prompt Learning for Vision-Language Models
  • FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Auxiliary Prompt Tuning of Vision-Language Models for Few-Shot Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Auxiliary Prompt Tuning of Vision-Language Models for Few-Shot Out-of-Distribution Detection cites Learning Transferable Visual Models From Natural Language Supervision
  • TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models cites Energy-based Out-of-distribution Detection
  • TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models cites FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection
  • TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models cites Auxiliary Prompt Tuning of Vision-Language Models for Few-Shot Out-of-Distribution Detection
  • Knowledge Regularized Negative Feature Tuning of Vision-Language Models for Out-of-Distribution Detection cites Conditional Prompt Learning for Vision-Language Models
  • Knowledge Regularized Negative Feature Tuning of Vision-Language Models for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Knowledge Regularized Negative Feature Tuning of Vision-Language Models for Out-of-Distribution Detection cites Learning Transferable Visual Models From Natural Language Supervision
  • ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and Reasoning cites Energy-based Out-of-distribution Detection
  • ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and Reasoning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and Reasoning cites Learning Transferable Visual Models From Natural Language Supervision
  • ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and Reasoning cites Knowledge Regularized Negative Feature Tuning of Vision-Language Models for Out-of-Distribution Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and ReasoningWenjie Zhu, Yabin Zhang, Xin Jin, Wenjun Zeng et al.CVPR 2026 · 12 citations
  2. Auxiliary Prompt Tuning of Vision-Language Models for Few-Shot Out-of-Distribution DetectionWenjun Miao, Guansong Pang, Zihan Wang, Jin Zheng et al.ICCV 2025 · 2 citations
  3. TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language ModelsJinlun Ye, Jiang Liao, Runhe Lai, Xinhua Lu et al.CVPR 2026 · 2 citations
  4. Knowledge Regularized Negative Feature Tuning of Vision-Language Models for Out-of-Distribution DetectionWenjie Zhu, Yabin Zhang, Xin Jin, Wenjun Zeng et al.ACM MM 2025 · 2 citations
  5. FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution DetectionXinhua Lu, Runhe Lai, Yanqi Wu, Kanghao Chen et al.ICCV 2025 · 1 citation

Builds on29

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  4. Conditional Prompt Learning for Vision-Language ModelsKaiyang Zhou, Jingkang Yang, Chen Change Loy, Ziwei LiuCVPR 2022 · 1,438 citations
  5. AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace et al.EMNLP 2020 · 1,162 citations

Related papers

  1. DeCoOp: Robust Prompt Tuning with Out-of-Distribution DetectionZhi Zhou, Ming Yang, Jiang-Xin Shi, Lan-Zhe Guo et al.ICML 2024 · 14 citations
  2. LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt LearningAtsuyuki Miyai, Qing Yu, Go Irie, Kiyoharu AizawaNeurIPS 2023 · 174 citations
  3. Adaptive Multi-prompt Contrastive Network for Few-shot Out-of-distribution DetectionXiang Fang, Arvind Easwaran, Blaise GenestICML 2025
  4. ID-like Prompt Learning for Few-Shot Out-of-Distribution DetectionYichen Bai, Zongbo Han, Bing Cao, Xiaoheng Jiang et al.CVPR 2024
  5. Out-of-Distribution Detection with Negative PromptsJun Nie, Yonggang Zhang, Zhen Fang, Tongliang Liu et al.ICLR 2024 · 48 citations
Dusk over the sea between two cliffs drawn in fine vertical lines