Context-Situated Pun Generation
Not on the map. Why?
Abstract (arXiv)
Previous work on pun generation commonly begins with a given pun word (a pair of homophones for heterographic pun generation and a polyseme for homographic pun generation) and seeks to generate an appropriate pun. While this may enable efficient pun generation, we believe that a pun is most entertaining if it fits appropriately within a given context, e.g., a given situation or dialogue. In this work, we propose a new task, context-situated pun generation, where a specific context represented by a set of keywords is provided, and the task is to first identify suitable pun words that are appropriate for the context, then generate puns based on the context keywords and the identified pun words. We collect CUP (Context-sitUated Pun), containing 4.5k tuples of context words and pun pairs. Based on the new data and setup, we propose a pipeline system for context-situated pun generation, including a pun word retrieval module that identifies suitable pun words for a given context, and a generation module that generates puns from context keywords and pun words. Human evaluation shows that 69% of our top retrieved pun words can be used to generate context-situated puns, and our generation module yields successful puns 31% of the time given a plausible tuple of context words and pun pair, almost tripling the yield of a state-of-the-art pun generation model. With an end-to-end evaluation, our pipeline system with the top-1 retrieved pun pair for a given context can generate successful puns 40% of the time, better than all other modeling variations but 32% lower than the human success rate. This highlights the difficulty of the task, and encourages more research in this direction.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 14 of its 39 references that are in the map. First posted on arXiv 24 Oct 2022.
Builds on
14 of 39 references.
References · 14
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2019UR-FUNNY: A Multimodal Language Dataset for Understanding Humorcited by 132
- 2018A Retrieve-and-Edit Framework for Predicting Structured Outputscited by 73
- 2019Pun Generation with Surprisecited by 37
- 2020TextBrewer: An Open-Source Knowledge Distillation Toolkit for Natural Language Processingcited by 26
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Contextcited by 21
- 2019Pun-GAN: Generative Adversarial Network for Pun Generationcited by 18
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 0; 2026: 1.
5 papers.
- 2024Don't Just Say "I don't know"! Self-aligning Large Language Models for Responding to Unknown Questions with Explanationscited by 30
- 2023TwistList: Resources and Baselines for Tongue Twister Generationcited by 16
- 2024Text Is Not All You Need: Multimodal Prompting Helps LLMs Understand Humorcited by 8
- 2024Train & Constrain: Phonologically Informed Tongue-Twister Generation from Topics and Paraphrasescited by 3
- 2026Towards High-Level Semantic Intelligencecited by 0
- 2026Towards High-Level Semantic Intelligence27 Jul 2026
- 2024Text Is Not All You Need: Multimodal Prompting Helps LLMs Understand Humor1 Dec 2024
- 2024Train & Constrain: Phonologically Informed Tongue-Twister Generation from Topics and Paraphrases20 Mar 2024
- 2024Don't Just Say "I don't know"! Self-aligning Large Language Models for Responding to Unknown Questions with Explanations23 Feb 2024
- 2023TwistList: Resources and Baselines for Tongue Twister Generation6 Jun 2023