Getting Serious about Humor: Crafting Humor Datasets with Unfunny Large Language Models

Zachary Horvitz, Jingru Chen, Rahul Aditya, Harshvardhan Srivastava, Robert West +2 more
2/23/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: zacharyhorvitz/Getting-Serious-With-LLMs (11 stars, last commit 2024-08-10).

Abstract

Humor is a fundamental facet of human cognition and interaction. Yet, despite recent advances in natural language processing, humor detection remains a challenging task that is complicated by the scarcity of datasets that pair humorous texts with similar non-humorous counterparts. In our work, we investigate whether large language models (LLMs), can generate synthetic data for humor detection via editing texts. We benchmark LLMs on an existing human dataset and show that current LLMs display an impressive ability to 'unfun' jokes, as judged by humans and as measured on the downstream task of humor detection. We extend our approach to a code-mixed English-Hindi humor dataset, where we find that GPT-4's synthetic data is highly rated by bilingual annotators and provides challenging adversarial examples for humor classifiers.

View on arXivView PDF

Code Implementations(1)

113Shell, PythonMay 31, 20242 years ago

Similar Papers

Cite this paper

@article{horvitz2024getting,
  title  = {Getting Serious about Humor: Crafting Humor Datasets with Unfunny Large Language Models},
  author = {Zachary Horvitz and Jingru Chen and Rahul Aditya and Harshvardhan Srivastava and Robert West and Zhou Yu and Kathleen McKeown},
  year   = {2024},
  eprint = {2403.00794},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.00794v2}
}

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/2403.00794.svg)](https://codeofpaper.com/paper/2403.00794)

Discussion