$\texttt{BATCLIP}$:面向CLIP的双模态在线测试时自适应
$\texttt{BATCLIP}$: Bimodal Online Test-Time Adaptation for CLIP
AI总结:
针对零样本CLIP对常见图像损坏鲁棒性不足、现有单模态测试时自适应方法适配局限的问题,提出双模态在线TTA方法BATCLIP,通过调整视觉编码器与增强图文特征对齐提升鲁棒性,在基准数据集上取得SOTA结果且泛化性良好。
摘要:
尽管对比语言-图像预训练(Contrastive Language Image Pretraining,CLIP)这类开放词汇分类模型已展现出强大的零样本学习能力,但它们对常见图像损坏的鲁棒性仍未得到充分研究。通过大量实验,我们发现零样本CLIP在测试阶段对常见图像损坏缺乏鲁棒性,因此需要利用测试时自适应(test-time adaptation,TTA)让CLIP适配无标签的损坏图像。然而我们发现,现有TTA方法因单模态属性,在适配CLIP时存在严重局限。为解决这些局限,我们提出$\texttt{BATCLIP}$——一种旨在提升CLIP对常见图像损坏鲁棒性的双模态在线TTA方法。该方法的核心思路不仅是通过调整视觉编码器优化图像特征,还通过增强用伪标签计算的图像类别原型与对应文本特征之间的关联,强化图像与文本特征的对齐。我们在基准图像损坏数据集上评估了该方法,在CLIP的在线TTA任务中取得了当前最优结果。此外,我们还在多个域泛化数据集上评估了所提TTA方法,以验证其泛化能力。我们的代码可在https://github.com/sarthaxxxxx/BATCLIP获取。
英文摘要:
Although open-vocabulary classification models like Contrastive Language Image Pretraining (CLIP) have demonstrated strong zero-shot learning capabilities, their robustness to common image corruptions remains poorly understood. Through extensive experiments, we show that zero-shot CLIP lacks robustness to common image corruptions during test-time, necessitating the adaptation of CLIP to unlabeled corrupted images using test-time adaptation (TTA). However, we found that existing TTA methods have severe limitations in adapting CLIP due to their unimodal nature. To address these limitations, we propose $\texttt{BATCLIP}$, a bimodal $\textbf{online}$ TTA method designed to improve CLIP's robustness to common image corruptions. The key insight of our approach is not only to adapt the visual encoders for improving image features but also to strengthen the alignment between image and text features by promoting a stronger association between the image class prototype, computed using pseudo-labels, and the corresponding text feature. We evaluate our approach on benchmark image corruption datasets and achieve state-of-the-art results in online TTA for CLIP. Furthermore, we evaluate our proposed TTA approach on various domain generalization datasets to demonstrate its generalization capabilities. Our code is available at https://github.com/sarthaxxxxx/BATCLIP
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。