A Quantum Probability Driven Framework for Joint Multi-Modal Sarcasm, Sentiment and Emotion Analysis

Yaochen Liu, Yazhou Zhang, Dawei Song

TL;DR

Researchers have developed QUIET, a new framework that uses Quantum Probability (QP) to simultaneously analyze sarcasm, sentiment, and emotion in multi-modal conversations. By treating human emotions like quantum states that can "interfere" with one another, the model significantly outperforms traditional deep learning methods across multiple benchmarks.

What Problem Does This Paper Address?

Understanding human "affect"—the umbrella term for feelings like sarcasm, sentiment, and emotion—is a massive challenge for AI. These states aren't independent; they are deeply intertwined. For example, a sarcastic "I love working late" carries a negative sentiment and perhaps an emotion of frustration.

The authors argue that classical probability theory fails here because it assumes compatibility—the idea that you can measure all these states simultaneously without them affecting each other. In reality, human cognition is "incompatible": the order in which we judge sarcasm might change how we perceive the underlying sentiment. Furthermore, fusing different modalities (text, video, and audio) is often a non-linear process that simple mathematical addition or concatenation can't fully capture.

Methods

The authors introduce the QUIET (QUantum probabIlity driven multi-modal sarcasm, sEntiment and emoTion analysis) framework. It moves away from standard "real-valued" neural networks into the realm of complex numbers and quantum mechanics:

  • Complex-valued Encoding: Each utterance is represented as a complex vector. The amplitude (real part) captures semantic meaning, while the phase (imaginary part) represents the initial sentiment orientation.
  • Quantum Composition: Instead of just stacking vectors, the model uses tensor products to represent the context between adjacent utterances, mimicking how quantum systems interact with their environment.
  • Quantum Interference Fusion: To merge text, video, and audio, the model uses a "double-slit" inspired interference mechanism. This allows the modalities to interact non-linearly, capturing subtle cues where, for instance, a specific tone of voice (audio) completely flips the meaning of a sentence (text).
  • Incompatible Measurement: The final classification is treated as a quantum measurement. This mathematically accounts for the "cross-affection correlation," acknowledging that these three tasks are fundamentally linked and non-commutative.

Datasets

The model was evaluated on two major multi-modal datasets:

  1. MUStARD_ext: An extended version of the Multimodal Sarcasm Detection dataset, containing 690 samples from popular TV shows (Friends, The Big Bang Theory) with labels for sarcasm, sentiment, and nine different emotions.
  2. MELD: The Multimodal EmotionLines Dataset, a large-scale dataset with over 13,000 utterances labeled for sentiment and seven emotions.

Key Insights and Ideas

  • The "Order" of Emotion: One of the most profound insights is the application of Quantum Incompatibility. The researchers proved that judgments on sarcasm and sentiment do not commute—meaning the "mental state" of the model changes depending on which attribute it evaluates first.
  • Phase as Sentiment: By initializing the "phase" of the complex numbers with pre-assigned sentiment polarities (from BERT), the model leverages prior linguistic knowledge more effectively than standard embeddings.
  • Non-Linearity is Key: Traditional fusion (like concatenation) is linear. The "Quantum Interference" layer allows the model to capture "abstract meanings" (like the difference between "Jack" + "leg" vs. the idiom "Jack-leg") that linear models often miss.

Key Results

QUIET established a new State-of-the-Art (SOTA) across the board:

  • Sarcasm Detection: On the MUStARD_ext dataset, QUIET achieved an F1-score of 83.70%, a 7.1% improvement over previous SOTA models.
  • Sentiment Analysis: Saw a massive jump of 13.7% in F1-score compared to baselines.
  • Emotion Recognition: Improved F1-scores by 4.6%.
  • Multi-task Synergy: The results showed that training on all three tasks simultaneously (tri-task) yielded better results than training on them individually, proving that sarcasm, sentiment, and emotion provide vital context for one another.

Limitations and Future Work

While powerful, the authors note a few hurdles:

  • Data Scarcity: There are very few high-quality datasets that contain labels for all three categories (sarcasm, sentiment, and emotion) across three modalities.
  • Computational Complexity: Using complex-valued representations essentially doubles the number of parameters compared to real-valued models, increasing the computational load.
  • Sequential Bottlenecks: The current model relies on GRUs (Gated Recurrent Units), which process data sequentially. The authors suggest that a Quantum-inspired Transformer structure could be the next step to allow for better parallelization and even higher performance.

Summary updated

BibTeX
@article{liu2024quantum,
  author = {Yaochen Liu and Yazhou Zhang and Dawei Song},
  title = {{A Quantum Probability Driven Framework for Joint Multi-Modal Sarcasm, Sentiment and Emotion Analysis}},
  journal = {IEEE Trans. Affect. Comput.},
  year = {2024},
  url = {https://openreview.net/forum?id=NSSBUzMxly},
}
Figure