paper-with-me

홈 › Papers

DeCoOp: Robust Prompt Tuning with Out-of-Distribution Detection

2024-06-01 · Zhi Zhou, Ming Yang, Jiang-Xin Shi, Lan-Zhe Guo, Yu-Feng Li

Vision-language models (VLMs), such as CLIP, have demonstrated impressive zero-shot capabilities for various downstream tasks. Their performance can be further enhanced through few-shot prompt tuning methods. However, current studies evaluate the performance of learned prompts separately on base and new classes. This evaluation lacks practicality for real-world applications since downstream tasks cannot determine whether the data belongs to base or new classes in advance. In this paper, we explore a problem setting called Open-world Prompt Tuning (OPT), which involves tuning prompts on base classes and evaluating on a combination of base and new classes. By introducing Decomposed Prompt Tuning framework (DePT), we theoretically demonstrate that OPT can be solved by incorporating out-of-distribution detection into prompt tuning, thereby enhancing the base-to-new discriminability. Based on DePT, we present a novel prompt tuning approach, namely, Decomposed Context Optimization (DeCoOp), which introduces new-class detectors and sub-classifiers to further enhance the base-class and new-class discriminability. Experimental results on 11 benchmark datasets validate the effectiveness of DePT and demonstrate that DeCoOp outperforms current state-of-the-art methods, providing a significant 2% average accuracy improvement.

📄 PDF Abstract BibTeX arXiv:2406.00345

Code (1)

WNJXYK/DeCoOp 공식 구현 pytorch

Tasks

Out-of-Distribution Detection

Methods 이 논문이 사용한 방법론

OPT OPT is a suite of decoder-only pre-trained transformers ranging from 125M to 175B parameters. The model uses an AdamW optimizer and weight decay of 0.1. It follows a linear…
BASE 설명 없음
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

Towards Few-shot Out-of-Distribution Detection

2023-11-20 · Jiuqing Dong, Yongbin Gao, Heng Zhou, Jun Cen 외

Out-of-distribution (OOD) detection is critical for ensuring the reliability of open-world intelligent systems. Despite the notable advancements in existing OOD detection methodologies, our study identifies a significant…

General KnowledgeOut-of-Distribution DetectionOut of Distribution (OOD) DetectionVisual Prompt Tuning

How Does Fine-Tuning Impact Out-of-Distribution Detection for Vision-Language Models?

2023-06-09 · Yifei Ming, Yixuan Li

Recent large vision-language models such as CLIP have shown remarkable out-of-distribution (OOD) detection and generalization performance. However, their zero-shot in-distribution (ID) accuracy is often limited for downs…

Out-of-Distribution DetectionOut of Distribution (OOD) DetectionPrompt Learning

LAPT: Label-driven Automated Prompt Tuning for OOD Detection with Vision-Language Models

2024-07-12 · Yabin Zhang, Wenjie Zhu, Chenhang He, Lei Zhang

Out-of-distribution (OOD) detection is crucial for model reliability, as it identifies samples from unknown classes and reduces errors due to unexpected inputs. Vision-Language Models (VLMs) such as CLIP are emerging as …

Image GenerationOut of Distribution (OOD) DetectionPrompt EngineeringPrompt Learning

Enhancing Outlier Knowledge for Few-Shot Out-of-Distribution Detection with Extensible Local Prompts

2024-09-07 · Fanhu Zeng, Zhen Cheng, Fei Zhu, Xu-Yao Zhang

Out-of-Distribution (OOD) detection, aiming to distinguish outliers from known categories, has gained prominence in practical scenarios. Recently, the advent of vision-language models (VLM) has heightened interest in enh…

Out-of-Distribution DetectionOut of Distribution (OOD) Detection

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

2024-11-05 · Geng Yu, Jianing Zhu, Jiangchao Yao, Bo Han

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 t…

Out-of-Distribution DetectionOut of Distribution (OOD) Detection