arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.08255cs.CV
收藏

利用视觉-语言模型提升图像分类中的域泛化能力

Leveraging Vision-Language Models for Improving Domain Generalization in Image Classification

Indian Institute of Science(印度科学学院)

Sravanti Addepalli, Ashish Ramayee Asokan, Lakshay Sharma, R. Venkatesh Babu

AI总结:

针对黑盒VLM蒸馏难以迁移分布外泛化能力的问题,提出VL2V-ADiP方法,通过模态对齐与蒸馏融合VLM的泛化特性,在域泛化基准的黑盒与白盒设置下均取得最优结果。

摘要:

诸如CLIP之类的视觉-语言模型(Vision-Language Models, VLMs)在大量图文对上训练,因此在多种数据分布上展现出出色的泛化能力。但在很多场景下,这类模型高昂的训练成本与数据收集/整理成本,和最终应用的收益并不匹配。这催生了一种供应商-客户范式:供应商训练大规模VLM,在黑盒设置下按查询次数向客户收费,客户仅能获得模型的输入输出访问权限。客户的目标是利用有限的可用任务特定数据,将VLM蒸馏到学生模型中以降低推理成本,再将该学生模型部署到下游应用中。 虽然朴素蒸馏能大幅提升学生模型的域内(In-Domain, ID)准确率,但在可用标注图像有限的情况下,它无法迁移VLM教师模型优异的分布外(out-of-distribution, OOD)泛化能力。为解决这一问题,我们提出视觉-语言到视觉-对齐、蒸馏、预测(Vision-Language to Vision - Align, Distill, Predict, VL2V-ADiP)方法:该方法首先将教师模型的视觉与语言模态,和预训练学生模型的视觉模态进行对齐,再将对齐后的VLM表示蒸馏到学生模型中。这一方式既最大程度保留了学生模型的预训练特征,又融合了VLM图像编码器的丰富表示与文本嵌入的优异泛化能力。 所提方法在标准域泛化基准上,无论是黑盒教师设置(仅能访问VLM输入输出)还是白盒设置(可访问VLM权重),均取得了当前最优(state-of-the-art)结果。

英文摘要:

Vision-Language Models (VLMs) such as CLIP are trained on large amounts of image-text pairs, resulting in remarkable generalization across several data distributions. However, in several cases, their expensive training and data collection/curation costs do not justify the end application. This motivates a vendor-client paradigm, where a vendor trains a large-scale VLM and grants only input-output access to clients on a pay-per-query basis in a black-box setting. The client aims to minimize inference cost by distilling the VLM to a student model using the limited available task-specific data, and further deploying this student model in the downstream application. While naive distillation largely improves the In-Domain (ID) accuracy of the student, it fails to transfer the superior out-of-distribution (OOD) generalization of the VLM teacher using the limited available labeled images. To mitigate this, we propose Vision-Language to Vision - Align, Distill, Predict (VL2V-ADiP), which first aligns the vision and language modalities of the teacher model with the vision modality of a pre-trained student model, and further distills the aligned VLM representations to the student. This maximally retains the pre-trained features of the student, while also incorporating the rich representations of the VLM image encoder and the superior generalization of the text embeddings. The proposed approach achieves state-of-the-art results on the standard Domain Generalization benchmarks in a black-box teacher setting as well as a white-box setting where the weights of the VLM are accessible.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