提升视觉语言模型在传感器退化下的零样本分类鲁棒性
Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruption
- 通过感知均匀性损失,动态优化图像嵌入信息分布
- 在多种传感器退化场景下准确率提升显著,最高达18.3个百分点
- 适合部署在真实环境、数据分布未知的视觉语言系统
预训练的视觉语言模型(如CLIP)虽具备强大泛化能力,广泛应用于零样本分类等任务,但在面对与训练数据分布差异较大的测试数据时表现下降。我们发现,传感器退化(如天气、光照、噪声)是导致性能下降的关键因素,且此类退化难以预先收集数据进行微调。为此,我们研究零样本分类中的测试时自适应(TTA),利用未标注测试数据实时适应分布变化。现有方法多聚焦于调整图像或文本嵌入及预测,但对传感器退化引起的分布偏移无效。原因在于图像嵌入的均匀性(uniformity,反映信息量)被破坏。为此,我们提出统一性感知的信息平衡测试时自适应(UnInfo)方法:引入均匀性感知置信度最大化、信息感知损失平衡以及基于指数移动平均教师的知识蒸馏。实验表明,该方法有效保留了嵌入的均匀性信息,在多种传感器退化条件下显著提升准确率,最高达18.3个百分点。
原文摘要 · Abstract (English)
Pre-trained vision-language models such as contrastive language-image pre-training (CLIP) have demonstrated a remarkable generalizability, which has enabled a wide range of applications represented by zero-shot classification. However, vision-language models still suffer when they face datasets with large gaps from training ones, i.e., distribution shifts. We found that CLIP is especially vulnerable to sensor degradation, a type of realistic distribution shift caused by sensor conditions such as weather, light, or noise. Collecting a new dataset from a test distribution for fine-tuning highly costs since sensor degradation occurs unexpectedly and has a range of variety. Thus, we investigate test-time adaptation (TTA) of zero-shot classification, which enables on-the-fly adaptation to the test distribution with unlabeled test data. Existing TTA methods for CLIP mainly focus on modifying image and text embeddings or predictions to address distribution shifts. Although these methods can adapt to domain shifts, such as fine-grained labels spaces or different renditions in input images, they fail to adapt to distribution shifts caused by sensor degradation. We found that this is because image embeddings are "corrupted" in terms of uniformity, a measure related to the amount of information. To make models robust to sensor degradation, we propose a novel method called uniformity-aware information-balanced TTA (UnInfo). To address the corruption of image embeddings, we introduce uniformity-aware confidence maximization, information-aware loss balancing, and knowledge distillation from the exponential moving average (EMA) teacher. Through experiments, we demonstrate that our UnInfo improves accuracy under sensor degradation by retaining information in terms of uniformity.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。