Lune

EMNLP Findings2022

A Unified Framework for Pun Generation with Humor Principles

Yufei Tian, Divyanshu Sheth, Nanyun Peng

Abstract

We propose a unified framework to generate both homophonic and homographic puns to resolve the split-up in existing works. Our framework takes a theoretically motivated approach to incorporate three linguistic attributes of puns to language models: ambiguity, distinctiveness, and surprise. Our framework consists of three parts: 1) a context words/phrases selector to promote the aforementioned humor attributes, 2) a generation model trained on non-pun sentences to incorporate the context words/phrases into the generation output, and 3) a label predictor that learns the structure of puns which is used to steer the generation model at inference time. Evaluation results on both homophonic and homographic puns demonstrate the superiority of our model over strong baselines. 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • "A good pun is its own reword": Can Large Language Models Understand Puns? cites ExPUNations: Augmenting Puns with Keywords and Explanations
  • "A good pun is its own reword": Can Large Language Models Understand Puns? cites Context-Situated Pun Generation
  • ExPUNations: Augmenting Puns with Keywords and Explanations cites Context-Situated Pun Generation
  • Context-Situated Pun Generation cites ExPUNations: Augmenting Puns with Keywords and Explanations
  • InsNet: An Efficient, Flexible, and Performant Insertion-based Text Generation Model cites Context-Situated Pun Generation
  • InsNet: An Efficient, Flexible, and Performant Insertion-based Text Generation Model cites Language Models are Few-Shot Learners
  • Can visual language models resolve textual ambiguity with visual cues? Let visual puns tell you! cites Context-Situated Pun Generation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. InsNet: An Efficient, Flexible, and Performant Insertion-based Text Generation ModelSidi Lu, Tao Meng, Nanyun PengNeurIPS 2022 · 16 citations
  2. Can visual language models resolve textual ambiguity with visual cues? Let visual puns tell you!Jiwan Chung, Seungwon Lim, Jaehyun Jeon, Seungbeen Lee et al.EMNLP 2024 · 8 citations
  3. ExPUNations: Augmenting Puns with Keywords and ExplanationsJiao Sun, Anjali Narayan-Chen, Shereen Oraby, Alessandra Cervone et al.EMNLP 2022 · 7 citations
  4. Context-Situated Pun GenerationJiao Sun, Anjali Narayan-Chen, Shereen Oraby, Shuyang Gao et al.EMNLP 2022 · 7 citations
  5. "A good pun is its own reword": Can Large Language Models Understand Puns?Zhijun Xu, Siyu Yuan, Lingjie Chen, Deqing YangEMNLP 2024 · 6 citations

Builds on2

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Breaking Through the 80% Glass Ceiling: Raising the State of the Art in Word Sense Disambiguation by Incorporating Knowledge Graph InformationMichele Bevilacqua, Roberto NavigliACL 2020 · 145 citations

Related papers

  1. "I See What You Did There": Can Large Vision-Language Models Understand Multimodal Puns?Naen Xu, Jiayi Sheng, Changjiang Li, Chunyi Zhou et al.ACL 2026 · 1 citation
  2. Are U a Joke Master? Pun Generation via Multi-Stage Curriculum Learning towards a Humor LLMYang Chen, Chong Yang, Tu Hu, Xinhao Chen et al.ACL Findings 2024 · 3 citations
  3. "The Boating Store Had Its Best Sail Ever": Pronunciation-attentive Contextualized Pun RecognitionYichao Zhou, Jyun-Yu Jiang, Jieyu Zhao, Kai-Wei Chang et al.ACL 2020 · 7 citations
  4. On the Wings of Imagination: Conflicting Script-based Multi-role Framework for Humor Caption GenerationWenbo Shang, Yuxi Sun, Jing Ma, Xin HuangICLR 2026 · 3 citations
  5. "What do you call a dog that is incontrovertibly true? Dogma": Testing LLM Generalization through HumorAlessio Cocchieri, Luca Ragazzi, Paolo Italiani, Giuseppe Tagliavini et al.ACL 2025
Dusk over the sea between two cliffs drawn in fine vertical lines