Lune

ICCV2025Top-tier venue

Auxiliary Prompt Tuning of Vision-Language Models for Few-Shot Out-of-Distribution Detection

Wenjun Miao, Guansong Pang, Zihan Wang, Jin Zheng, Xiao Bai

Abstract

Recent advancements in CLIP-based out-of-distribution (OOD) detection have shown promising results via regularization on prompt tuning, leveraging background features extracted from a few in-distribution (ID) samples as proxies for OOD features. However, these methods suffer from an inherent limitation: a lack of diversity in the extracted OOD features from the few-shot ID data. To address this issue, we propose to leverage external datasets as auxiliary outlier data (i.e., pseudo OOD samples) to extract rich, diverse OOD features, with the features from not only background regions but also foreground object regions, thereby supporting more discriminative prompt tuning for OOD detection. We further introduce Auxiliary Prompt Tuning (APT), a novel framework that can be used as a plug-in module to enable existing prompt tuning-based methods to utilize the auxiliary data for more accurate OOD detection. There are two key challenges of utilizing those auxiliary data in prompt tuning, including I) foreground-background decomposition of unlabeled auxiliary data with diverse outlying objects and II) optimization of foreground OOD features. APT tackles challenge I with an adaptive logit-based Kullback-Leibler divergence method and challenge II by constructing foreground-background pairs for each foreground region to enable effective exploitation of foreground OOD features. Extensive experiments on standard and hard OOD benchmarks show that APT achieves state-of-the-art performance, obtaining significant improvements in challenging scenarios, e.g., hard OOD and 1-shot detection.

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.

3 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

  • LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning cites Delving into Out-of-Distribution Detection with Vision-Language Representations
  • LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning cites Energy-based Out-of-distribution Detection
  • LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning cites Learning Transferable Visual Models From Natural Language Supervision
  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites Energy-based Out-of-distribution Detection
  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites Learning Transferable Visual Models From Natural Language Supervision
  • CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No cites Delving into Out-of-Distribution Detection with Vision-Language Representations
  • CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No cites Energy-based Out-of-distribution Detection
  • CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No cites Learning Transferable Visual Models From Natural Language Supervision
  • Bayes-inspired Integration of Pretrained Priors and Few-Shot Evidence for Few-Shot Classification cites Learning Transferable Visual Models From Natural Language Supervision
  • STAR: Test-Time Adaptation Can Enhance Universal Prompt Learning for Vision-Language Models cites LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning
  • STAR: Test-Time Adaptation Can Enhance Universal Prompt Learning for Vision-Language Models cites CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No
  • STAR: Test-Time Adaptation Can Enhance Universal Prompt Learning for Vision-Language Models cites Energy-based Out-of-distribution Detection
  • STAR: Test-Time Adaptation Can Enhance Universal Prompt Learning for 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 LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning
  • TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models cites Delving into Out-of-Distribution Detection with Vision-Language Representations
  • TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models cites CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No
  • 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 Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. 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
  2. Bayes-inspired Integration of Pretrained Priors and Few-Shot Evidence for Few-Shot ClassificationMingyang Zhou, Xiaoxuan Zhang, Gang Liu, Yuhong Feng et al.ICML 2026
  3. STAR: Test-Time Adaptation Can Enhance Universal Prompt Learning for Vision-Language ModelsYiwei Fu, Hui Wan, Xiao Luo, Minghua DengCVPR 2026

Builds on19

  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. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  3. Delving into Out-of-Distribution Detection with Vision-Language RepresentationsYifei Ming, Ziyang Cai, Jiuxiang Gu, Yiyou Sun et al.NeurIPS 2022 · 308 citations
  4. LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt LearningAtsuyuki Miyai, Qing Yu, Go Irie, Kiyoharu AizawaNeurIPS 2023 · 174 citations
  5. CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say NoHualiang Wang, Yi Li, Huifeng Yao, Xiaomeng LiICCV 2023 · 171 citations

Related papers

  1. Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution DetectionGeng Yu, Jianing Zhu, Jiangchao Yao, Bo HanNeurIPS 2024 · 26 citations
  2. ID-like Prompt Learning for Few-Shot Out-of-Distribution DetectionYichen Bai, Zongbo Han, Bing Cao, Xiaoheng Jiang et al.CVPR 2024
  3. Adaptive Multi-prompt Contrastive Network for Few-shot Out-of-distribution DetectionXiang Fang, Arvind Easwaran, Blaise GenestICML 2025
  4. 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
  5. Adaptive Prompt Learning via Gaussian Outlier Synthesis for Out-Of-Distribution DetectionYongkang Zhang, Dongyu She, Zhong ZhouICCV 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines