TL;DR
SarcasmBench is the first comprehensive benchmark designed to evaluate how well Large Language Models (LLMs) truly understand sarcasm. The study reveals a surprising "performance gap": even the most advanced LLMs currently underperform compared to older, supervised models fine-tuned specifically for sarcasm detection, and common reasoning techniques like Chain-of-Thought (CoT) actually hinder performance in this domain.
What Problem Does This Paper Address?
In the world of NLP, tasks are often categorized into "System I" (fast, intuitive, like sentiment analysis) and "System II" (slow, logical, like math). While LLMs have seemingly "solved" many System I tasks, sarcasm remains a stubborn outlier.
Sarcasm is a sophisticated linguistic "flip" where the intended meaning is the opposite of the literal words. It requires a high level of abstraction and an understanding of hyperbole and figuration. The authors argue that if an LLM can’t catch a sarcastic "Oh, great!" it hasn't truly mastered human language. They address the lack of a standardized evaluation framework by creating SarcasmBench to see if the LLM hype holds up against this subtle human nuance.
Methods
The researchers built an evaluation framework that pits 11 state-of-the-art LLMs (including GPT-4, Claude 3, LLaMA 2/3, and Mistral) against 8 supervised Pre-trained Language Models (PLMs) like BERT and RoBERTa.
They tested three distinct prompting strategies:
- Zero-shot IO: Asking the model to classify text with no examples.
- Few-shot IO: Providing a few examples (selected via K-Nearest Neighbor search to ensure relevance) before asking for a classification.
- Chain-of-Thought (CoT): Asking the model to "think step-by-step" to identify the sarcasm.
The study also extended into multi-modal sarcasm, evaluating models like GPT-4V and Wenxin 4 on their ability to detect sarcasm when text is paired with an image.
Datasets
The authors utilized six widely recognized text-based benchmark datasets:
- IAC-V1 & IAC-V2: Sarcasm in online political debates.
- Ghosh: A large collection of sarcastic tweets.
- iSarcasmEval: A dataset where authors labeled their own intended sarcasm.
- Riloff: Tweets where sarcasm is defined by a contrast between positive sentiment and a negative situation.
- SemEval 2018 Task 3: A manually annotated dataset focusing on irony and sarcasm.
For the multi-modal evaluation, they used MMSD (English) and CMMA (Chinese).
Key Insights and Ideas
- Supervised Models Still Reign: Prompt-based LLMs generally underperform compared to supervised PLMs (like RoBERTa) that have been specifically trained on sarcasm datasets. This suggests that "general intelligence" isn't yet a substitute for task-specific fine-tuning in nuanced linguistics.
- The CoT Paradox: In most logical tasks, Chain-of-Thought prompting boosts performance. In sarcasm detection, it actually decreased performance (e.g., GPT-4's average F1 score dropped from 68.4 to 64.7).
- Why CoT Fails: The authors hypothesize that sarcasm is a holistic, intuitive process. Forcing a model to use "step-by-step logic" introduces unnecessary complexity and ignores the fact that sarcasm often violates formal logical structures (like the law of hypothetical syllogism).
- The GPT-4 Dominance: GPT-4 Turbo is the clear leader among LLMs, outperforming the next best models (Claude 3 and ChatGPT) by an average of 14%.
Key Results
- GPT-4 Performance: GPT-4 achieved an F1 score of 78.7 on IAC-V1 and 76.5 on SemEval, significantly higher than other LLMs.
- Prompting Efficacy: Few-shot IO was the most effective strategy, providing a 4.5% average improvement over zero-shot methods.
- Multi-modal Findings: In the multi-modal space, Retrieval-LLaVA 1.5 outperformed other models by using a retrieval approach to find relevant examples for its prompts, highlighting the importance of context in visual sarcasm.
Limitations and Future Work
The authors acknowledge two primary limitations:
- Prompting Variety: They only used standard prompting and CoT. They suggest that more advanced structures, like tree-based or graphical prompting, might yield better results.
- Contextual Blindness: The study didn't deeply explore how sarcasm changes across different cultural or social contexts.
Future work will focus on improving LLM performance by integrating "ensemble" methods—combining the predictions of multiple models (bagging or boosting)—to capture the elusive nature of human irony more accurately.
Summary updated