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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhou, Zhi, Yang, Ming, Shi, Jiang-Xin, Guo, Lan-Zhe, Li, Yu-Feng
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909214643847168
author Zhou, Zhi
Yang, Ming
Shi, Jiang-Xin
Guo, Lan-Zhe
Li, Yu-Feng
author_facet Zhou, Zhi
Yang, Ming
Shi, Jiang-Xin
Guo, Lan-Zhe
Li, Yu-Feng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_00345
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DeCoOp: Robust Prompt Tuning with Out-of-Distribution Detection
Zhou, Zhi
Yang, Ming
Shi, Jiang-Xin
Guo, Lan-Zhe
Li, Yu-Feng
Computer Vision and Pattern Recognition
Machine Learning
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.
title DeCoOp: Robust Prompt Tuning with Out-of-Distribution Detection
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2406.00345