Learning Alignment for Multimodal Emotion Recognition from Speech

Haiyang Xu, Hui Zhang, Kun Han, Yun Wang, Yiping Peng, Xiangang Li

Abstract

Speech emotion recognition is a challenging problem because humans convey emotions in subtle and complex ways. For emotion recognition on human speech, one can either extract emotion-related features from audio signals or employ speech recognition techniques to generate text from speech and then apply natural language processing to analyze the sentiment. Further, while emotion recognition benefits from using audio-textual multimodal information, it is not trivial to build a system to learn from multimodality. One can build models for two input sources separately and combine them at a decision level, but this method ignores the interaction between speech and text in the temporal domain. In this paper, we propose to use an attention mechanism to learn the alignment between speech frames and text words, aiming to produce more accurate multimodal feature representations. The aligned multimodal features are fed into a sequential model for emotion recognition. We evaluate the approach on the IEMOCAP dataset, and the experimental results show the proposed approach achieves state-of-the-art performance.

Introduction

Human emotion in speech is conveyed through two primary channels: prosody (how something is said—tone, pitch, rhythm) and semantics (what is actually said). While researchers have tried combining audio features with text analysis, most systems simply concatenate the two at the very end (decision-level fusion).

The challenge is that audio and text operate on different timescales: a single word might span dozens of audio frames. Standard "hard alignment" usually requires specialized Automatic Speech Recognition (ASR) data that isn't always available. This work seeks a way to learn this temporal relationship "softly" and end-to-end, specifically optimized for identifying emotion rather than just transcribing words.

Methods

The proposed multimodal architecture consists of three main components:

  1. Speech Encoder: A bidirectional Long Short-Term Memory (BiLSTM) network processes low-level acoustic features (MFCCs, zero-crossing rates, spectral spread) extracted from 20ms audio frames.
  2. Text Encoder: A BiLSTM processes word embeddings (pre-trained GloVe vectors) derived from text generated via the Google Cloud Speech API to simulate real-world scenarios.
  3. Attention-Based Alignment & Fusion: Instead of using fixed timestamps, an attention mechanism calculates alignment weights between words and speech frames. It creates a weighted summary of speech frames for each specific word.
  4. Sequence Classification: These aligned multimodal features are fed into a final BiLSTM, followed by max-pooling and a softmax layer for emotion classification.
Proposed multimodal architecture with attention-based alignment between speech and text features.

Experimental Setup

The model was evaluated on the IEMOCAP (Interactive Emotional Dyadic Motion Capture) database, focusing on four emotional categories: angry, happy, neutral, and sad. To simulate real-world conditions, text was generated using the Google Cloud Speech API, which yielded a Word Error Rate (WER) of 14.7%.

Key Results and Discussion

The system was evaluated using Weighted Accuracy (WA) and Unweighted Accuracy (UA). As shown in the results, the multimodal approach significantly outperforms unimodal baselines.

Experimental results comparing the proposed multimodal model with unimodal and state-of-the-art baselines on the IEMOCAP dataset.
  • Learned Alignment vs. Hard Alignment: The model performed better when learning its own alignment via attention than when forced to use "hard" ground-truth timing. This suggests that emotional cues in audio may not perfectly overlap with phonetic word boundaries.
  • Robustness to ASR Errors: Despite a 14.7% WER, the system achieved high accuracy (70.4% WA), indicating that multimodal fusion can compensate for noisy text by leveraging the audio signal.
  • State-of-the-Art Performance: When provided with "Oracle" (human-corrected) transcripts, the model reached 72.5% WA, setting a new benchmark for the dataset at the time of publication.

Conclusion

This paper demonstrates that an attention-based alignment mechanism effectively fuses audio and textual information for emotion recognition. By learning temporal relationships end-to-end, the model achieves superior performance and robustness to ASR errors. Future work will explore the computational complexity of these nested BiLSTMs and the model's generalization to more diverse, "in-the-wild" datasets.

Summary updated

BibTeX
@inproceedings{xu2019learning,
  author = {Haiyang Xu and Hui Zhang and Kun Han and Yun Wang and Yiping Peng and Xiangang Li},
  title = {{Learning Alignment for Multimodal Emotion Recognition from Speech}},
  booktitle = {Interspeech},
  year = {2019},
  url = {https://openreview.net/forum?id=uxIBB5prbJN},
}
Figure