"President Vows to Cut <Taxes> Hair": Dataset and Analysis of Creative Text Editing for Humorous Headlines

Nabil Hossain, John Krumm, Michael Gamon

TL;DR

Researchers have introduced Humicroedit, a dataset of over 15,000 news headlines edited by humans to be funny through a single-word replacement. By analyzing these "micro-edits," the authors provide quantitative evidence for classical humor theories—like incongruity and the setup/punchline effect—and establish baseline benchmarks for automatic humor detection.

What Problem Does This Paper Address?

Humor is one of the "final frontiers" for Artificial Intelligence. It’s notoriously difficult because it requires more than just pattern recognition; it demands deep world knowledge, common sense, and an understanding of social context.

A major bottleneck in this field is the lack of high-quality, large-scale datasets. Existing humor corpora often rely on rigid templates (like "knock-knock" jokes) or lack a clear baseline for what makes the text funny. This paper addresses the scarcity of data by focusing on micro-edits: the smallest possible change (replacing one noun or verb) that can turn a serious news headline into a joke. This constrained approach allows researchers to pinpoint exactly which linguistic "tipping point" triggers humor.

Methods

The authors used a multi-stage crowdsourcing pipeline via Amazon Mechanical Turk:

  1. Headline Selection: They scraped ~287,000 headlines from popular subreddits like r/worldnews and r/politics.
  2. The "Micro-edit" Task: Qualified editors were tasked with replacing a single entity, noun, or verb to make the headline as funny as possible.
  3. Grading: A separate group of qualified judges rated the edited headlines on a scale from 0 (Not funny) to 3 (Funny).

To analyze the data, they used GloVe word embeddings to measure semantic distances and k-means clustering to categorize the types of replacement words used. Finally, they trained baseline classifiers, including a bi-directional LSTM, to predict whether an edited headline would be perceived as funny.

Figure 1: Snapshots of the headline editing and grading interfaces. Only the underlined tokens are replaceable.

Datasets

  • Humicroedit (New): The primary contribution, containing 15,095 unique edited headlines, each with five independent funniness grades.
  • Reddit Headlines: The source material, consisting of headlines from 25 major English news outlets posted between 2017 and 2018.

Key Insights and Ideas

  • The Setup/Punchline Effect: The data strongly supports the idea that humor is more effective when the "twist" comes at the end. As shown in Figure 5, editors preferred replacing words toward the end of the headline, and these late-stage edits were consistently rated as funnier.
  • Incongruity is Key: Humor often arises from the distance between the original word and its replacement. The authors found a positive correlation between the semantic distance (measured via word vectors) and the funniness score.
  • Humor Potential vs. Length: Longer headlines generally have higher "humor potential." Very short headlines (4-5 words) lack the context necessary to build a "setup" that can be subverted.
Figure 3: Short headlines did not lend themselves to high humor scores, while longer headlines generally had more potential for humor. The blue line shows the raw distribution of headline lengths in our data, and the red line shows the mean funniness score over different lengths.
  • Superiority Theory: A significant portion of the funny edits (about 12%) involved "belittling" or insults, supporting the theory that humor often stems from a feeling of superiority over others.

Key Results

The researchers developed a binary classifier to distinguish between "funny" and "not funny" headlines.

  • Top Performance: A bi-directional LSTM achieved an accuracy of 68.54% when comparing the top 10% funniest headlines against the bottom 10%.
  • Classification Difficulty: Accuracy dropped significantly (to ~60%) as the gap between funny and non-funny headlines narrowed, reflecting the subjective nature of humor even for humans.
  • Entity Sensitivity: The models were notably worse at detecting humor when a named entity (like a politician's name) was replaced, likely because the models lacked the specific world knowledge associated with those figures.
Figure 5: The joke profile graph for setup and punch- line humor, showing that word substitutions toward the end of the headline normally lead to better humor.

Limitations and Future Work

The authors acknowledge several hurdles:

  • World Knowledge Gap: The baseline models struggle with jokes that require up-to-date knowledge of current events or cultural references (e.g., the specific public image of a politician).
  • Embedding Recency: The GloVe embeddings used were trained on data up to 2014, making them less effective for headlines about events in 2017-2018.
  • Offensive Content: The models sometimes flagged offensive or inappropriate edits as "funny" simply because they were semantically incongruous, without understanding the social harm.

Future work aims to incorporate deeper features like common sense reasoning and real-time knowledge graphs to better capture the nuances of topical humor.

Summary updated

BibTeX
@inproceedings{hossain2019president,
  author = {Nabil Hossain and John Krumm and Michael Gamon},
  title = {{"President Vows to Cut <Taxes> Hair": Dataset and Analysis of Creative Text Editing for Humorous Headlines}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/n19-1012},
}
Figure