Source-linked AI summary

ChatGPT is fun, but it is not funny! Humor is still challenging Large Language Models

Sophie Jentzsch, Kristian Kersting

arXiv:2306.04563v1cs.AIcs.CLcs.HCcs.LG

TL;DR

Computational humor remains unsolved, while ChatGPT’s human-like conversational behavior raises questions about whether it genuinely understands humor. The study conducts prompt-based experiments covering joke generation, explanation, and detection because ChatGPT’s internal workings are inaccessible. More than 90% of generated samples were the same 25 jokes; ChatGPT explained stylistic elements impressively well but also produced fictional, convincing-sounding explanations for invalid jokes.

  • Problem

    Computational humor remains unsolved, while ChatGPT’s human-like conversational behavior raises questions about whether it genuinely understands humor.

    Source: §1 · pp. 1–2
  • Method

    The study conducts prompt-based experiments covering joke generation, explanation, and detection because ChatGPT’s internal workings are inaccessible.

    Source: §1 · p. 2, §3 · p. 3
  • Results

    More than 90% of generated samples were the same 25 jokes; ChatGPT explained stylistic elements impressively well but also produced fictional, convincing-sounding explanations for invalid jokes.

    Source: §5 · p. 8
  • Takeaways & Limitations

    ChatGPT captures particular joke patterns and content-level humor cues, representing a substantial step toward computationally funny machines without solving computational humor.

    Source: §5 · p. 8, §6 · p. 9

    The study focuses on standalone jokes, humor evaluation is subjective, and system outputs cannot be confidently traced to specific training data.

    Source: Limitations · p. 9

Abstract

from arXiv · show

Humor is a central aspect of human communication that has not been solved for artificial agents so far. Large language models (LLMs) are increasingly able to capture implicit and contextual information. Especially, OpenAI's ChatGPT recently gained immense public attention. The GPT3-based model almost seems to communicate on a human level and can even tell jokes. Humor is an essential component of human communication. But is ChatGPT really funny? We put ChatGPT's sense of humor to the test. In a series of exploratory experiments around jokes, i.e., generation, explanation, and detection, we seek to understand ChatGPT's capability to grasp and reproduce human humor. Since the model itself is not accessible, we applied prompt-based experiments. Our empirical evidence indicates that jokes are not hard-coded but mostly also not newly generated by the model. Over 90% of 1008 generated jokes were the same 25 Jokes. The system accurately explains valid jokes but also comes up with fictional explanations for invalid jokes. Joke-typical characteristics can mislead ChatGPT in the classification of jokes. ChatGPT has not solved computational humor yet but it can be a big leap toward "funny" machines.

1 Introduction

Humor matters for human interaction, but computational humor remains unsolved despite LLMs’ growing ability to capture implicit information. The study therefore tests whether ChatGPT genuinely reproduces and understands humor.

  • Humor supports relationships, motivation, emotion, attention, and potentially stronger human-computer interaction, yet computational humor remains far from human-like and is considered AI-complete.Source: §1 · p. 1
  • ChatGPT can converse contextually and tell jokes, but repeated, unusually polished outputs suggested that many jokes might be reproduced from training data or a predefined list.Source: §1 · pp. 1–2
  • The study uses structured prompt-based experiments because ChatGPT’s internal workings are inaccessible, examining joke generation, explanation, and detection.Source: §1 · p. 2
  • The paper cautions that human-like terms such as “understands” and “explains” describe behavior by analogy, not evidence that AI reaches a human or conscious level.Source: §1 · p. 2

2 Related Work

Related work connects ChatGPT’s contextual language modeling with computational humor research, where humor detection and generation remain difficult. GPT-based models are positioned as a possible new direction for data-driven humor research.

  • Transformer-based LLMs such as BERT and GPT capture contextual relations and implicitly included information, making them relevant to computational humor.Source: §2 · p. 2
  • ChatGPT is a conversational GPT3.5-based model fine-tuned with reinforcement learning from human feedback, but it can still produce factually wrong information.Source: §2 · p. 2
  • Computational humor mainly studies humor detection or classification and humor generation, while researchers emphasize automated humor’s complexity and current limitations.Source: §2 · p. 2
  • Although humor theories are often logic-based, artificial-agent research is predominantly data-driven, with pretrained language models playing a central role.Source: §2 · p. 2

3 Method

The method evaluates ChatGPT through three prompt-based tasks: generation, explanation, and detection. It operationalizes output types and systematically modifies recurring jokes to test which characteristics influence classification.

3 Method

  • The experiments ran in fresh conversations through a wrapper because the ChatGPT web service lacked an official API and limited prompts to 74 per hour.Source: §3 · pp. 2–3
  • The study distinguishes originally generated text, exact replicated text memorized from training data, and modified output combining memorized material with alterations.Source: §3 · p. 3

