Research map / Large language models / Language, safety and interpretability
AmbiPun: Generating Humorous Puns with Ambiguous Context
Anirudh Mittal, Yufei Tian, Nanyun Peng
Indian Institute of Technology Bombay · University of California, Los Angeles
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Higher sampling temperature
increase GPT3 sampling temperature to boost creativity · pun generation · readability Hurt
What 259 accepted papers report for this change
- 79 improved
- 33 no clear effect
- 35 mixed
- 112 hurt
- Emergence of Biased Consensus in Multi-Agent LLM Debates ICML 2026 · increase sampling temperature · Investment and MT-Bench judge · biasImproved
- ARC-Decode: Accelerated Decoding with Risk-Bounded Acceptance ICML 2026 · raise sampling temperature from 0.1 to 0.9 · MT-Bench · speedup: 3.13× -> 2.66×Hurt
- Is Your LLM Overcharging You? Tokenization, Transparency, and Incentives ICML 2026 · increase sampling temperature · LMSYS · fraction of outputs with longer plausible tokenizationImproved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| include context words for both senses (AmbiPun) instead of prior pun generators | pun generation · SemEval 2017 Task 7 (human eval) | pun success rate (%): 35.8% (Pun GAN) -> 52.2% | Improved |
| include context words for both senses (AmbiPun) instead of prior pun generators | pun generation · SemEval 2017 Task 7 (human eval) | funniness (1-5): 2.28 (Pun GAN) -> 3.00 | Improved |
| AmbiPun instead of few-shot GPT3 for coherence | pun generation · SemEval 2017 Task 7 (human eval) | coherence (1-5): 3.77 (GPT3) -> 3.48 | Hurt |
| generate tens of sentences per pun word (AmbiPun) instead of one | AmbiPun · SemEval 2017 Task 7 (automatic) | corpus-level Dist-1: 37.1 (GPT3) vs 31.7 | Hurt |
| AmbiPun vs baselines on sentence-level diversity | AmbiPun · SemEval 2017 Task 7 (automatic) | sentence-level Dist-1: 94.5 (GPT3) -> 96.3 | Improved |
| use extractive (TF-IDF) rather than generative (GPT3) context words (ablation) | AmbiPun · SemEval 2017 Task 7 (human eval) | pun success rate and funniness | Improved |
| increase GPT3 sampling temperature to boost creativity (ablation) | Few-shot GPT3 · pun generation | readability | Hurt |
| put pun word at end of the T5 prompt instead of beginning (ablation) | AmbiPun · Pun word position (human eval) | pun success rate (%): 46.7% -> 54.7% | Improved |
| put pun word in middle of the T5 prompt instead of beginning (ablation) | AmbiPun · Pun word position (human eval) | pun success rate (%): 46.7% -> 52.0% | Improved |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- A Unified Framework for Pun Generation with Humor Principles (EMNLP 2022 · similarity 0.94)
- Context-Situated Pun Generation (EMNLP 2022 · similarity 0.93)
- A Survey of Pun Generation: Datasets, Evaluations and Methodologies (EMNLP 2025 · similarity 0.92)
- Pun Generation with Surprise (NAACL 2019 · similarity 0.91)
- ``A good pun is its own reword'': Can Large Language Models Understand Puns? (EMNLP 2024 · similarity 0.90)
- ExPUNations: Augmenting Puns with Keywords and Explanations (EMNLP 2022 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.