Improving Multimodal Sentiment Analysis: Supervised Angular margin-based Contrastive Learning for Enhanced Fusion Representation

Cong-Duy Nguyen, Thong Nguyen, Duc Anh Vu, Anh Tuan Luu

Abstract

The effectiveness of a model is heavily reliant on the quality of the fusion representation of multiple modalities in multimodal sentiment analysis. Moreover, each modality is extracted from raw input and integrated with the rest to construct a multimodal representation. Although previous methods have proposed multimodal representations and achieved promising results, most of them focus on forming positive and negative pairs, neglecting the variation in sentiment scores within the same class. Additionally, they fail to capture the significance of unimodal representations in the fusion vector. To address these limitations, we introduce a framework called Supervised Angular-based Contrastive Learning for Multimodal Sentiment Analysis. This framework aims to enhance discrimination and generalizability of the multimodal representation and overcome biases in the fusion vector’s modality. Our experimental results, along with visualizations on two widely used datasets, demonstrate the effectiveness of our approach.

Introduction: The Complexity of Human Emotion

Multimodal Sentiment Analysis (MSA) aims to understand human emotion by fusing three distinct data streams: text (transcripts), visual (facial expressions), and acoustic (tone of voice). However, current models face two major hurdles that prevent them from reaching human-level understanding.

First, Sentiment Intensity Variance is often ignored. Traditional contrastive learning treats all positive samples as identical. In reality, a "slightly happy" video and an "ecstatically happy" video are very different. Treating them as the same point in a feature space leads to "blurry" representations. Second, Modality Bias often leads models to over-rely on text. If a transcript says "That's good," but the speaker is using a sarcastic tone and rolling their eyes, a text-heavy model will fail.

Figure 5: Examples of multimodal sentiment where visual and acoustic cues modify the intensity and polarity of the textual sentiment.

Proposed Methodology

The researchers introduced a framework with two novel training objectives designed to "sharpen" the model’s internal representations:

1. Supervised Angular Margin-based Contrastive Learning (SupArc)

Instead of just pushing positive and negative samples apart, SupArc uses an angular margin. Crucially, it incorporates the difference in sentiment scores between samples. If two samples have very different scores, the model is forced to place them further apart in the angular feature space, even if they both belong to the same class. This ensures that the distance between features in the model reflects the distance in human-labeled sentiment scores.

2. Triplet Modalities Triplet Loss ($L_{tri}$)

This is a self-supervised task designed to make the fusion representation more robust. During training, the model "masks" (hides) one or two modalities. It then learns to ensure that a representation with one missing modality stays closer to the "complete" representation than one with two missing modalities. This bridges the gap between partial and full data, preventing the model from becoming overly dependent on a single source like text.

Experimental Results

The model was evaluated on two gold-standard datasets: CMU-MOSI (2,198 movie review clips) and CMU-MOSEI (over 23,000 video segments). The proposed model outperformed several high-profile baselines, including MISA, MAG-BERT, and MIMM.

  • Accuracy & Error: On the CMU-MOSI dataset, the model achieved a Mean Absolute Error (MAE) of 0.679, a significant improvement over the previous state-of-the-art (0.700).
  • Correlation: It showed a higher Pearson Correlation (0.806), indicating its predictions track much more closely with human intuition across the -3 to +3 scale.
  • Ablation Success: Testing showed that removing either the SupArc loss or the Triplet Modality loss led to a drop in performance, proving that both intensity awareness and modality robustness are essential.

Conclusion

By treating sentiment as a spectrum rather than a binary and forcing the model to remain robust against missing modalities, this framework sets a new benchmark for MSA. While currently focused on the [-3, 3] sentiment range, future research could extend this to multi-class emotion recognition, such as distinguishing between "angry" and "sad" states. The implementation has been made publicly available to encourage further development in emotional AI applications.

Summary updated

BibTeX
@inproceedings{nguyen2023improving,
  author = {Cong-Duy Nguyen and Thong Nguyen and Duc Anh Vu and Anh Tuan Luu},
  title = {{Improving Multimodal Sentiment Analysis: Supervised Angular margin-based Contrastive Learning for Enhanced Fusion Representation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=PDB4qDzMt6},
}
Figure