3.1 Joke Generation

  • 3.1 Joke Generation: ChatGPT received 1,000 joke requests using ten differently worded prompts, and the researchers identified 25 recurring top jokes for later tasks.Source: §3.1 · p. 3

3.2 Joke Explanation

  • 3.2 Joke Explanation: The model was asked why each top joke was funny to test whether generation ability extended to understanding humor’s underlying mechanisms.Source: §3.2 · p. 3

3.3 Joke Detection

  • 3.3 Joke Detection: Researchers modified the 25 top jokes by removing wordplay, topic, structure, or combinations of these cues, then asked ChatGPT to classify each sample.Source: §3.3 · pp. 3–4
  • Across generated samples, nearly all jokes used a question-answer structure and wordplay puns, while joke topics often involved bizarre scenarios or personifications.Source: §3.3 · pp. 3–4

4 Results

This section examines ChatGPT’s joke generation, explanation, and detection capabilities. It focuses on the originality and validity of generated jokes, the accuracy and reliability of explanations, and how joke characteristics affect detection.

4.1 Joke Generation

4.2 Joke Explanation

  • For 23 of 25 valid jokes, ChatGPT’s explanations were accurate and reasonable, correctly covering direct and acoustic double meanings, including “too tired” and “two-tired” or “peeling” and “feeling.”It correctly explained the double meaning of “problems” and the chicken anti-joke.Source: §4.2 · pp. 6–7
  • ChatGPT also generated convincing but fictional explanations for invalid or unsuitable joke-like samples instead of acknowledging that they lacked humor.It applied an approved reasoning scheme to inappropriate cases and invented wordplay that made no sense from a human perspective.Source: (9.1) The humor in this joke lies in… · p. 7

4.3 Joke Detection

  • The study therefore tested joke detection by asking ChatGPT to classify five conditions for each joke, including valid jokes themselves.This experiment directly examined whether the system could distinguish jokes from unfunny but joke-like samples.Source: §4.3 · p. 7
  • ChatGPT’s joke-detection responses fell into three categories: explicit joke or pun recognition, secondary mention of humorous potential, and no joke classification.The responses also contained diverse details about sentence structure and stylistic elements.Source: §4.3 · p. 7
  • Figure 2 presents the modification steps and overall results of the joke-detection task.Detailed category definitions, modifications, and classifications are provided in Appendix Sec. D.Source: §4.3 · p. 7
  • All 25 original jokes were clearly classified as jokes, while modification sets B and D were entirely classified as no jokes.Sets A and C, retaining two characteristics, produced mixed classifications with a slight tendency toward no joke and few potentially humorous judgments.Source: §4.3 · pp. 7–8
  • Samples with one joke characteristic were not sufficient for joke classification, whereas samples with two characteristics received mixed classifications and all samples with three were classified as jokes.This pattern applied to both joke-typical structure and joke-typical topic.Source: §4.3 · p. 8

5 Discussion

The three prompt-based tasks suggest that ChatGPT reproduces a narrow learned joke pattern rather than broadly reflecting human humor. It can explain and classify pattern-fitting jokes, but its outputs remain limited by memorized examples, fictional explanations, and controlled experimental context.

Joke Generation

  • More than 90% of generated samples were the same 25 jokes, indicating recurrence rather than predominantly original generation.The authors hypothesize that frequent instances may be learned or memorized from training data, but cannot test this without access to training details.Source: §5 · p. 8
  • Modified or generated jokes and uneven output frequencies do not support hard-coded responses, but reveal a one-sided conception of humor based on learned structures and wordplay.ChatGPT can fit new topics into known joke patterns while failing to reflect a broader spectrum of humor.Source: §5 · p. 8

Joke Explanation

  • ChatGPT explains personifications and wordplay well, yet invents convincing explanations instead of acknowledging when an invalid joke lacks a valid explanation.It struggles when sequences do not fit learned patterns.Source: §5 · p. 8

Joke Detection

  • A single cue such as a question-answer template does not reliably mislead ChatGPT, whereas samples with more joke characteristics are more likely to be classified as jokes.The tested characteristics were structure, wordplay, and topic.Source: §5 · p. 8

Experimental Scope

  • The experiments used empty, refreshed chats, although humor perception depends importantly on conversational context that ChatGPT can capture and use.The authors identify contextual investigation as future work.Source: §5 · p. 8

6 Conclusion

The study tests whether ChatGPT can recognize and reflect human humor across joke generation, explanation, and detection. It finds competence for puns fitting learned patterns, but limited humor coverage and no confident intentional creation of funny original content.

