解决CLIP在线零样本学习中的标签分布偏移问题
Label Shift Aware Adaptation for Online Zero-shot Learning with Contrastive Language-Image Pre-Training (CLIP)

- 基于未标记测试数据修正模型预测分布
- 在多个数据集上显著优于现有方法
- 适合处理标签分布变化的在线识别场景
视觉-语言模型如对比语言-图像预训练(CLIP)在数据稀缺场景中受到广泛关注。一个极具挑战且现实的任务是使用CLIP进行在线零样本学习,即在不更新特征提取和模型参数的前提下,按随机顺序逐个预测未知测试样本。现有方法通常利用流入的测试样本在线调整表示,却忽略了CLIP初始训练数据的分布。当测试数据标签分布与训练域不一致时,性能会下降。为此,我们提出标签偏移感知适应(Label Shift Aware, LSA),将在线零样本分类任务建模为领域自适应问题。LSA仅使用无标签测试数据,对在未知源分布上训练的CLIP输出进行预测适配,并应用标签偏移校正以缓解源域与目标域间的分布差异。在多个数据集上的大量实验表明,所提方法在性能上持续超越基于CLIP的最先进在线零样本学习方法。
原文摘要 · Abstract (English)
Vision-language models like Contrastive Language-Image Pre-Training (CLIP) have been extensively studied in data-scarce scenarios. A particularly challenging and realistic task in this area is online zero-shot learning with CLIP, where unknown test samples are predicted sequentially in random order by CLIP while keeping the feature extraction and model parameters fixed during the sequential inference phase. Most existing approaches in this setting address the problem by adapting representations online using incoming test samples, while neglecting the distribution of the data on which CLIP was initially trained. This mismatch can lead to degraded performance when the label distribution in the test data differs from that of the training domain. To address this gap, we propose Label Shift Aware (LSA), which formulates the online zero-shot classification task as a domain adaptation problem. Specifically, LSA adapts the predictions computed by CLIP, which was trained on an unknown source distribution, to a target distribution using only unlabeled test data, and applies label shift correction to mitigate the mismatch between the source and target domains. The extensive experiments across multiple datasets demonstrate that the proposed LSA consistently outperforms state-of-the-art online zero-shot learning methods based on CLIP.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。