Out-of-Distribution Detection with Positive and Negative Prompt Supervision Using Large Language Models
Zhixia He, Chen Zhao, Minglai Shao, Xintao Wu, Xujiang Zhao, Dong Li, Qin Tian, Linlin Yu

TL;DR
This paper introduces a novel positive and negative prompt supervision method using large language models to improve out-of-distribution detection in vision-language models, achieving superior results on standard benchmarks.
Contribution
It proposes a new prompt supervision approach that leverages class-specific prompts and a graph-based architecture to enhance OOD detection performance.
Findings
Outperforms state-of-the-art methods on CIFAR-100 and ImageNet-1K benchmarks.
Effective across multiple OOD datasets and LLM configurations.
Enhances energy-based OOD detection with semantic-aware supervision.
Abstract
Out-of-distribution (OOD) detection is committed to delineating the classification boundaries between in-distribution (ID) and OOD images. Recent advances in vision-language models (VLMs) have demonstrated remarkable OOD detection performance by integrating both visual and textual modalities. In this context, negative prompts are introduced to emphasize the dissimilarity between image features and prompt content. However, these prompts often include a broad range of non-ID features, which may result in suboptimal outcomes due to the capture of overlapping or misleading information. To address this issue, we propose Positive and Negative Prompt Supervision, which encourages negative prompts to capture inter-class features and transfers this semantic knowledge to the visual modality to enhance OOD detection performance. Our method begins with class-specific positive and negative prompts…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsMultimodal Machine Learning Applications · Domain Adaptation and Few-Shot Learning · Generative Adversarial Networks and Image Synthesis
