M2Lens: Visualizing and Explaining Multimodal Models for Sentiment Analysis

Xingbo Wang, Jianben He, Zhihua Jin, Muqiao Yang, Yong Wang, Huamin Qu

TL;DR

M2Lens is an interactive visual analytics system designed to crack open the "black box" of multimodal sentiment analysis models. By combining global summaries of modality interactions with local instance-level debugging, it helps researchers understand how models integrate text, audio, and video to predict human emotions.

What Problem Does This Paper Address?

Multimodal sentiment analysis—recognizing attitudes from a combination of words, voice tone, and facial expressions—is a complex task. While deep learning models have achieved high performance, they are notoriously opaque. Researchers often don't know if a model is relying on the right cues: Is it the sarcasm in the voice, the specific choice of words, or a subtle micro-expression?

Existing explainable AI (XAI) tools typically focus on a single modality (e.g., just text or just images). They fail to capture the nuanced inter-modal interactions that define multimodal learning. Specifically, we need to know when modalities dominate a prediction, complement each other to strengthen a sentiment, or conflict (like someone smiling while telling a sad story). M2Lens addresses this gap by providing a multi-level explanatory framework.

Methods

The authors developed a system architecture consisting of three main components:

  1. Storage & Feature Engineering: Raw video is processed into language (GloVe embeddings), acoustic (COVAREP), and visual (Facial Action Coding System) features.
  2. Explanation Engine: The system uses SHAP (SHapley Additive exPlanations) to quantify feature importance. A novel rule-based algorithm (Algorithm 1) then categorizes these influences into three interaction types: Dominance, Complement, and Conflict.
  3. Visual Analysis Interface: This is the core of M2Lens, featuring five integrated views:
  4. Summary View: Uses an augmented tree-like layout to show global modality importance and interaction distributions.
  5. Template View: Summarizes frequent and influential "templates" of features (e.g., specific parts of speech or facial regions).
  6. Projection View: A 2D t-SNE map of instances using custom glyphs—Chernoff faces for visual features and sector glyphs for audio—to help identify clusters of model behavior.
  7. Instance View: Provides the "ground truth" context, allowing users to play the original video with word-level feature importance overlays.
The M2Lens interface showing the five main views (A-E) for global to local exploration.

Datasets

The system was evaluated using CMU-MOSEI, the largest and most widely used benchmark for multimodal sentiment analysis. It contains over 23,000 movie review clips from 1,000 speakers, labeled with sentiment scores ranging from -3 (strongly negative) to +3 (strongly positive).

Key Insights and Ideas

  • Interaction Types Matter: Simply knowing which modality is "important" isn't enough. M2Lens shows that models often fail when modalities conflict. For example, a model might ignore positive words if the speaker's voice pitch is high, wrongly associating pitch with negative sentiment.
  • The "Double Negation" Trap: Through M2Lens, researchers discovered that state-of-the-art transformers (like MulT) struggle with double negations (e.g., "not bad"). The model often treats "not" as a strong negative signal, missing the overall positive sentiment of the phrase.
  • Visual Co-occurrence: A surprising finding was the frequent co-occurrence of "Joy" and "Sadness" facial features. M2Lens revealed this wasn't a model error but a reflection of intense facial muscle movements during emotional storytelling that the model correctly captured.
  • Feature Loss in Early Fusion: The system helped diagnose that simpler models (like EF-LSTM) can suffer from "information loss" during early fusion, sometimes failing to learn any meaningful sentiment from text and relying almost entirely on acoustic cues.

Key Results

The authors conducted two detailed case studies with domain experts:

  • Case 1 (Multimodal Transformer): Revealed that while the model is powerful, it is heavily dominated by the language modality and fails on complex linguistic structures like negations.
  • Case 2 (EF-LSTM): Discovered a significant bias where the model consistently associated voice pitch with negative sentiment, leading to high error rates for "high-spirited" positive speakers.

Expert interviews confirmed that the Summary View was highly effective for a "quick health check" of the model, while the Instance View was essential for verifying if the model's "reasoning" aligned with human intuition.

Design choices for the Summary View, showing how modality importance and interactions are visualized.

Limitations and Future Work

  • Computational Overhead: Calculating SHAP values is expensive. It took roughly 25 minutes to process 2,000 instances, which limits real-time use on massive datasets.
  • Learning Curve: Experts noted it took about 20 minutes to fully master the interface due to the density of information.
  • Future Directions: The authors plan to add features for model comparison (side-by-side diagnosis) and data error correction, allowing users to fix mislabeled transcripts or videos directly within the tool. They also aim to extend the system to other tasks like multimodal emotion recognition.

Summary updated

BibTeX
@article{wang2022m,
  author = {Xingbo Wang and Jianben He and Zhihua Jin and Muqiao Yang and Yong Wang and Huamin Qu},
  title = {{M2Lens: Visualizing and Explaining Multimodal Models for Sentiment Analysis}},
  journal = {IEEE Trans. Vis. Comput. Graph.},
  year = {2022},
  doi = {10.1109/tvcg.2021.3114794},
}
Figure