Multimodal Affective Analysis Using Hierarchical Attention Strategy with Word-Level Alignment

Yue Gu, Kangning Yang, Shiyu Fu, Shuhong Chen, Xinyu Li, Ivan Marsic

Abstract

Recognizing human sentiment and emotion is a complex task due to the multimodal and non-linear nature of human expression. This paper introduces a deep hierarchical multimodal architecture that synchronizes text and audio at the word level. By utilizing a multi-level attention mechanism that focuses on informative audio frames and key words, the proposed model achieves state-of-the-art results on several benchmarks. Furthermore, the architecture provides visual interpretability, allowing researchers to identify specific words and vocal cues that drive affective predictions.

Introduction

Affective computing faces two primary challenges: the reliance on low-level handcrafted features that fail to capture high-level affective states, and the use of coarse fusion methods that ignore time-dependent interactions. Traditional models often fuse modalities at the utterance level, missing crucial context provided by prosody and tone at the word level. For instance, vocal emphasis on a single word can entirely flip the sentiment of a sentence. This work addresses these gaps by proposing a word-level alignment strategy and a hierarchical attention framework.

Methodology

The proposed architecture consists of three core components: word-level alignment, hierarchical attention modules, and advanced fusion strategies.

Word-Level Alignment and Hierarchical Attention

The system uses aeneas for forced alignment to map audio time intervals to individual words. The text branch processes word2vec embeddings through a Bidirectional Gated Recurrent Unit (Bi-GRU) and a word-level attention mechanism. The audio branch is hierarchical: it first applies frame-level attention to Mel-frequency spectral coefficients (MFSC) to generate word-level acoustic vectors, followed by a word-level Bi-GRU and attention layer.

Overview of the Hierarchical Multimodal Architecture featuring word-level alignment and attention modules.

Fusion Strategies

The researchers explored three fusion methods to merge textual and acoustic signals:

  1. Horizontal Fusion (HF): Simple concatenation of unimodal features.
  2. Vertical Fusion (VF): Employs a shared attention distribution across modalities.
  3. Fine-tuning Attention Fusion (FAF): The most sophisticated approach, utilizing a trainable attention layer to learn complex cross-modal associations.
Detailed view of the Fine-tuning Attention Fusion (FAF) strategy, which uses a trainable attention layer to tune shared distributions.

The final fused vectors are processed by a Convolutional Neural Network (CNN) and a softmax layer for classification.

Experimental Results

The model was evaluated on four benchmarks: MOSI, YouTube, IEMOCAP, and EmotiW.

Performance Benchmarks

The FAF variant set new performance standards:

  • Sentiment (MOSI): Achieved 76.4% weighted accuracy, surpassing the previous state-of-the-art (TFN at 75.2%).
  • Emotion (IEMOCAP): Reached 72.7% weighted accuracy on the 4-class task, significantly improving over traditional SVM-based methods.
  • Generalization: The model maintained 66.2% accuracy when trained on MOSI and tested on the YouTube dataset, demonstrating robustness to different recording environments.

Key Insights

  • Modality Strengths: While text is dominant for sentiment (what is said), audio is critical for emotion (how it is said). On IEMOCAP, audio-only models outperformed text-only counterparts.
  • Interpretability: Visualizing attention weights confirmed that the model focuses on emotional anchors (e.g., words like "hell").
  • Efficiency: Using GRUs instead of LSTMs reduced trainable parameters by 25% without sacrificing performance.

Conclusion and Future Work

This research demonstrates the efficacy of word-level alignment and hierarchical attention in multimodal affective analysis. While the model shows strong performance, future work will address challenges such as modality dependency and alignment in noisy environments. The authors also plan to incorporate visual data, such as facial expressions, to extend the framework into a tri-modal system.

Summary updated

BibTeX
@inproceedings{gu2018multimodal,
  author = {Yue Gu and Kangning Yang and Shiyu Fu and Shuhong Chen and Xinyu Li and Ivan Marsic},
  title = {{Multimodal Affective Analysis Using Hierarchical Attention Strategy with Word-Level Alignment}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/p18-1207},
}
Figure