Sentiment and Emotion help Sarcasm? A Multi-task Learning Framework for Multi-Modal Sarcasm, Sentiment and Emotion Analysis

Dushyant Singh Chauhan, Dhanush S. R, Asif Ekbal, Pushpak BhattacharyyaACL 2020

Introduction

Detecting sarcasm is a significant challenge in natural language processing (NLP). It represents the ultimate test of contextual understanding, where a sentence that appears positive on the surface can function as a sharp insult. Researchers from IIT Patna have proposed a multi-task learning framework suggesting that to accurately identify sarcasm, an AI must comprehend the speaker's underlying sentiment and emotion across multiple modalities: text, audio, and video.

The Challenge of Multi-modal Sarcasm

Sarcasm is often defined as "thinly veiled disapproval humorously conveyed." Humans intuitively detect sarcasm by identifying mismatches between literal meaning and delivery—for instance, someone saying "This is just great!" while rolling their eyes and using a flat or miserable tone.

For AI, this is exceptionally difficult. Traditional models frequently focus solely on text, where the literal meaning ("This is great") contradicts the intended meaning. Even multi-modal models often treat sarcasm as an isolated classification task. The authors argue that sarcasm is deeply intertwined with sentiment (positive vs. negative) and emotion (e.g., joy vs. disgust), and they address the gap in how these dimensions interact in conversational contexts.

A multi-modal sample from the MUStARD dataset featuring Chandler Bing from *Friends*.

Proposed Methodology

The researchers introduced a Multi-task Learning (MTL) framework where sarcasm detection is the primary task, supported by sentiment and emotion analysis as auxiliary tasks.

Key Innovations

  1. Multi-task Architecture: The model shares a central representation across five classification branches: sarcasm, implicit sentiment, explicit sentiment, implicit emotion, and explicit emotion. This structure encourages the model to learn features applicable across all three domains.
  2. Dual Attention Mechanisms:
    • Inter-segment Inter-modal Attention ($I_e$-Attention): This captures relationships between different parts of a sentence across modalities, such as how a specific word relates to a facial expression shown later.
  3. Intra-segment Inter-modal Attention ($I_a$-Attention): This aligns modalities within the same segment, such as matching audio pitch with visual expressions during a specific word.
  4. Speaker Embeddings: The model incorporates speaker-specific information to account for individual sarcastic "styles."

Dataset and Contributions

The study utilizes the MUStARD dataset, containing 690 multi-modal samples from TV shows like Friends and The Big Bang Theory. A major contribution of this work is the manual re-annotation of the dataset. While the original MUStARD only provided sarcasm labels, the authors added labels for:

  • Sentiment: Positive, Negative, or Neutral (implicit and explicit).
  • Emotion: Nine classes, including Anger, Joy, Sadness, and Disgust (implicit and explicit).

Key Insights and Results

The core finding is the "Sarcastic Flip": sarcasm often involves a conflict between Explicit affect (the literal words) and Implicit affect (the actual feeling). By training on both, the model improves its ability to spot the signals of sarcasm.

The tri-modal model (Text + Audio + Video) consistently outperformed bi-modal and uni-modal versions. Audio provides tone, and video provides expressions that text lacks. The multi-task approach achieved state-of-the-art results on MUStARD:

  • Precision: 73.40%
  • Recall: 72.75%
  • F1-score: 72.57%

This outperformed the previous SVM-based baseline (F1 ~71.5%) in a speaker-dependent setup. The MTL approach consistently beat Single-task Learning (STL), confirming that sentiment and emotion data provide crucial "hints" for sarcasm detection.

Conclusion and Future Work

While the results are promising, the authors note that the MUStARD dataset's small size (690 samples) limits deep learning generalization. Future work will focus on building larger datasets and exploring more complex fusion techniques to capture the nuances of human conversation more effectively.

Summary updated

BibTeX
@inproceedings{chauhan2020sentiment,
  author = {Dushyant Singh Chauhan and Dhanush S. R and Asif Ekbal and Pushpak Bhattacharyya},
  title = {{Sentiment and Emotion help Sarcasm? A Multi-task Learning Framework for Multi-Modal Sarcasm, Sentiment and Emotion Analysis}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.401},
}
Figure