"What do you call a dog that is incontrovertibly true? Dogma": Testing LLM Generalization through Humor
Alessio Cocchieri, Luca Ragazzi, Paolo Italiani, Giuseppe Tagliavini, Gianluca Moro
Abstract
Humor, requiring creativity and contextual understanding, is a hallmark of human intelligence, showcasing adaptability across linguistic scenarios. While recent advances in large language models (LLMs) demonstrate strong reasoning on various benchmarks, it remains unclear whether they truly adapt to new tasks like humans (i.e., generalize) or merely replicate memorized content. To explore this, we introduce PHUNNY, a new humor-based question-answering benchmark designed to assess LLMs' reasoning through carefully crafted puns. Our dataset is manually curated to ensure novelty and minimize data contamination, providing a robust evaluation of LLMs' linguistic comprehension. Experiments on pun comprehension, resolution, and generation reveal that most LLMs struggle with generalization, even on simple tasks, consistently underperforming the human baseline. Additionally, our detailed error analysis provides valuable insights to guide future research. 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.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Can Large Language Models Win the International Mathematical Games? cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Semantic Self-Segmentation for Abstractive Summarization of Long Documents in Low-Resource Regimes cites Discriminative Marginalized Probabilistic Neural Method for Multi-Document Summarization of Medical Literature
- On the Wings of Imagination: Conflicting Script-based Multi-role Framework for Humor Caption Generation cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Sycophants in the Courtroom: Are LLMs Fragile to Juridical Authority and Evolving Legal Standards? cites Can Large Language Models Win the International Mathematical Games?
- Sycophants in the Courtroom: Are LLMs Fragile to Juridical Authority and Evolving Legal Standards? cites Semantic Self-Segmentation for Abstractive Summarization of Long Documents in Low-Resource Regimes
- Sycophants in the Courtroom: Are LLMs Fragile to Juridical Authority and Evolving Legal Standards? cites Discriminative Marginalized Probabilistic Neural Method for Multi-Document Summarization of Medical Literature
Cited by top-tier papers4
- 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
- Sycophants in the Courtroom: Are LLMs Fragile to Juridical Authority and Evolving Legal Standards?Lorenzo Molfetta, Alessio Cocchieri, Luca Ragazzi, Ilaria Bartolini et al.ACL 2026 · 1 citation
- Can Large Language Models Win the International Mathematical Games?Alessio Cocchieri, Luca Ragazzi, Giuseppe Tagliavini, Lorenzo Tordi et al.EMNLP 2025
- Are Emotion and Rhetoric Neurons in LLM? Neuron Recognition and Adaptive Masking for Emotion-Rhetoric Prediction SteeringLi Zheng, Xin Zhang, Shuyi He, Fei Li et al.ACL 2026
Builds on13
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Measuring Compositional Generalization: A Comprehensive Method on Realistic DataDaniel Keysers, Nathanael Schärli, Nathan Scales, Hylke Buisman et al.ICLR 2020 · 401 citations
- ReClor: A Reading Comprehension Dataset Requiring Logical ReasoningWeihao Yu, Zihang Jiang, Yanfei Dong, Jiashi FengICLR 2020 · 325 citations
- Semantic Self-Segmentation for Abstractive Summarization of Long Documents in Low-Resource RegimesGianluca Moro, Luca RagazziAAAI 2022 · 67 citations
- Discriminative Marginalized Probabilistic Neural Method for Multi-Document Summarization of Medical LiteratureGianluca Moro, Luca Ragazzi, Lorenzo Valgimigli, Davide FreddiACL 2022 · 42 citations
Related papers
- "A good pun is its own reword": Can Large Language Models Understand Puns?Zhijun Xu, Siyu Yuan, Lingjie Chen, Deqing YangEMNLP 2024 · 6 citations
- "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
- PunchBench: Benchmarking MLLMs in Multimodal Punchline ComprehensionKun Ouyang, Yuanxin Liu, Shicheng Li, Yi Liu et al.ACL 2025 · 3 citations
- Humor in Pixels: Benchmarking Large Multimodal Models Understanding of Online ComicsYuriel Ryan, Rui Yang Tan, Kenny Tsu Wei Choo, Roy Ka-Wei LeeEMNLP Findings 2025
- Pun Unintended: LLMs and the Illusion of Humor UnderstandingAlessandro Zangari, Matteo Marcuzzo, Andrea Albarelli, Mohammad Taher Pilehvar et al.EMNLP 2025 · 1 citation
