Skip to main content
QUICK REVIEW

[论文解读] MaMMUT: A Simple Architecture for Joint Learning for MultiModal Tasks

Weicheng Kuo, AJ Piergiovanni|arXiv (Cornell University)|Mar 29, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 9
一句话总结

MaMMUT 使用单阶段解码器的多模态模型,通过两轮训练策略以一个共享解码器共同学习对比和自回归生成任务。

ABSTRACT

The development of language models have moved from encoder-decoder to decoder-only designs. In addition, we observe that the two most popular multimodal tasks, the generative and contrastive tasks, are nontrivial to accommodate in one architecture, and further need adaptations for downstream tasks. We propose a novel paradigm of training with a decoder-only model for multimodal tasks, which is surprisingly effective in jointly learning of these disparate vision-language tasks. This is done with a simple model, called MaMMUT. It consists of a single vision encoder and a text decoder, and is able to accommodate contrastive and generative learning by a novel two-pass approach on the text decoder. We demonstrate that joint learning of these diverse objectives is simple, effective, and maximizes the weight-sharing of the model across these tasks. Furthermore, the same architecture enables straightforward extensions to open-vocabulary object detection and video-language tasks. The model tackles a diverse range of tasks, while being modest in capacity. Our model achieves the state of the art on image-text and text-image retrieval, video question answering and open-vocabulary detection tasks, outperforming much larger and more extensively trained foundational models. It shows very competitive results on VQA and Video Captioning, especially considering its capacity. Ablations confirm the flexibility and advantages of our approach.

研究动机与目标

  • 推动统一的视觉-语言预训练,支持对比学习和自回归生成任务。
  • 开发一个简单的、共享参数的架构,最大化任务之间的权重共享。
  • 在不增加架构冗余的前提下,便于向视频语言任务和开放词汇检测的简易扩展。

提出的方法

  • 使用单一图像编码器(视觉变换器)和一个带跨注意力的文本解码器进行多模态融合。
  • 引入两遍训练方案:(i) 非因果通道用于对比学习且不显示图像;(ii) 带跨注意力的因果通道用于字幕生成。
  • 采用一个共享解码器、无任务特定头的结构,依赖文本词汇嵌入来支撑两种目标。
  • 采用 Localization-aware 对比损失(focused 对比损失)和字幕生成损失,合并为统一的总损失(方程5)。
  • 在网页替代文本数据集上以 Cropped Positional Embeddings 进行定位预训练,然后通过 TubeViT 将视频扩展,几乎不需要改动。

实验结果

研究问题

  • RQ1一个只有解码器的视觉-语言模型,具备单一图像编码器和文本解码器,是否能有效地同时学习对比学习和自回归生成任务?
  • RQ2两阶段训练策略是否允许在对比与生成目标之间无缝共享解码器权重?
  • RQ3在不进行架构修改的前提下,同一架构是否也能扩展到视频语言任务和开放词汇检测?

主要发现

  • MaMMUT 在 MS COCO 和 Flickr30K 上实现了零样本图文检索的先进水平,使用 6.3 亿参数模型。
  • 在 VQA 任务中,MaMMUT 以开放式生成达到 80.8 的准确率,与更大模型相比具有竞争力且参数更少。
  • 在 VideoQA 方面,MaMMUT 使用仅图文的预训练,在 MSRVTT-QA 和 MSVD-QA 上超越当前最好方法,参数远少于 Flamingo/GIT2。
  • 在视频字幕生成方面,MaMMUT 在 MSVD 上表现强劲,在 MSRVTT 上具有竞争力,尽管未在专门的视频-文本预训练上进行训练。
  • 该模型能够有效地支持开放词汇检测,利用定位感知的对比目标。

阅读本论文

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

在 Nubint 中阅读本论文

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