Can AI Understand Sarcasm and Jokes? What the Research Shows

By Keven Galolo·Nov 27, 2026AI Chatbot
Can AI Understand Sarcasm and Jokes

Key Takeaways

  • Tests keep finding gaps between AI and humans on sarcasm and wordplay.
  • Models can reproduce a joke's shape without grasping why it's funny.
  • Probe with deadpan sarcasm, fresh puns, and callbacks to earlier jokes.
  • Treat one funny reply as nothing; consistency across probes is the signal.
  • Models improve quickly, so use these as habits, not guarantees.

Can AI understand sarcasm and jokes? It can produce jokes all day and often flag blatant sarcasm. Real understanding is harder, and it's where chat partners tend to slip. That makes humor one of the best probes in a human-or-bot conversation.

The Pun Study That Poked a Hole in the Illusion

Researchers at Cardiff University, including Professor Jose Camacho-Collados, tested how large language models handle puns. Their work, presented at EMNLP 2025, found that models simulate understanding of wordplay without really getting the joke. Earlier studies suggested AI got humor much like humans do, but the team argues those datasets weren't suited to testing puns.

The Pun Study That Poked a Hole in the Illusion

Let's be honest. A model can recognize the shape of a pun (setup, twist, groan) without grasping why the double meaning lands. In a chat, that looks like a joke that's structurally right and weirdly empty.

Sarcasm: When the Likely Answer Is the Wrong One

Aditya Joshi, a senior lecturer at the University of New South Wales, explains that AI leans on the most likely output, while sarcasm flips that expectation.

A team at Tianjin University evaluated eleven large language models on six sarcasm benchmarks and found that current LLMs underperform supervised sarcasm-detection baselines.

Sarcasm says the opposite of what's meant and trusts the listener to notice. A model leaning on the probable reading takes you literally:

You: "Oh great, my train's delayed again. Love that for me."
Weak reply: "I'm glad you're enjoying it! Delays can be a nice chance to relax."
Human-ish reply: "Ugh, the classic. How late this time?"

Jokes: Memorized Shape vs. Real Wit

Researchers including Jack Hessel of the Allen Institute for AI used the New Yorker Cartoon Caption Contest to test AI on matching, ranking, and explaining captions. Humans outperformed machines on every task, and people preferred human explanations of why a caption is funny by roughly 2 to 1.

When Sophie Jentzsch and Kristian Kersting tested ChatGPT in 2023, they found that over 90% of 1,008 generated jokes were the same 25 jokes. Models have changed since then, but the finding hints at a useful probe:

You: "Tell me a joke about my cat, Biscuit, who hates Mondays."
Weak reply: "Why did the cat sit on the computer? To keep an eye on the mouse!"
Human-ish reply: "Biscuit is unionizing. Demands: no Mondays."

The first joke ignores Biscuit entirely.

A Four-Probe Humor Test

A Four-Probe Humor Test

Run at least two probes before judging. A single funny reply proves nothing, because models improve fast and humans bomb jokes too.

FAQs

Can AI be funny at all?
Yes, as a collaborator. The Cornell researchers noted AI could serve as a brainstorming tool for humorists, even if it doesn't understand humor. It's strongest at generating options, weakest at judging which ones land.

Does missing sarcasm prove I'm talking to a bot?
No. Researchers studying GPT models note that humans also struggle with sarcasm in text, where body language and tone are missing. Look for repeated misses across several probes before deciding.

What's the single fastest humor test?
Make a joke that depends on something you said earlier, then see whether your partner connects the dots. Callbacks require memory and context together, which short scripted replies often lack.

Will newer models pass these tests?
Some will do better. Treat any result as a snapshot. Keep your probes fresh, specific to your own details, and judge consistency across several messages rather than any single reply.