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

面向视觉-语言模型更新的兼容性微调研究

Towards Compatible Fine-tuning for Vision-Language Model Updates

University of Science and Technology of China(中国科学技术大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Nanjing University(南京大学)

Zhengbo Wang, Jian Liang, Lijun Sheng, Ran He, Zilei Wang, Tieniu Tan

AI总结:

本文针对基础模型更新后即插即用微调模块失效的问题,提出类条件上下文优化方法ContCoOp,通过注意力层融合可学习提示与类嵌入,在15个数据集上验证了其最高的模型更新兼容性和鲁棒的分布外泛化能力。

摘要:

迄今为止,高效微调已成为一种流行策略,通过学习即插即用模块来增强基础模型在下游任务上的能力。然而,现有方法忽视了一个关键问题:如果底层基础模型被更新,这些即插即用模块是否仍然有效?在本文中,我们首先对CLIP上的各种微调方法在模型更新兼容性方面进行了详细分析。研究表明,许多高性能微调方法无法与升级后的模型兼容。为了解决这一问题,我们提出了一种新方法,即类条件上下文优化(ContCoOp),该方法在将可学习提示输入文本编码器之前,利用注意力层将其与类嵌入进行整合。因此,提示能够动态适应嵌入空间的变化(由于模型更新),确保持续有效性。在15个数据集上的大量实验表明,我们的ContCoOp在基线方法中实现了最高的兼容性,并展现出鲁棒的分布外泛化能力。

英文摘要:

So far, efficient fine-tuning has become a popular strategy for enhancing the capabilities of foundation models on downstream tasks by learning plug-and-play modules. However, existing methods overlook a crucial issue: if the underlying foundation model is updated, are these plug-and-play modules still effective? In this paper, we first conduct a detailed analysis of various fine-tuning methods on the CLIP in terms of their compatibility with model updates. The study reveals that many high-performing fine-tuning methods fail to be compatible with the upgraded models. To address this, we propose a novel approach, Class-conditioned Context Optimization (ContCoOp), which integrates learnable prompts with class embeddings using an attention layer before inputting them into the text encoder. Consequently, the prompts can dynamically adapt to the changes in embedding space (due to model updates), ensuring continued effectiveness. Extensive experiments over 15 datasets show that our ContCoOp achieves the highest compatibility over the baseline methods, and exhibits robust out-of-distribution generalization.

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

↑