[论文解读] Cross-Modal Adapter for Vision-Language Retrieval
本文提出 Cross-Modal Adapter,一种用于视觉-语言检索的参数高效方法,通过在 CLIP 中共享视觉与语言适配器之间的权重,实现在 O(N) 复杂度下实现早期跨模态交互,将微调参数量减少 99.6%,同时在五个文本-视频检索数据集上的性能达到或超过完全微调的基线模型。
Vision-language retrieval is an important multi-modal learning topic, where the goal is to retrieve the most relevant visual candidate for a given text query. Recently, pre-trained models, e.g., CLIP, show great potential on retrieval tasks. However, as pre-trained models are scaling up, fully fine-tuning them on donwstream retrieval datasets has a high risk of overfitting. Moreover, in practice, it would be costly to train and store a large model for each task. To overcome the above issues, we present a novel Cross-Modal Adapter for parameter-efficient transfer learning. Inspired by adapter-based methods, we adjust the pre-trained model with a few parameterization layers. However, there are two notable differences. First, our method is designed for the multi-modal domain. Secondly, it allows encoder-level implicit cross-modal interactions between vision and language encoders. Although surprisingly simple, our approach has three notable benefits: (1) reduces the vast majority of fine-tuned parameters, (2) saves training time, and (3) allows all the pre-trained parameters to be fixed, enabling the pre-trained model to be shared across datasets. Extensive experiments demonstrate that, without bells and whistles, our approach outperforms adapter-based methods on image-text retrieval datasets (MSCOCO, Flickr30K) and video-text retrieval datasets (MSR-VTT, DiDeMo, and ActivityNet).
研究动机与目标
- 解决在微调大型预训练模型(如 CLIP)进行文本-视频检索时出现的过拟合和高计算成本问题。
- 在不增加计算复杂度至 O(N²) 的前提下,实现早期跨模态交互。
- 设计一种参数高效的微调方法,使预训练模型可在多个数据集间共享使用。
- 在仅使用极少可训练参数的情况下,超越基于提示和完全微调的方法在检索准确率上的表现。
提出的方法
- 引入一种跨模态适配器模块,共享 CLIP 中视觉与语言适配器头之间的权重。
- 采用瓶颈结构并结合低秩投影,以减少参数量,同时支持跨模态交互。
- 通过共享适配器权重实现隐式跨模态交互,保持 O(N) 复杂度,而非增加至 O(N²)。
- 固定所有预训练的 CLIP 参数,仅微调适配器模块,实现最小程度的微调。
- 在模态之间采用权重共享机制,对齐视觉与语言特征空间以实现检索。
- 将适配器应用于文本和视频编码器,实现模态表示的早期融合。
实验结果
研究问题
- RQ1是否可以通过参数高效的适配器方法,在不增加计算成本的前提下,实现在视觉-语言检索中的有效早期跨模态交互?
- RQ2视觉与语言编码器之间共享的适配器机制是否能在减少可训练参数的同时提升检索性能?
- RQ3所提出的方法是否在文本-视频检索基准上超越基于提示和完全微调的方法?
- RQ4瓶颈结构和权重共享维度的选择如何影响模型性能与参数效率?
主要发现
- 在 MSR-VTT 数据集上,微调参数量从 123.52M 减少至 0.52M,实现了 99.6% 的减少。
- 该方法在所有五个数据集(MSR-VTT、MSVD、VATEX、ActivityNet、DiDeMo)上均优于所有基于提示的方法,并与完全微调的 CLIP4Clip 基线模型表现相当或更优。
- 与完全微调方法相比,训练时间减少了约 30%。
- 该模型避免了过拟合现象,性能在训练损失最小时达到峰值,而完全微调模型在早期训练周期后性能开始下降。
- 消融实验表明,在 MSR-VTT 上,瓶颈维度 r=8 和权重共享维度 ds=16 时性能最优。
- 可视化结果证实,模型对时间关系、动作以及局部视觉对象的理解得到改善,检索结果更具语义一致性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。