TL;DR
Can AI actually "get" a joke? SemEval-2020 Task 7 challenged researchers to quantify humor by analyzing news headlines edited with a single-word swap to make them funny. The results show that while modern language models are adept at identifying semantic "incongruity," they still struggle with the common sense, sarcasm, and cultural context required for true comedic timing.
What Problem Does This Paper Address?
Humor is notoriously difficult for machines because it is subjective, culturally dependent, and exists on a spectrum rather than a binary "funny/not funny" toggle. Most previous research treated humor detection as a simple classification task.
This paper describes a shared task designed to move the field toward humor assessment. By using "micro-edits"—replacing just one word in a serious news headline—the researchers isolated the specific trigger of a joke. The goal was to see if AI could predict a continuous funniness score (0-3) and correctly identify which of two edited versions of the same headline was funnier.
Methods
The task was split into two subtasks:
- Funniness Regression: Estimating the mean funniness rating (0-3) of an edited headline.
- Comparative Ranking: Predicting which of two edited versions of the same original headline is funnier.
The dominant approach among the 48 participating teams was the use of Pre-trained Language Models (PLMs) like BERT, RoBERTa, XLNet, and GPT-2. The winning system, developed by Hitachi, utilized a massive ensemble of 700 fine-tuned PLMs combined via Ridge regression.
A key methodological takeaway was the importance of context. Models that used the original headline as a baseline for the edit (context-sensitive) significantly outperformed simple word-embedding models like GloVe (CBOW).
Datasets
The primary benchmark was the Humicroedit dataset, which contains:
- 5,000 original headlines sourced from Reddit (r/worldnews and r/politics).
- 15,095 edited versions, where human editors replaced a single verb, noun, or entity to create humor.
- Crowdsourced ratings from five human judges per headline on a 0-3 scale.
The researchers also provided the FunLines dataset, a similar collection of headlines generated through a competitive humor-writing game, to provide additional training data.
Key Insights and Ideas
- Incongruity is the Engine of Humor: The results strongly support the "incongruity theory" of humor. Systems were much more successful at identifying the funnier headline when the replacement word was semantically distant from the original word.
- The "Mean" Bias: Models were most accurate when predicting funniness scores near 1.0 (the middle of the dataset's distribution). As shown in Figure 3, error rates spiked at the extremes—the very funny and the not-at-all funny headlines—likely due to data sparsity and the inherent difficulty of identifying "peak" humor.
- The Sarcasm Barrier: Models consistently failed on headlines involving sarcasm or irony. For example, in a headline about saving "billions," a model might rank "puppies" as funnier than "pennies" because "puppies" is more semantically incongruous, failing to realize that the sarcastic "pennies" version is actually funnier to a human reader.
Key Results
- Top Performance: The winning Hitachi system achieved a Root Mean Squared Error (RMSE) of 0.497 for the regression task and a 67.43% accuracy for the ranking task.
- Improvement over Baseline: This represented a 13.5% improvement over the simple mean-rating baseline for regression and a 17.9 percentage point jump for classification.
- Model Rankings: Ablation studies revealed that RoBERTa was generally the strongest individual model, followed by GPT-2 and BERT.
Limitations and Future Work
The authors acknowledge several "quirks" and hurdles:
- World Knowledge Gaps: Current AI lacks the "common sense" to understand why certain substitutions are funny. Knowing that "pennies" are a tiny fraction of "billions" is a numerical fact that drives the humor, but models without specific world knowledge miss this.
- Dataset Bias: The dataset had a high frequency of headlines mentioning President Trump, which may have introduced specific biases into the models' training.
- Subjectivity: There was often a lack of agreement among human judges (high standard deviation), highlighting that humor remains one of the most subjective human experiences to model.
Future work suggests focusing on specific types of humor (puns, irony, superiority) and testing humor recognition in "closed settings" like reading comprehension tasks to better isolate the role of context.
Summary updated