English

AmbiPun: Generating Humorous Puns with Ambiguous Context

Computation and Language 2022-05-05 v1 Artificial Intelligence Machine Learning

Abstract

In this paper, we propose a simple yet effective way to generate pun sentences that does not require any training on existing puns. Our approach is inspired by humor theories that ambiguity comes from the context rather than the pun word itself. Given a pair of definitions of a pun word, our model first produces a list of related concepts through a reverse dictionary. We then utilize one-shot GPT3 to generate context words and then generate puns incorporating context words from both concepts. Human evaluation shows that our method successfully generates pun 52\% of the time, outperforming well-crafted baselines and the state-of-the-art models by a large margin.

Cite

@article{arxiv.2205.01825,
  title  = {AmbiPun: Generating Humorous Puns with Ambiguous Context},
  author = {Anirudh Mittal and Yufei Tian and Nanyun Peng},
  journal= {arXiv preprint arXiv:2205.01825},
  year   = {2022}
}

Comments

To appear in NAACL 2022

R2 v1 2026-06-24T11:06:33.621Z