Lune

EMNLP2023Top-tier venue

You Told Me That Joke Twice: A Systematic Investigation of Transferability and Robustness of Humor Detection Models

Alexander Baranov, Vladimir Kniazhevsky, Pavel Braslavski

Abstract

In this study, we focus on automatic humor detection, a highly relevant task for conversational AI. To date, there are several English datasets for this task, but little research on how models trained on them generalize and behave in the wild. To fill this gap, we carefully analyze existing datasets, train RoBERTabased and Naïve Bayes classifiers on each of them, and test on the rest. Training and testing on the same dataset yields good results, but the transferability of the models varies widely. Models trained on datasets with jokes from different sources show better transferability, while the amount of training data has a smaller impact. The behavior of the models on out-of-domain data is unstable, suggesting that some of the models overfit, while others learn non-specific humor characteristics. An adversarial attack shows that models trained on pun datasets are less robust. We also evaluate the sense of humor of the chatGPT and Flan-UL2 models in a zero-shot scenario. The LLMs demonstrate competitive results on humor datasets and a more stable behavior on out-of-domain data. We believe that the obtained results will facilitate the development of new datasets and evaluation methodologies in the field of computational humor. We've made all the data from the study and the trained models publicly available: https://github.com/ Humor-Research/Humor-detection . Tell me which are funny, which are not -and which get a giggle first time but are cold pancakes without honey to hear twice.

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.

3 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

  • It's Not Bragging If You Can Back It Up: Can LLMs Understand Braggings? cites "A good pun is its own reword": Can Large Language Models Understand Puns?
  • UL2: Unifying Language Learning Paradigms cites UnifiedQA: Crossing Format Boundaries With a Single QA System
  • UL2: Unifying Language Learning Paradigms cites Training language models to follow instructions with human feedback
  • Training language models to follow instructions with human feedback cites UnifiedQA: Crossing Format Boundaries With a Single QA System
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. "A good pun is its own reword": Can Large Language Models Understand Puns?Zhijun Xu, Siyu Yuan, Lingjie Chen, Deqing YangEMNLP 2024 · 6 citations
  2. Assessing the Capabilities of LLMs in Humor: A Multi-dimensional Analysis of Oogiri Generation and EvaluationRitsu Sakabe, Hwichan Kim, Tosho Hirasawa, Mamoru KomachiAAAI 2026
  3. It's Not Bragging If You Can Back It Up: Can LLMs Understand Braggings?Jingjie Zeng, Huayang Li, Liang Yang, Yuanyuan Sun et al.ACL 2025

Builds on6

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTOmar Khattab, Matei ZahariaSIGIR 2020 · 1,246 citations
  3. UnifiedQA: Crossing Format Boundaries With a Single QA SystemDaniel Khashabi, Sewon Min, Tushar Khot, Ashish Sabharwal et al.EMNLP Findings 2020 · 514 citations
  4. Quantifying Memorization Across Neural Language ModelsNicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee et al.ICLR 2023 · 158 citations
  5. UL2: Unifying Language Learning ParadigmsYi Tay, Mostafa Dehghani, Vinh Q. Tran, Xavier Garcia et al.ICLR 2023 · 97 citations

Related papers

  1. "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
  2. Talk Funny! A Large-Scale Humor Response Dataset with Chain-of-Humor InterpretationYuyan Chen, Yichen Yuan, Panjun Liu, Dayiheng Liu et al.AAAI 2024 · 34 citations
  3. 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
  4. Chumor 2.0: Towards Better Benchmarking Chinese Humor Understanding from (Ruo Zhi Ba)Ruiqi He, Yushu He, Longju Bai, Jiarui Liu et al.ACL Findings 2025
  5. Can Language Models Make Fun? A Case Study in Chinese Comical CrosstalkJianquan Li, Xiangbo Wu, Xiaokang Liu, Qianqian Xie et al.ACL 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines