Cards Against AI: Predicting Humor in a Fill-in-the-blank Party Game

Dan Ofer, Dafna Shahaf
10/24/2022
cs.LGcs.AIcs.CL

Official code: ddofer/CAH (12 stars, Jupyter Notebook, last commit 2023-09-04).

Abstract

Humor is an inherently social phenomenon, with humorous utterances shaped by what is socially and culturally accepted. Understanding humor is an important NLP challenge, with many applications to human-computer interactions.

Show full abstract

In this work we explore humor in the context of Cards Against Humanity -- a party game where players complete fill-in-the-blank statements using cards that can be offensive or politically incorrect. We introduce a novel dataset of 300,000 online games of Cards Against Humanity, including 785K unique jokes, analyze it and provide insights. We trained machine learning models to predict the winning joke per game, achieving performance twice as good (20\%) as random, even without any user information. On the more difficult task of judging novel cards, we see the models' ability to generalize is moderate. Interestingly, we find that our models are primarily focused on punchline card, with the context having little impact. Analyzing feature importance, we observe that short, crude, juvenile punchlines tend to win.

View on arXivView PDF

Code Implementations(1)

ddofer/CAHOfficial100%

Code used for Cards Against Humanity EMNLP paper

122Jupyter NotebookJun 24, 20223 years ago
cards-against-humanityhumor-classificationmachine-learningnlp

Similar Papers

Cite this paper

@article{ofer2022cards,
  title  = {Cards Against AI: Predicting Humor in a Fill-in-the-blank Party Game},
  author = {Dan Ofer and Dafna Shahaf},
  year   = {2022},
  eprint = {2210.13016},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.13016}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.13016.svg)](https://codeofpaper.com/paper/2210.13016)

Discussion