DGLF: A Dual Graph-based Learning Framework for Multi-modal Sarcasm Detection

Zhihong Zhu, Kefan Shen, Zhaorun Chen, Yunyan Zhang, Yuyan Chen, Xiaoqi Jiao, Zhongwei Wan, Shaorong Xie, Wei Liu, Xian Wu, Yefeng ZhengEMNLP 2024

Abstract

Multi-modal Sarcasm Detection (MSD) is a challenging task that requires identifying subtle emotional inconsistencies between text and visual cues. Traditional Graph Neural Networks (GNNs) often fail to capture complex multi-element relationships and tend to smooth out the sharp discrepancies that signal sarcasm. We introduce the Dual Graph-based Learning Framework (DGLF), which employs a hypergraph to model high-order context and a frequency-aware vanilla graph to amplify high-frequency signals. DGLF achieves state-of-the-art results on major benchmarks, demonstrating that sarcasm is best detected by preserving the "rough edges" of cross-modal friction.

Introduction

Sarcasm often emerges from the friction between what is said and what is shown—for instance, a photo of a torrential downpour captioned "What a gorgeous day." While Graph Neural Networks (GNNs) are effective at modeling relationships between words and image regions, they suffer from two primary limitations in the context of sarcasm detection:

  1. Neglect of High-Order Relationships: Standard GNNs typically model pairwise relationships. However, sarcasm often stems from a collective context involving multiple elements simultaneously.
  2. The "Low-Pass Filter" Problem: Standard GNN propagation acts as a low-pass filter, smoothing features across neighbors. In sarcasm detection, these sharp, high-frequency discrepancies are the most critical signals, yet they are often filtered out as noise.

The DGLF Framework

To address these gaps, the authors propose the Dual Graph-based Learning Framework (DGLF), which processes multi-modal inputs through two parallel structural paths.

The DGLF architecture (b) compared to a standard vanilla propagation approach (a).

High-Order Aware Propagation (Hypergraph)

Instead of simple pairwise edges, DGLF constructs a hypergraph where "hyperedges" can connect an arbitrary number of nodes. This allows the model to capture "high-arity" relationships within and between modalities, such as how a specific word might interact with a set of visual cues rather than just one object.

High-Frequency Enhanced Propagation (Vanilla Graph)

To prevent the model from smoothing away sarcastic cues, DGLF implements a dual-filter system. It utilizes both low-pass and high-pass filters (based on the Laplacian kernel) to distill messages. By adaptively integrating high-frequency components, the model can better detect local neighborhood inconsistencies that indicate sarcasm.

Detailed schema showing how hypergraphs and vanilla graphs model intra-modal and inter-modal relations differently.

Multi-modal Fusion Information Bottleneck (MFB)

To integrate features from both graph structures, the framework uses an Information Bottleneck approach. This constrains the model to focus on the shared information between modalities, effectively filtering out irrelevant background noise from individual text or image features.

Experimental Results

DGLF was evaluated on two primary benchmarks: MMSD (English Twitter) and MMSD2.0 (a refined version with fewer obvious hashtags). The framework established a new State-of-the-Art (SOTA) across both:

  • MMSD: Outperformed the previous best model (HKE) by 1.62% in Accuracy and 2.91% in F1 score.
  • MMSD2.0: Surpassed Att-BERT by 1.49% in Accuracy.

Ablation studies confirmed that both the hypergraph and the high-frequency filters are essential; removing either component led to significant performance degradation.

Key Insights

  • Sarcasm as a High-Frequency Signal: While most GNN research focuses on smoothing data for stability, DGLF argues that MSD requires intentionally amplifying the "rough edges" where text and image clash.
  • Structural Reasoning vs. Pre-training: DGLF improves performance even when paired with powerful encoders like CLIP, suggesting that structural reasoning captures nuances that massive pre-training on raw data misses.

Conclusion and Future Work

DGLF demonstrates the power of dual-graph modeling for detecting subtle sarcasm. Future work will focus on reducing the computational complexity of maintaining parallel graph structures and expanding the framework to include video and audio modalities. Additionally, the authors aim to better integrate Optical Character Recognition (OCR) to handle sarcasm that relies on text embedded within images.

Summary updated

BibTeX
@inproceedings{zhu2024dglf,
  author = {Zhihong Zhu and Kefan Shen and Zhaorun Chen and Yunyan Zhang and Yuyan Chen and Xiaoqi Jiao and Zhongwei Wan and Shaorong Xie and Wei Liu and Xian Wu and Yefeng Zheng},
  title = {{DGLF: A Dual Graph-based Learning Framework for Multi-modal Sarcasm Detection}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.170},
}
Figure