Multimodal Transformer for Unaligned Multimodal Language Sequences

Yao-Hung Hubert Tsai, Shaojie Bai, Paul Pu Liang, J. Zico Kolter, Louis-Philippe Morency, Ruslan Salakhutdinov

Abstract

Human language is often multimodal, which comprehends a mixture of natural language, facial gestures, and acoustic behaviors. However, two major challenges in modeling such multimodal human language time-series data exist: 1) inherent data non-alignment due to variable sampling rates for the sequences from each modality; and 2) long-range dependencies between elements across modalities. In this paper, we introduce the Multimodal Transformer (MulT) to generically address the above issues in an end-to-end manner without explicitly aligning the data. At the heart of our model is the directional pairwise crossmodal attention, which attends to interactions between multimodal sequences across distinct time steps and latently adapt streams from one modality to another. Comprehensive experiments on both aligned and non-aligned multimodal time-series show that our model outperforms state-of-the-art methods by a large margin. In addition, empirical analysis suggests that correlated crossmodal signals are able to be captured by the proposed crossmodal attention mechanism in MulT.

1. Introduction

Human communication is a rich tapestry of spoken words, facial expressions, and vocal tones. However, modeling this "multimodal" data is notoriously difficult because the different streams are often unaligned. Imagine a video of a movie review: the audio might be sampled at 12.5Hz, the video at 15Hz, and the text consists of discrete words.

Traditionally, researchers solved this by "word-aligning" the data—manually stretching or averaging the video and audio features to match the timing of each spoken word. This process is not only labor-intensive and dependent on domain knowledge, but it also destroys long-range dependencies (e.g., a frown that happens seconds after a specific word is spoken). The Multimodal Transformer (MulT) is designed to learn directly from these asynchronous, unaligned sequences by treating alignment as an attention problem.

Comparison between pre-defined word-level alignment and the proposed crossmodal attention mechanism.

2. The Multimodal Transformer (MulT) Architecture

The core innovation of MulT is the Directional Pairwise Crossmodal Attention. Instead of standard self-attention within a single modality, MulT latently adapts features from one modality to another.

2.1 Temporal Convolutions

Since modalities have different sampling rates and feature dimensions, the model first passes each through a 1D temporal convolution. This projects them into a common dimension ($d$) while capturing local neighborhood context, ensuring that the sequences are prepared for the attention mechanism despite their varying origins.

2.2 Crossmodal Attention Blocks

This is the central component of the architecture. For any two modalities (e.g., Vision and Language), the model uses a crossmodal attention module where one modality (e.g., Language) acts as the "Query" and another (e.g., Vision) acts as the "Key" and "Value." This allows the Language stream to "pull" relevant information from the Vision stream, regardless of whether they are perfectly aligned in time.

The overall architecture of the Multimodal Transformer, showing the six directional crossmodal transformer paths and final self-attention fusion.

2.3 Full Model Flow

For the three modalities—Language (L), Vision (V), and Audio (A)—the model creates six crossmodal transformers to cover all directional pairs: $V \to L, A \to L, L \to V, A \to V, L \to A$, and $V \to A$. The outputs of these blocks are concatenated and passed through a final self-attention transformer to collect global temporal information before making a final prediction, such as a sentiment score or emotion label.

3. Experiments and Results

The model was evaluated on three major human multimodal language benchmarks: CMU-MOSI (sentiment), CMU-MOSEI (large-scale sentiment), and IEMOCAP (emotion recognition). The authors tested on both "Word-Aligned" versions and the more challenging "Unaligned" versions.

3.1 Performance and Robustness

MulT outperformed all previous methods on almost all metrics across the three datasets. Notably, on the unaligned CMU-MOSEI dataset, MulT outperformed the previous best models (which used complex alignment techniques like Connectionist Temporal Classification) by a margin of 5% to 15%. While most models see a significant performance drop when moving from aligned to unaligned data, MulT remains remarkably stable.

3.2 Qualitative Insights

Visualization of the attention weights showed that the model successfully learned to correlate specific emotional words (like "horrible") with segments of the video containing intense facial motions, even without explicit alignment labels. This confirms that the model is indeed performing latent alignment through its attention mechanism.

4. Discussion and Conclusion

The Multimodal Transformer demonstrates that explicit alignment is not a prerequisite for effective multimodal fusion. By using crossmodal attention, the model can latently adapt one modality to another, preserving raw signal integrity and capturing long-range dependencies. While the pairwise approach increases computational complexity, its robustness to asynchrony makes it a powerful tool for real-world multimodal applications where perfect alignment is often impossible to achieve.

Summary updated

BibTeX
@inproceedings{tsai2019multimodal,
  author = {Yao-Hung Hubert Tsai and Shaojie Bai and Paul Pu Liang and J. Zico Kolter and Louis-Philippe Morency and Ruslan Salakhutdinov},
  title = {{Multimodal Transformer for Unaligned Multimodal Language Sequences}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1656},
}
Figure