UPDF AI

Decoupling the Role of Data, Attention, and Losses in Multimodal Transformers

Lisa Anne Hendricks,John F. J. Mellor,2 Authors,Aida Nematzadeh

2021 · DOI: 10.1162/tacl_a_00385
Transactions of the Association for Computational Linguistics · 125 Citations

TLDR

It is learned that models with a multimodal attention mechanism can outperform deeper models with modality-specific attention mechanisms and that successful contrastive losses used in the self-supervised learning literature do not yield similar performance gains when used in multi-modal transformers.

Abstract

Abstract Recently, multimodal transformer models have gained popularity because their performance on downstream tasks suggests they learn rich visual-linguistic representations. Focusing on zero-shot image retrieval tasks, we study three important factors that can impact the quality of learned representations: pretraining data, the attention mechanism, and loss functions. By pretraining models on six datasets, we observe that dataset noise and language similarity to our downstream task are important indicators of model performance. Through architectural analysis, we learn that models with a multimodal attention mechanism can outperform deeper models with modality-specific attention mechanisms. Finally, we show that successful contrastive losses used in the self-supervised learning literature do not yield similar performance gains when used in multimodal transformers.