Contrastive Knowledge Distillation for Robust Multimodal Sentiment Analysis

Zhongyi Sang, Kotaro Funakoshi, Manabu OkumuraarXiv 2024

TL;DR

This paper introduces Multi-Modal Contrastive Knowledge Distillation (MM-CKD), a highly efficient framework designed to handle missing modalities (like lost audio or video) in multimodal sentiment analysis. By using online supervised contrastive learning to transfer knowledge from a complete-modality teacher to incomplete-modality students, MM-CKD achieves competitive accuracy with state-of-the-art methods while slashing computational testing costs (FLOPs) by roughly 70%.

What Problem Does This Paper Address?

Multimodal Sentiment Analysis (MSA) combines text (lexical), video (visual), and audio (acoustic) features to interpret human emotions. However, in real-world deployments, systems frequently encounter "incomplete modalities"—situations where data is lost due to sensor malfunctions, network drops, or corrupted files.

Current state-of-the-art (SOTA) methods combat this using generative imputation, leveraging heavy deep learning architectures (like diffusion models) to mathematically reconstruct the missing data before analyzing it. While highly accurate, these generative approaches are computationally expensive and slow, making them impractical for real-time applications or edge devices. The authors of this paper set out to prove that you can achieve robust sentiment analysis without the massive overhead of data reconstruction.

Methods

Instead of trying to fill in the blanks, MM-CKD uses a non-imputation teacher-student framework optimized via online learning.

Fig. 1. The overview of the proposed Multi-Modal Contrastive Knowledge Distillation

As shown in Figure 1, the architecture consists of two main parts:

  • The Teacher Model: Processes the complete set of modalities (Lexical, Visual, Acoustic). It extracts features using 1D-CNNs and fuses them hierarchically using Transformer decoders (for binary text-to-audio/video cross-attention) and a Transformer encoder (for trinary fusion) to generate a robust joint representation ($h^t$).
  • The Student Models: Six distinct student models are trained simultaneously alongside the teacher. Each student is dedicated to a specific subset of missing data (e.g., text+video, audio-only, etc.). They share the initial feature extraction layers with the teacher to conserve resources.

The core innovation lies in how these models communicate. The authors employ Multi-view Supervised Contrastive Learning (MVSC) adapted for regression tasks. During training, different modality combinations (views) of the same sample are pulled together in the embedding space. Furthermore, the model uses a continuous distance threshold ($\lambda$) on the sentiment labels to identify similar samples across the batch, treating them as positive pairs. Both the teacher and students are updated dynamically in an online training loop, minimizing a joint loss function of Mean Absolute Error (MAE) and contrastive loss.

Datasets

The authors evaluated their method on two standard MSA benchmarks:

  • CMU-MOSI: An opinion-level dataset containing 2,199 video segments, each annotated with a sentiment intensity score ranging from -3 (strongly negative) to 3 (strongly positive).
  • CMU-MOSEI: A much larger dataset containing 23,453 annotated video clips across 250 distinct topics, using the same sentiment scale.

The models were tested under two missing data scenarios: a fixed missing protocol (where specific modalities are consistently removed) and a random missing protocol (where modalities are dropped at random intervals).

Key Insights and Ideas

  • Imputation is Overkill: The paper demonstrates that perfectly reconstructing a missing video frame or audio signal isn't necessary for sentiment analysis. Aligning the representations of the remaining modalities within a shared, complete-modality embedding space is sufficient.
  • Mutual Online Improvement: Unlike traditional offline distillation where a frozen teacher instructs a student, MM-CKD trains all models simultaneously. The contrastive loss creates a feedback loop that refines the shared embedding space, improving the performance of both the teacher and the students.
  • Adapting Contrastive Learning for Regression: Contrastive learning is traditionally a classification tool. By introducing a label-distance threshold, the authors successfully adapted it to handle continuous sentiment scores, allowing the model to leverage cross-sample relationships effectively.

Key Results

  • Massive Computational Savings: During testing, MM-CKD requires only $5.2 \times 10^9$ FLOPs, compared to the $17.4 \times 10^9$ FLOPs demanded by SOTA imputation methods like IMDer—a 70% reduction in computational complexity.
  • Blazing Fast Training: MM-CKD dramatically cuts down training times. On the same hardware (RTX 2080Ti), MM-CKD took just 5.3 seconds per epoch, compared to 28.6 seconds for IMDer and 67.4 seconds for DiCMoR.
  • Competitive Accuracy: MM-CKD outperformed all existing non-imputation methods. Under the random missing protocol with complete input ($MR=0.0$), it achieved the highest binary accuracy (87.0% on CMU-MOSI and 88.3% on CMU-MOSEI), outperforming even the heavy imputation-based models. When modalities were missing, its performance remained highly competitive with the generative SOTA.

Limitations and Future Work

The primary limitation of MM-CKD is its heavy reliance on the text (lexical) modality. In MSA benchmarks, text carries the strongest sentiment signal. When the lexical modality is entirely missing (leaving only pure acoustic or pure visual data), the student models struggle significantly. Because the framework lacks a generative component to "hallucinate" the missing text features, non-imputation feature alignment falls short in these extreme unimodal scenarios.

The authors note that the next major challenge will be improving feature learning for auxiliary modalities (audio and video) without reintroducing heavy, slow generative neural networks.

Summary updated

BibTeX
@misc{sang2024contrastive,
  author = {Zhongyi Sang and Kotaro Funakoshi and Manabu Okumura},
  title = {{Contrastive Knowledge Distillation for Robust Multimodal Sentiment Analysis}},
  year = {2024},
  eprint = {2410.08692},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.08692},
}
Figure