Introduction
Sarcasm and humor are nuanced forms of communication that rely on the interplay between multiple modalities—what is said (text), how it is said (audio), and the accompanying facial expressions or gestures (visual). Detecting these "fleeting actions" is a significant challenge in multimodal learning, particularly due to the scarcity of large-scale annotated datasets. Researchers from Johns Hopkins University have introduced MuLOT (Multimodal Learning using Optimal Transport), a framework designed to achieve state-of-the-art performance in resource-constrained scenarios.
The Challenge of Sarcasm Detection
Sarcasm detection is difficult because it often involves incongruity across modalities. For instance, a positive statement might be delivered with a flat tone and a deadpan expression. Existing large-scale multimodal transformers, while powerful, often require millions of parameters and are prone to overfitting when trained on small datasets like MUStARD, which contains fewer than 700 samples. MuLOT addresses these issues by focusing on efficient cross-modal alignment and intra-modal correspondence.
The MuLOT Framework
The MuLOT architecture is structured into three primary stages to handle unimodal feature extraction, cross-modal alignment, and final fusion.
- Unimodal Feature Extraction: Features are extracted using pre-trained models: I3D for video, BERT for text, and MFCC for audio.
- Intra- & Cross-Modality Attention:
- Intra-modality: Simplified multi-head self-attention identifies key tokens within each individual modality.
- Cross-modality via Optimal Transport (OT): Instead of parameter-heavy cross-attention, MuLOT uses Optimal Transport Kernels (OTK) to align disparate modalities. This treats alignment as a domain adaptation problem, efficiently mapping features into a uniform reference frame.
- Multimodal Attention Fusion (MAF): A gated fusion mechanism determines the relative importance of each modality for a specific sample, capturing complex inter-dependencies.
Experimental Evaluation
MuLOT was evaluated on three benchmark datasets:
- MUStARD: Sarcastic clips from sitcoms like Friends and The Big Bang Theory (Video, Audio, Text).
- UR-FUNNY: Humor detection in TED talks (Video, Audio, Text).
- MST: Sarcastic image-text pairs from Twitter.
To test robustness in low-resource settings, the authors also created "Tiny" versions of MST and UR-FUNNY by significantly reducing training data.
Key Results and Insights
MuLOT consistently outperformed state-of-the-art (SOTA) models across all benchmarks:
- MUStARD: 76.82% accuracy (2.1% improvement over previous SOTA).
- MST: 90.82% accuracy (2.07% improvement).
- Low-Resource Performance: On Tiny MST, MuLOT surpassed the best baseline by a significant 5.74%.
- Efficiency: With only 21 million trainable parameters, MuLOT is nearly 8 times smaller than models like MAG-XLNet.
Ablation studies revealed that the "visual-textual" clash is a primary driver of sarcasm. Removing the visual or language modalities led to a sharper performance drop compared to removing audio. Furthermore, including historical dialogue context consistently improved detection accuracy.
Conclusion
MuLOT demonstrates that structured mathematical frameworks like Optimal Transport can serve as effective priors for multimodal learning, enabling high performance even with limited data. By reducing parameter count and improving cross-modal alignment, MuLOT provides a robust solution for detecting the subtle nuances of sarcasm and humor in conversational AI.
Summary updated