Integrating Multimodal Information in Large Pretrained Transformers

Wasifur Rahman, Md. Kamrul Hasan, Sangwu Lee, Amir Zadeh, Chengfeng Mao +2 more
8/15/2019
cs.LGcs.CLstat.ML
transformer-attention

Official code: WasifurRahman/BERT_multimodal_transformer (219 stars, Python, last commit 2021-12-05).

Abstract

Recent Transformer-based contextual word representations, including BERT and XLNet, have shown state-of-the-art performance in multiple disciplines within NLP. Fine-tuning the trained contextual models on task-specific datasets has been the key to achieving superior performance downstream.

Show full abstract

While fine-tuning these pre-trained models is straightforward for lexical applications (applications with only language modality), it is not trivial for multimodal language (a growing area in NLP focused on modeling face-to-face communication). Pre-trained models don't have the necessary components to accept two extra modalities of vision and acoustic. In this paper, we proposed an attachment to BERT and XLNet called Multimodal Adaptation Gate (MAG). MAG allows BERT and XLNet to accept multimodal nonverbal data during fine-tuning. It does so by generating a shift to internal representation of BERT and XLNet; a shift that is conditioned on the visual and acoustic modalities. In our experiments, we study the commonly used CMU-MOSI and CMU-MOSEI datasets for multimodal sentiment analysis. Fine-tuning MAG-BERT and MAG-XLNet significantly boosts the sentiment analysis performance over previous baselines as well as language-only fine-tuning of BERT and XLNet. On the CMU-MOSI dataset, MAG-XLNet achieves human-level multimodal sentiment analysis performance for the first time in the NLP community.

View on arXivView PDF

Code Implementations(1)

21931Python, Jupyter NotebookMay 6, 20194 years ago

Similar Papers

Cite this paper

@article{rahman2019integrating,
  title  = {Integrating Multimodal Information in Large Pretrained Transformers},
  author = {Wasifur Rahman and Md. Kamrul Hasan and Sangwu Lee and Amir Zadeh and Chengfeng Mao and Louis-Philippe Morency and Ehsan Hoque},
  year   = {2019},
  eprint = {1908.05787},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.05787}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1908.05787.svg)](https://codeofpaper.com/paper/1908.05787)

Discussion