arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.00345cs.CVcs.LG
收藏

DeCoOp:基于分布外检测的鲁棒提示微调

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

Nanjing University(南京大学)

Zhi Zhou, Ming Yang, Jiang-Xin Shi, Lan-Zhe Guo, Yu-Feng Li

AI总结:

针对开放世界提示微调(OPT)问题,提出分解上下文优化(DeCoOp)方法,通过引入新类检测器和子分类器结合分布外检测增强基类到新类的判别能力,在11个基准上实现2%平均准确率提升。

摘要:

视觉-语言模型(VLMs),如CLIP,在各种下游任务中展现出了令人印象深刻的零样本能力。通过少样本提示微调方法,其性能可以得到进一步提升。然而,当前的研究分别在基类和新类上评估学习到的提示的性能。这种评估方式在实际应用中缺乏实用性,因为下游任务无法预先判断数据属于基类还是新类。在本文中,我们探索了一种称为开放世界提示微调(OPT)的问题设定,该设定涉及在基类上微调提示,并在基类和新类的组合上进行评估。通过引入分解提示微调框架(DePT),我们从理论上证明,可以通过将分布外检测纳入提示微调来解决OPT问题,从而增强从基类到新类的判别能力。基于DePT,我们提出了一种新颖的提示微调方法,即分解上下文优化(DeCoOp),该方法引入了新类检测器和子分类器,以进一步增强基类和新类的判别能力。在11个基准数据集上的实验结果验证了DePT的有效性,并表明DeCoOp优于当前最先进的方法,提供了显著的2%平均准确率提升。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