Skip to main content
QUICK REVIEW

[论文解读] Meta Learning to Bridge Vision and Language Models for Multimodal Few-Shot Learning

Ivona Najdenkoska, Xiantong Zhen|arXiv (Cornell University)|Feb 28, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 8
一句话总结

该论文提出了一种多模态少样本元学习框架,使用轻量级元映射器连接冻结的视觉模型(CLIP ViT)和语言模型(GPT-2),实现数据驱动的任务诱导和在少量梯度更新下的快速适应。情节式训练在提升跨域与同域表现的同时保持计算高效。

ABSTRACT

Multimodal few-shot learning is challenging due to the large domain gap between vision and language modalities. Existing methods are trying to communicate visual concepts as prompts to frozen language models, but rely on hand-engineered task induction to reduce the hypothesis space. To make the whole process learnable, we introduce a multimodal meta-learning approach. Specifically, our approach decomposes the training of the model into a set of related multimodal few-shot tasks. We define a meta-mapper network, acting as a meta-learner, to efficiently bridge frozen large-scale vision and language models and leverage their already learned capacity. By updating the learnable parameters only of the meta-mapper, it learns to accrue shared meta-knowledge among these tasks. Thus, it can rapidly adapt to newly presented samples with only a few gradient updates. Importantly, it induces the task in a completely data-driven manner, with no need for a hand-engineered task induction. We evaluate our approach on recently proposed multimodal few-shot benchmarks, measuring how rapidly the model can bind novel visual concepts to words and answer visual questions by observing only a limited set of labeled examples. The experimental results show that our meta-learning approach outperforms the baseline across multiple datasets and various training settings while being computationally more efficient.

研究动机与目标

  • 通过降低对手工设计任务提示的依赖,推动多模态少样本设定下的快速适应。
  • 引入一个在冻结的视觉与语言骨干之间的可学习、数据驱动的桥梁(元映射器)。
  • 证明通过相关多模态任务的元学习可获得可迁移的元知识以应对新任务。
  • 在若干多模态基准上展示强大且计算高效的性能。

提出的方法

  • 三模块架构:冻结的视觉编码器(CLIP ViT-32)、冻结的语言模型(GPT-2)及其嵌入层,以及一个可训练的元映射器。
  • 视觉前缀创建:元映射器将视觉特征映射到一组可训练的前缀标记,供语言模型使用(基于自注意力)。
  • 元学习设置:内循环用少量梯度步奏自适应任务特定参数;外循环在任务之间更新共享元参数。
  • 自回归生成:语言模型在学习到的视觉前缀与生成的标记条件下生成输出;推理时使用前核采样(top-k nucleus sampling)。
  • 训练协议:对多模态任务分布进行情节化元训练;数据集重新组织成N-路任务、k-shot任务;在未见任务上进行元测试。
  • 实现细节:CLIP-ViT 与 GPT-2;4个可训练元前缀标记,维度为768;内循环5步;元更新使用 AdamW;总参数约为2百万。

实验结果

研究问题

  • RQ1一个数据驱动的元学习者能否连接冻结的视觉与语言骨干,以实现对少量标签的快速多模态适应?
  • RQ2情节式、任务级元训练是否相比手工设计的任务诱导在跨域与同域多模态少样本性能上更优?
  • RQ3元知识积累、元映射器架构和内循环优化对最终准确性的影响如何?
  • RQ4与完全可训练的大型多模态模型相比,该方法的计算效率是否更高?

主要发现

  • 所提出的情节式多模态元学习器在多个基准与设置中均优于 Frozen 基线。
  • 在元映射器中积累元知识至关重要;清除元知识会降低在各数据集上的表现。
  • 基于自注意力的元映射器显著优于MLP变体,突出选择性特征聚合的重要性。
  • 带学习到的视觉前缀的开放式多模态生成取得强结果,避免了手工设计的任务诱导。
  • 增加不同类型的样本数比重复相同样本更有益,强调多样的支持样本价值。
  • 跨域与同域设置下的元训练展示出鲁棒性和在少梯度的情况下更快的适应性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。