arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.02236cs.CVcs.AIcs.CLcs.LG
收藏

面向领域泛化的视觉-语言模型鲁棒微调

Robust Fine-Tuning of Vision-Language Models for Domain Generalization

MIT Lincoln Laboratory(麻省理工学院林肯实验室)

Kevin Vogt-Lowell, Noah Lee, Theodoros Tsiligkaridis, Marc Vaillant

AI总结:

针对现有基础模型零样本评估场景简单、少样本微调缺乏对比的问题,提出CLIP的少样本微调方案,在WILDS基准上验证其在各数据量下分布内外准确率均优于纯视觉模型,为真实少样本场景应用基础模型提供依据。

摘要:

迁移学习能够让模型在各类下游任务间共享通用知识,但传统方法在训练数据有限的场景下表现不佳,且生成的模型适用范围窄,无法在分布偏移下有效泛化。近期,基础模型展现出出色的零样本推理能力以及分布偏移下的鲁棒性。然而,这类模型的零样本评估大多局限于存在简单分布偏移的基准测试,限制了我们对其在实际场景中更真实偏移下有效性的认知。此外,在训练数据有限的少样本场景中,这类模型的常用微调方法尚未与视觉模型展开对比评估。为填补这些空白,我们针对主流视觉-语言基础模型CLIP(对比语言-图像预训练模型)提出了一种全新的少样本微调方案,并在WILDS集合中包含真实分布偏移的高难度基准数据集上评估其性能。实验表明,尽管零样本CLIP在更复杂的基准上无法达到已训练视觉模型的性能,但在所有训练数据可用量级下,少样本微调的CLIP在分布内与分布外准确率上均优于仅视觉的同类模型。这为在处理真实世界数据的少样本学习应用中采用基础模型提供了有力依据。代码可在https://github.com/mit-ll/robust-vision-language-finetuning 获取。

英文摘要:

Transfer learning enables the sharing of common knowledge among models for a variety of downstream tasks, but traditional methods suffer in limited training data settings and produce narrow models incapable of effectively generalizing under distribution shifts. Foundation models have recently demonstrated impressive zero-shot inference capabilities and robustness under distribution shifts. However, zero-shot evaluation for these models has been predominantly confined to benchmarks with simple distribution shifts, limiting our understanding of their effectiveness under the more realistic shifts found in practice. Moreover, common fine-tuning methods for these models have yet to be evaluated against vision models in few-shot scenarios where training data is limited. To address these gaps, we present a new recipe for few-shot fine-tuning of the popular vision-language foundation model CLIP and evaluate its performance on challenging benchmark datasets with realistic distribution shifts from the WILDS collection. Our experimentation demonstrates that, while zero-shot CLIP fails to match performance of trained vision models on more complex benchmarks, few-shot CLIP fine-tuning outperforms its vision-only counterparts in terms of in-distribution and out-of-distribution accuracy at all levels of training data availability. This provides a strong incentive for adoption of foundation models within few-shot learning applications operating with real-world data. Code is available at https://github.com/mit-ll/robust-vision-language-finetuning

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

↑