Pun Generation with Surprise
Not on the map. Why?
Abstract (arXiv)
We tackle the problem of generating a pun sentence given a pair of homophones (e.g., "died" and "dyed"). Supervised text generation is inappropriate due to the lack of a large corpus of puns, and even if such a corpus existed, mimicry is at odds with generating novel content. In this paper, we propose an unsupervised approach to pun generation using a corpus of unhumorous text and what we call the local-global surprisal principle: we posit that in a pun sentence, there is a strong association between the pun word (e.g., "dyed") and the distant context, as well as a strong association between the alternative word (e.g., "died") and the immediate context. This contrast creates surprise and thus humor. We instantiate this principle for pun generation in two ways: (i) as a measure based on the ratio of probabilities under a language model, and (ii) a retrieve-and-edit approach based on words suggested by a skip-gram model. Human evaluation shows that our retrieve-and-edit approach generates puns successfully 31% of the time, tripling the success rate of a neural generation baseline.
Key facts. Cited by 37 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 Apr 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 9; 2023: 6; 2024: 8; 2025: 5; 2026: 2.
37 papers.
Sort:
By area:
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
- 2021The Perils of Using Mechanical Turk to Evaluate Open-Ended Text Generationcited by 97
- 2021RiddleSense: Reasoning about Riddle Questions Featuring Linguistic Creativity and Commonsense Knowledgecited by 61
- 2021HypoGen: Hyperbole Generation with Commonsense and Counterfactual Knowledgecited by 22
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Contextcited by 21
- 2022ExPUNations: Augmenting Puns with Keywords and Explanationscited by 21
- 2024"A good pun is its own reword": Can Large Language Models Understand Puns?cited by 21
- 2021Decrypting Cryptic Crosswords: Semantically Complex Wordplay Puzzles as a Target for NLPcited by 16
- 2023TwistList: Resources and Baselines for Tongue Twister Generationcited by 16
- 2021InsNet: An Efficient, Flexible, and Performant Insertion-based Text Generation Modelcited by 14
- 2021MOVER: Mask, Over-generate and Rank for Hyperbole Generationcited by 13
- 2024Can Pre-trained Language Models Understand Chinese Humor?cited by 13
25 more
- 2023The Iron(ic) Melting Pot: Reviewing Human Evaluation in Humour, Irony and Sarcasm Generationcited by 11
- 2022A Unified Framework for Pun Generation with Humor Principlescited by 10
- 2023OxfordTVG-HIC: Can Machine Make Humorous Captions from Images?cited by 9
- 2023Extrapolative Controlled Sequence Generation via Iterative Refinementcited by 7
- 2024Are LLMs Good Cryptic Crossword Solvers?cited by 7
- 2024Creativity in AI: Progresses and Challengescited by 7
- 2022Can Language Models Make Fun? A Case Study in Chinese Comical Crosstalkcited by 6
- 2022Controllable Text Generation for Open-Domain Creativity and Fairnesscited by 6
- 2022Transformers Go for the LOLs: Generating (Humourous) Titles from Scientific Abstracts End-to-Endcited by 6
- 2024A Two-Model Approach for Humour Style Recognitioncited by 6
- 2025Comparing Apples to Oranges: A Dataset & Analysis of LLM Humour Understanding from Traditional Puns to Topical Jokescited by 6
- 2022Context-Situated Pun Generationcited by 5
- 2023Prompt to GPT-3: Step-by-Step Thinking Instructions for Humor Generationcited by 5
- 2025Who's Laughing Now? An Overview of Computational Humour Generation and Explanationcited by 5
- 2024Train & Constrain: Phonologically Informed Tongue-Twister Generation from Topics and Paraphrasescited by 3
- 2021When a Computer Cracks a Joke: Automated Generation of Humorous Headlinescited by 2
- 2023IG Captioner: Information Gain Captioners are Strong Zero-shot Classifierscited by 2
- 2025A Survey of Pun Generation: Datasets, Evaluations and Methodologiescited by 2
- 2025Pun Intended: Multi-Agent Translation of Wordplay with Contrastive Learning and Phonetic-Semantic Embeddings for CLEF JOKER 2025 Task 2cited by 1
- 2022CrossDial: An Entertaining Dialogue Dataset of Chinese Crosstalkcited by 0
- 2024A Survey of Text Style Transfer: Applications and Ethical Implicationscited by 0
- 2024What Makes Cryptic Crosswords Challenging for LLMs?cited by 0
- 2025How do Language Models Generate Slang: A Systematic Comparison between Human and Machine-Generated Slang Usagescited by 0
- 2026RAGthoven at SemEval-2026 Task 1: A Multi-Stage Pipeline Walks Into a Benchmark and Barely Clears the Barcited by 0
- 2026Pun Intended: Multi-Agent Translation of Wordplay with Contrastive Learning and Phonetic-Semantic Embeddingscited by 0
- 2026Pun Intended: Multi-Agent Translation of Wordplay with Contrastive Learning and Phonetic-Semantic Embeddings5 Aug 2026
- 2026RAGthoven at SemEval-2026 Task 1: A Multi-Stage Pipeline Walks Into a Benchmark and Barely Clears the Bar14 Jul 2026
- 2025Who's Laughing Now? An Overview of Computational Humour Generation and Explanation25 Sep 2025
- 2025How do Language Models Generate Slang: A Systematic Comparison between Human and Machine-Generated Slang Usages19 Sep 2025
- 2025Comparing Apples to Oranges: A Dataset & Analysis of LLM Humour Understanding from Traditional Puns to Topical Jokes17 Jul 2025
- 2025Pun Intended: Multi-Agent Translation of Wordplay with Contrastive Learning and Phonetic-Semantic Embeddings for CLEF JOKER 2025 Task 29 Jul 2025
- 2025A Survey of Pun Generation: Datasets, Evaluations and Methodologies7 Jul 2025
- 2024What Makes Cryptic Crosswords Challenging for LLMs?12 Dec 2024
- 2024Creativity in AI: Progresses and Challenges22 Oct 2024
- 2024A Two-Model Approach for Humour Style Recognition9 Oct 2024
- 2024A Survey of Text Style Transfer: Applications and Ethical Implications23 Jul 2024
- 2024Can Pre-trained Language Models Understand Chinese Humor?4 Jul 2024
25 more
- 2024"A good pun is its own reword": Can Large Language Models Understand Puns?21 Apr 2024
- 2024Train & Constrain: Phonologically Informed Tongue-Twister Generation from Topics and Paraphrases20 Mar 2024
- 2024Are LLMs Good Cryptic Crossword Solvers?15 Mar 2024
- 2023IG Captioner: Information Gain Captioners are Strong Zero-shot Classifiers27 Nov 2023
- 2023The Iron(ic) Melting Pot: Reviewing Human Evaluation in Humour, Irony and Sarcasm Generation9 Nov 2023
- 2023OxfordTVG-HIC: Can Machine Make Humorous Captions from Images?21 Jul 2023
- 2023Prompt to GPT-3: Step-by-Step Thinking Instructions for Humor Generation22 Jun 2023
- 2023TwistList: Resources and Baselines for Tongue Twister Generation6 Jun 2023
- 2023Extrapolative Controlled Sequence Generation via Iterative Refinement8 Mar 2023
- 2022Transformers Go for the LOLs: Generating (Humourous) Titles from Scientific Abstracts End-to-End20 Dec 2022
- 2022Contrastive Decoding: Open-ended Text Generation as Optimization27 Oct 2022
- 2022Context-Situated Pun Generation24 Oct 2022
- 2022ExPUNations: Augmenting Puns with Keywords and Explanations24 Oct 2022
- 2022A Unified Framework for Pun Generation with Humor Principles24 Oct 2022
- 2022Controllable Text Generation for Open-Domain Creativity and Fairness24 Sep 2022
- 2022CrossDial: An Entertaining Dialogue Dataset of Chinese Crosstalk3 Sep 2022
- 2022Can Language Models Make Fun? A Case Study in Chinese Comical Crosstalk2 Jul 2022
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Context4 May 2022
- 2021When a Computer Cracks a Joke: Automated Generation of Humorous Headlines17 Sep 2021
- 2021MOVER: Mask, Over-generate and Rank for Hyperbole Generation16 Sep 2021
- 2021The Perils of Using Mechanical Turk to Evaluate Open-Ended Text Generation14 Sep 2021
- 2021HypoGen: Hyperbole Generation with Commonsense and Counterfactual Knowledge10 Sep 2021
- 2021Decrypting Cryptic Crosswords: Semantically Complex Wordplay Puzzles as a Target for NLP17 Apr 2021
- 2021InsNet: An Efficient, Flexible, and Performant Insertion-based Text Generation Model12 Feb 2021
- 2021RiddleSense: Reasoning about Riddle Questions Featuring Linguistic Creativity and Commonsense Knowledge2 Jan 2021
- 2025Pun Intended: Multi-Agent Translation of Wordplay with Contrastive Learning and Phonetic-Semantic Embeddings for CLEF JOKER 2025 Task 2cited by 1
- 2026RAGthoven at SemEval-2026 Task 1: A Multi-Stage Pipeline Walks Into a Benchmark and Barely Clears the Barcited by 0
- 2026Pun Intended: Multi-Agent Translation of Wordplay with Contrastive Learning and Phonetic-Semantic Embeddingscited by 0
- 2026Pun Intended: Multi-Agent Translation of Wordplay with Contrastive Learning and Phonetic-Semantic Embeddings5 Aug 2026
- 2026RAGthoven at SemEval-2026 Task 1: A Multi-Stage Pipeline Walks Into a Benchmark and Barely Clears the Bar14 Jul 2026
- 2025Pun Intended: Multi-Agent Translation of Wordplay with Contrastive Learning and Phonetic-Semantic Embeddings for CLEF JOKER 2025 Task 29 Jul 2025
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
- 2021The Perils of Using Mechanical Turk to Evaluate Open-Ended Text Generationcited by 97
- 2021RiddleSense: Reasoning about Riddle Questions Featuring Linguistic Creativity and Commonsense Knowledgecited by 61
- 2021HypoGen: Hyperbole Generation with Commonsense and Counterfactual Knowledgecited by 22
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Contextcited by 21
- 2022ExPUNations: Augmenting Puns with Keywords and Explanationscited by 21
- 2024"A good pun is its own reword": Can Large Language Models Understand Puns?cited by 21
- 2021Decrypting Cryptic Crosswords: Semantically Complex Wordplay Puzzles as a Target for NLPcited by 16
- 2023TwistList: Resources and Baselines for Tongue Twister Generationcited by 16
- 2021InsNet: An Efficient, Flexible, and Performant Insertion-based Text Generation Modelcited by 14
- 2021MOVER: Mask, Over-generate and Rank for Hyperbole Generationcited by 13
- 2024Can Pre-trained Language Models Understand Chinese Humor?cited by 13
12 most cited of 34 All 34 (JSON)
- 2025Who's Laughing Now? An Overview of Computational Humour Generation and Explanation25 Sep 2025
- 2025How do Language Models Generate Slang: A Systematic Comparison between Human and Machine-Generated Slang Usages19 Sep 2025
- 2025Comparing Apples to Oranges: A Dataset & Analysis of LLM Humour Understanding from Traditional Puns to Topical Jokes17 Jul 2025
- 2025A Survey of Pun Generation: Datasets, Evaluations and Methodologies7 Jul 2025
- 2024What Makes Cryptic Crosswords Challenging for LLMs?12 Dec 2024
- 2024Creativity in AI: Progresses and Challenges22 Oct 2024
- 2024A Two-Model Approach for Humour Style Recognition9 Oct 2024
- 2024A Survey of Text Style Transfer: Applications and Ethical Implications23 Jul 2024
- 2024Can Pre-trained Language Models Understand Chinese Humor?4 Jul 2024
- 2024"A good pun is its own reword": Can Large Language Models Understand Puns?21 Apr 2024
- 2024Train & Constrain: Phonologically Informed Tongue-Twister Generation from Topics and Paraphrases20 Mar 2024
- 2024Are LLMs Good Cryptic Crossword Solvers?15 Mar 2024
12 newest of 34 All 34 (JSON)