CofiPara: A Coarse-to-fine Paradigm for Multimodal Sarcasm Target Identification with Large Multimodal Models

Hongzhan Lin, Zixin Chen, Ziyang Luo, Mingfei Cheng, Jing Ma, Guang Chen

Sarcasm is the "spice" of social media, but for artificial intelligence, it remains a difficult challenge. Identifying the target of a sarcastic remark—the specific entity being mocked—requires more than just spotting keywords; it demands an understanding of cultural context, visual irony, and common-sense reasoning.

In their paper, CofiPara, researchers from Hong Kong Baptist University and their collaborators introduce a "coarse-to-fine" paradigm that leverages the reasoning power of Large Multimodal Models (LMMs) to master the task of Multimodal Sarcasm Target Identification (MSTI).

The Challenge of Implicit Sarcasm

Most existing sarcasm detection models focus on surface-level signals, such as a mismatch between a "happy" word and a "sad" face. However, real-world sarcasm is often implicit and relies on deeper incongruities.

Consider a tweet showing a man lounging in a train's control room with the text: "looks like a tough job." To understand the joke, a model must recognize that the man's relaxed posture directly contradicts the notion of a "tough job." Current MSTI systems often struggle with these nuanced relationships because they treat the task as a simple end-to-end classification problem, overlooking the underlying reasoning required to connect disparate visual and textual cues.

Examples of multimodal sarcasm targets. (a) A train driver lounging, contradicting a 'tough job' claim. (b) A Pepsi can placed prominently during a broadcast.

The CofiPara Framework

The authors propose CofiPara, which stands for a Coarse-to-fine Paradigm. The framework operates in three distinct stages designed to bridge the gap between raw data and nuanced understanding:

  1. Divergent Thinking with LMMs: Instead of simply asking an LMM (such as Qwen-VL or LLaVA) if a post is sarcastic, the researchers prompt it to generate "competing rationales." The LMM provides one explanation for why the post is sarcastic and another for why it is not. This "divergent thinking" provides the model with rich background knowledge and forces it to weigh conflicting evidence.
  2. Coarse-Grained Pre-training: A smaller, more efficient model (based on the T5 architecture) is pre-trained on Multimodal Sarcasm Detection (MSD). It acts as a "rationale referee," learning to distill the essence of sarcasm from the LMM's competing explanations. This aligns visual and textual features before the model attempts to locate a specific target.
  3. Finer-Grained Fine-Tuning: Finally, the model is fine-tuned for the primary task: MSTI. It learns to output both the specific textual target (a word or phrase) and a visual target (a bounding box in the image).
The CofiPara framework: Divergent thinking with LMMs leads to coarse-grained pre-training and fine-grained target identification.

Key Insights and Results

CofiPara introduces several innovative concepts to the field:

  • Rationales as Knowledge Augmentation: By using LMMs as "reasoning engines" to generate explanations rather than just labels, the authors effectively transfer complex common-sense knowledge into a smaller, deployable model.
  • The Power of "Why Not": Forcing the LMM to generate a non-sarcastic rationale for a sarcastic post introduces "deliberate noise." This makes the downstream model more robust, as it must learn to ignore plausible-but-incorrect interpretations.
  • Coarse-to-Fine Necessity: The authors found that teaching the model the holistic concept of sarcasm first is essential for effective target localization.

Experimental results demonstrate that CofiPara significantly outperforms existing state-of-the-art models. On the MSTI2.0 test set, it achieved an AP50 of 32.49% for visual target identification—a massive improvement over the previous best multimodal baseline (11.02%). For textual target identification, it reached an Exact Match (EM) score of 32.26%, outperforming specialized visual grounding models.

Conclusion

CofiPara represents a significant step forward in making AI understand the subtleties of human communication. By combining the reasoning depth of LMMs with a structured coarse-to-fine training paradigm, the framework not only identifies sarcasm targets with high accuracy but also provides human-readable explanations for its decisions. Future work will look toward refining these rationales and expanding the framework to detect other complex social phenomena like hate speech or cyberbullying.

Summary updated

BibTeX
@inproceedings{lin2024cofipara,
  author = {Hongzhan Lin and Zixin Chen and Ziyang Luo and Mingfei Cheng and Jing Ma and Guang Chen},
  title = {{CofiPara: A Coarse-to-fine Paradigm for Multimodal Sarcasm Target Identification with Large Multimodal Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.522},
}
Figure