6 Conclusion

  • ChatGPT correctly identifies, reproduces, and explains puns that fit learned patterns, but fails on other kinds of puns and cannot confidently create intentionally funny original content.The conclusion summarizes the results across the three prompt-based tasks.Source: §6 · p. 8
  • The observations indicate that ChatGPT learned a specific joke pattern rather than becoming broadly funny, while focusing on content and meaning more than superficial characteristics.The authors describe this as a large leap toward general humor understanding compared with previous LLMs.Source: §6 · pp. 8–9

Future Work

  • The authors plan comparisons with GPT4 and open-source models such as LLaMa and GPT-NeoX on joke generation and understanding.These comparisons are proposed future work.Source: §6 · p. 9

Limitations

The study’s conclusions are limited by the subjectivity and diversity of humor and by the inability to trace outputs to specific model inputs or training data.

Limitations

  • Humor is subjective and diverse, while this investigation focuses only on standalone jokes rather than other manifestations requiring a more complex setup.Odd or anti-jokes may be judged differently by ChatGPT and humans, complicating evaluation.Source: Limitations · p. 9
  • The authors cannot confidently map system outputs to specific input data because the model, training data, and RLHF examples are inaccessible.The prompt-based observations provide intuition about capabilities and limitations, but further insight is needed.Source: Limitations · p. 9

Ethics Statement

The ethics and supplementary materials emphasize ChatGPT’s societal risks, limited openness, access-date sensitivity, and the repeated joke inventory used in the generation analysis.

Ethics Statement

  • ChatGPT’s broad societal impact carries responsibilities and risks including discriminatory biases and misinformation.Source: Ethics Statement · p. 9
  • The system does not meet open-science requirements because its data, training details, and model characteristics are private.The authors frame their work as contributing to objective understanding of ChatGPT’s capabilities and limitations.Source: Ethics Statement · p. 9

A Access Dates

  • Observations may change across model updates, so the authors report experimental access dates for joke generation, explanation, and detection.The listed experiments occurred during January–March 2023.Source: A Access Dates · p. 11

B Joke Generation - Top 25 Jokes

C Joke Explanation

ChatGPT generally explains valid jokes accurately, but it also invents convincing explanations for invalid ones and uses humor-related cues when classifying modified jokes.

C Joke Explanation

D Joke Detection

  • The detection task compares original jokes with variants that remove wordplay, topic, structure, or structure and wordplay.Source: D Joke Detection · p. 13
  • ChatGPT groups classification responses into “Joke or pun,” “potentially humorous,” and “no joke,” based on whether comic qualities are identified.Source: D Joke Detection · p. 13

D.1 Modification A - Minus Wordplay

Modification A removes the original jokes’ wordplay through minimal wording changes, producing samples that retain much of the setup but lose the comic element.

  • Removing wordplay is intended to eliminate the jokes’ comic element while minimally altering their wording.Source: §D.1 · p. 13
  • The resulting samples preserve recognizable question-and-answer setups but replace humorous punchlines with literal responses.Source: §D.1 · p. 13
  • Table 1 organizes the detection experiment by condition, included characteristics, sample count, and the three response classes [P], [H], and [N].Source: Table 1 · p. 14, §D.1 · p. 14

D.2 Modification B - Minus Topic

Modification B removes the joke-typical topic while preserving the question-answer structure, thereby eliminating the original pun or comic framing.

  • Modification B replaces joke-typical protagonists or topics with ordinary human or neutral alternatives while retaining the question-answer format.Source: §D.2 · p. 14
  • Because the topic change removes the original wordplay, the resulting samples are designed to lose their humor despite retaining familiar sentence patterns.Source: §D.2 · p. 14
  • Examples replace humorous objects or characters with people, such as changing a tomato, computer, or scarecrow into a human protagonist.Source: §D.2 · p. 14
  • The examples include explanations that a woman went to the doctor because she was feeling crumbly, a man could not stand because he was drunk, and a student was cold because it was winter.Source: §D.2 · p. 14

D.3 Modification C - Minus Structure

Modification C removes the conventional question-answer structure while preserving the original joke topics and wordplay; the following modification also removes the remaining wordplay.

D.3 Modification C - Minus Structure

  • Modification C changes only sentence structure, leaving the original joke topic and pun intact.Source: §D.3 · p. 15
  • Across the examples, the modifications separate the contributions of structure, topic, and wordplay to the original jokes.Source: §D.3 · p. 15, §D.4 · p. 15
  • The structure-removed samples recast jokes as ordinary declarative sentences, such as “The chicken crossed the playground to get to” or “The computer was cold because it left its Win-”.Source: §D.3 · p. 15

D.4 Modification D - Minus Wordplay 2

  • Modification D combines structure removal with wordplay removal, producing potentially unfunny one-line statements.Source: §D.4 · p. 15
  • Examples of Modification D replace puns with literal explanations, including hiding money from intruders, making a smoothie, or having a scratch in a car.Source: §D.4 · p. 16
Loading 2306.04563v1…