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

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

Abstract

The effectiveness of multimodal sentiment analysis (MSA) models is heavily reliant on the quality of the fusion representation derived from multiple modalities. While existing methods have achieved promising results, they often neglect the variation in sentiment intensity within the same class and fail to capture the relative significance of individual unimodal representations within the fusion vector. To address these limitations, we introduce SupArc, a framework utilizing Supervised Angular-based Contrastive Learning. This framework enhances the discrimination and generalizability of multimodal representations while overcoming modality-specific biases. Experimental results on two benchmark datasets demonstrate the effectiveness of our approach in capturing nuanced sentiment and improving fusion robustness.

Introduction

In the field of Artificial Intelligence, understanding human emotion requires more than just processing text; it necessitates the integration of verbal and non-verbal cues. Multimodal Sentiment Analysis (MSA) seeks to synthesize information from text, video, and audio to provide a comprehensive understanding of a speaker's intent. However, current MSA models face two primary challenges: Sentiment Nuance Blindness, where models fail to distinguish between varying levels of sentiment intensity (e.g., "slightly positive" vs. "extremely enthusiastic"), and Modality Bias, where models over-rely on text transcripts while ignoring crucial visual or acoustic signals.

Methodology

To address these challenges, we propose two primary innovations integrated into the training objective of the SupArc framework.

1. Supervised Angular Margin-based Contrastive Learning

Traditional contrastive learning typically treats sentiment as a binary classification, pushing positive samples together and negative samples apart. SupArc introduces an angular margin to this geometric approach. By calculating the difference in sentiment scores ($\Delta_{i,j}$) between samples, the model applies a larger margin to push samples with significantly different scores further apart in the feature space, even if they share the same polarity. This ensures that the model's internal representation reflects the actual intensity of the sentiment rather than just its direction.

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

To mitigate modality bias and ensure the fusion layer values every input stream, we introduced a self-supervised "masking" task. We generate three versions of each input:

  • Complete: The full suite of Text, Video, and Audio.
  • Partially Masked: A subset of modalities (e.g., Text and Video, with Audio hidden).
  • Heavily Masked: A single modality (e.g., Audio only).

The model is trained to ensure that the representation with more information is geometrically closer to the "complete" version than the one with less information. This forces the fusion mechanism to learn the unique contribution of each individual modality.

Experimental Setup and Results

We evaluated SupArc on two gold-standard benchmarks:

  • CMU-MOSI: 2,198 movie review clips annotated with sentiment scores from -3 to +3.
  • CMU-MOSEI: A larger dataset featuring over 23,000 segments across 250 topics and 1,000 speakers.

Performance Metrics

SupArc outperformed several state-of-the-art (SOTA) baselines, including MAG-BERT and MIMM, across key metrics:

  • CMU-MOSI: Achieved a Mean Absolute Error (MAE) of 0.679, improving upon the previous best of 0.700.
  • CMU-MOSEI: Reached a seven-class accuracy (Acc-7) of 55.01%, demonstrating its ability to categorize sentiment intensity accurately at scale.
  • Correlation: The model showed a higher Pearson Correlation (0.806 on MOSI), indicating that its predictions track closely with human-annotated intensity.

Discussion

Visualizations using Principal Component Analysis (PCA) indicate that SupArc creates a more structured feature space compared to baseline models. While standard models often exhibit messy overlaps between data points, SupArc produces a clear, curved trajectory where neutral points are separated and positive/negative nuances are divided into distinct, manageable groups. Furthermore, the triplet loss acts as a form of cross-training, helping the model remain robust even when one signal (such as video quality) is degraded.

Conclusion and Future Work

SupArc demonstrates that treating sentiment as a spectrum rather than a binary state significantly improves the precision of multimodal models. By incorporating angular margins and addressing modality bias through triplet masking, we achieve a more nuanced representation of human communication. Future research will explore expanding this framework to discrete emotion labels (e.g., joy, fear, disgust) and further refining the architecture to address the deep-rooted challenge of text-dominance in multimodal fusion.

Summary updated

BibTeX
@inproceedings{nguyen2023improving,
  author = {Cong-Duy Nguyen and Thong Nguyen and Duc Anh Vu and Luu Anh Tuan},
  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