PromptSync:通过类别感知原型对齐与判别弥合视觉-语言模型的领域鸿沟
PromptSync: Bridging Domain Gaps in Vision-Language Models through Class-Aware Prototype Alignment and Discrimination
AI总结:
针对视觉-语言模型测试时提示调优忽略类别分布不平衡的问题,提出PromptSync方法,通过类别感知原型对齐与对比学习原型判别同步双分支提示,在领域泛化基准上取得更优性能。
摘要:
CLIP等视觉-语言(V-L)模型的零样本泛化潜力推动了其在众多下游任务中的广泛应用。现有方法采用测试时提示调优使模型适配未见过的领域,但忽略了类别分布不平衡的问题。本研究明确针对这一问题,采用由测试样本及经过滤的增强视图得到的平均类别概率加权的类别感知原型对齐方法。此外,我们通过对比学习执行原型判别,确保类别概率尽可能准确。对齐损失与判别损失的结合充当几何正则项,防止提示表示坍缩到单个类别,有效弥合源域与测试域之间的分布鸿沟。我们的方法名为PromptSync,在V-L模型的文本分支和视觉分支上同步每个测试样本的提示。在领域泛化基准上的实证评估中,我们的方法整体性能优于此前最优方法2.33%,基类到新类泛化性能优1%,跨数据集迁移任务性能优2.84%。
英文摘要:
The potential for zero-shot generalization in vision-language (V-L) models such as CLIP has spurred their widespread adoption in addressing numerous downstream tasks. Previous methods have employed test-time prompt tuning to adapt the model to unseen domains, but they overlooked the issue of imbalanced class distributions. In this study, we explicitly address this problem by employing class-aware prototype alignment weighted by mean class probabilities obtained for the test sample and filtered augmented views. Additionally, we ensure that the class probabilities are as accurate as possible by performing prototype discrimination using contrastive learning. The combination of alignment and discriminative loss serves as a geometric regularizer, preventing the prompt representation from collapsing onto a single class and effectively bridging the distribution gap between the source and test domains. Our method, named PromptSync, synchronizes the prompts for each test sample on both the text and vision branches of the V-L model. In empirical evaluations on the domain generalization benchmark, our method outperforms previous best methods by 2.33% in overall performance, by 1% in base-to-novel generalization, and by 2.84% in cross-dataset transfer tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。