提出统一评估与优化开放世界提示调优的新指标和方法。
OpenworldAUC: Towards Unified Evaluation and Optimization for Open-world Prompt Tuning
- 用成对样本比较实现检测与分类的联合评估
- 在15个基准上达到开放世界AUC新最优
- 适合关注开放世界视觉语言模型的开发者
提示调优可低成本适配CLIP等视觉-语言模型至开放世界任务。现有范式分别评估已知类(基础域)与未知类(新域)性能,但真实场景需处理无先验领域知识的输入。这催生了开放世界提示调优,要求统一评估两个阶段:1)判断输入属于基础域还是新域(P1);2)正确分类样本(P2)。此外,因域分布未知,度量应不受基础/新样本比例影响(P3)。然而我们发现,当前指标如HM、整体准确率和AUROC无法同时满足上述三性质。为此,我们提出OpenworldAUC,通过成对实例比较联合评估检测与分类。为有效优化OpenworldAUC,引入门控混合提示(GMoP),采用领域特定提示与门控机制动态平衡检测与分类。理论保证在实际条件下具备泛化能力。在15个开放世界基准上的实验表明,GMoP在OpenworldAUC及其他指标上均达最先进水平。代码已开源:https://github.com/huacong/OpenworldAUC。
原文摘要 · Abstract (English)
Prompt tuning adapts Vision-Language Models like CLIP to open-world tasks with minimal training costs. In this direction, one typical paradigm evaluates model performance separately on known classes (i.e., base domain) and unseen classes (i.e., new domain). However, real-world scenarios require models to handle inputs without prior domain knowledge. This practical challenge has spurred the development of open-world prompt tuning, which demands a unified evaluation of two stages: 1) detecting whether an input belongs to the base or new domain (P1), and 2) classifying the sample into its correct class (P2). What's more, as domain distributions are generally unknown, a proper metric should be insensitive to varying base/new sample ratios (P3). However, we find that current metrics, including HM, overall accuracy, and AUROC, fail to satisfy these three properties simultaneously. To bridge this gap, we propose OpenworldAUC, a unified metric that jointly assesses detection and classification through pairwise instance comparisons. To optimize OpenworldAUC effectively, we introduce Gated Mixture-of-Prompts (GMoP), which employs domain-specific prompts and a gating mechanism to dynamically balance detection and classification. Theoretical guarantees ensure generalization of GMoP under practical conditions. Experiments on 15 benchmarks in open-world scenarios show GMoP achieves SOTA performance on OpenworldAUC and other metrics. We release the code at https://github.com/huacong/OpenworldAUC
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。