Teaching AI to get the joke: What cartoonists can teach machines about humor
en-GBde-DEes-ESfr-FR

Teaching AI to get the joke: What cartoonists can teach machines about humor

04/12/2026 Koc University

What makes a cartoon funny? Recognizing an absurd situation, understanding a clever play on words, or making an unexpected connection between an image and everyday experience?

A research team including Assoc. Prof. Aykut Erdem and master’s student Hatice Merve Vural from Koç University’s Department of Computer Engineering, along with researchers from the Koç University İşbank Artificial Intelligence Center (KUIS AI Center) and Hacettepe University, has developed a new approach to teaching artificial intelligence how humor works. Collaborating with Bob Mankoff, a cartoonist and former cartoon editor of The New Yorker, the team drew on cognitive science and the creative practices of professional cartoon caption writers to train AI models not only to identify a funny caption but also to explain what makes it funny.

Their best-performing model correctly predicted readers’ preferences between competing cartoon captions 76.1% of the time, outperforming both non-expert human participants, who achieved an average accuracy of 65.6%, and all other AI models evaluated on the same task.

The study, titled “Learning to Think Like a Cartoon Captionist: Incongruity–Resolution Supervision for Multimodal Humor Understanding,” was published in the proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing (EMNLP). The research team comprises Hatice Merve Vural, Doğa Kukul, Ege Erdem Özlü, Demir Ekin Arıkan, Bob Mankoff, Erkut Erdem, and Aykut Erdem.

What makes a joke work?

Imagine a giant amoeba sitting in an airplane cabin. An annoyed passenger complains that, regardless of being a single-celled organism, the amoeba should have purchased two seats.

Understanding the joke requires more than recognizing the objects in the drawing or interpreting the words in the caption. It involves connecting an absurd biological scenario with a familiar social experience: the frustration of having too little space on an airplane.

This example illustrates a prominent explanation of humor in cognitive science known as incongruity–resolution theory. According to this theory, humor often arises when something violates our expectations and we discover an unexpected yet meaningful way to reinterpret it.

Previous approaches to computational humor have largely focused on whether AI can select or rank funny captions. The researchers instead investigated whether explicitly teaching models the reasoning behind a joke could improve their ability to understand visual humor.

Learning to reason like a cartoonist

The research team developed a framework called Incongruity–Resolution Supervision (IRS), which combines insights from cognitive science with the creative practices of professional cartoon caption writers.

The framework breaks humor understanding into three components:

  • Incongruity modeling: identifying unusual or unexpected elements within a visual scene.

  • Resolution modeling: exploring how these elements can be reinterpreted in a coherent and humorous way.

  • Preference alignment: evaluating competing interpretations and captions in relation to human judgments of humor.

To train the models, the researchers drew on cartooning books, caption-writing guides, editorial discussions, and other materials that explain how professional cartoonists develop and evaluate their ideas.

The models were then trained using structured examples that made the intermediate reasoning behind successful captions explicit, from interpreting the visual scene to identifying the unexpected connection that makes a joke work.

In the final stage, the researchers used reinforcement learning to reward models not only for selecting the correct caption but also for grounding their explanations in relevant visual details and recognizing linguistic features such as wordplay, metaphor, and punchline placement.

Rather than treating humor understanding as a prediction problem alone, the approach teaches models how to arrive at and explain their answers.

Outperforming non-expert humans on a humor benchmark

The researchers evaluated their framework using data from The New Yorker Cartoon Caption Contest, in which readers submit captions for cartoons and evaluate competing entries.

In one of the main evaluation tasks, the models were presented with two captions for the same cartoon and asked to predict which caption readers had preferred.

The best-performing IRS model achieved an accuracy of 76.1%, compared with 65.6% among non-expert human participants. The corresponding AI model without the specialized humor training achieved 55.6%.

The findings demonstrate that explicitly teaching humor-specific reasoning can substantially improve performance without relying solely on increasing model size.

The researchers also tested whether these improvements could extend beyond The New Yorker cartoons. Models trained using IRS performed better than their unmodified counterparts on two additional humor-related benchmarks, YesBut and DeepEval, without receiving additional training on those datasets.

These results suggest that the framework can help AI models acquire reasoning strategies that are transferable across different visual humor tasks, rather than simply learning patterns specific to a single dataset.

Beyond humor: Understanding what humans leave unsaid

Humor offers a particularly demanding test of artificial intelligence because it brings together several capabilities essential to human communication: interpreting visual information, recognizing ambiguity, understanding context, and drawing on shared cultural knowledge.

These capabilities are also important when interpreting metaphors, recognizing sarcasm, or understanding meanings that are implied rather than explicitly stated.

Although the study did not directly evaluate these broader communication skills, its findings suggest that incorporating insights from human cognitive processes and domain-specific expertise into AI training could offer new directions for developing systems capable of more nuanced interpretation.

The approach also highlights the potential of interdisciplinary collaboration between computer scientists, cognitive scientists, and creative professionals in addressing complex challenges in artificial intelligence.

Can AI really understand humor?

Despite the promising results, the researchers emphasize that predicting which caption an audience prefers is not equivalent to understanding humor in the same way humans do.

The models sometimes misinterpret visual details, overlook cultural references, or produce convincing explanations based on incorrect assumptions.

Furthermore, because much of the training material reflects English-language and predominantly American humor, the extent to which these capabilities can transfer across languages and cultures remains an open question.

Humor is also inherently subjective. Professional cartoonists and general audiences do not always agree on what makes a caption funny, and automated evaluation cannot fully capture the diversity of human responses.

Future research could explore more culturally and linguistically diverse datasets, improve visual interpretation, and develop evaluation methods that better reflect the complexity of human humor.

By bringing together artificial intelligence, cognitive science, and professional cartooning, the study offers a new approach to teaching machines not simply to identify a punchline, but to recognize the unexpected connections that make it work.

Funding and acknowledgments

This research was supported in part by the KUIS AI Center Research Awards to Doğa Kukul and the TÜBİTAK 2247-A Program (Award No. 123C542) to Erkut Erdem. Computational resources were provided in part by the TRUBA infrastructure of the TÜBİTAK ULAKBİM High Performance and Grid Computing Center. The researchers also received computational support from Lambda AI and Google through its Gemini Academic Program.

Publication: Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing (EMNLP)
Publisher: Association for Computational Linguistics (ACL)
Article title: Learning to Think Like a Cartoon Captionist: Incongruity–Resolution Supervision for Multimodal Humor Understanding
Authors: Hatice Merve Vural, Doga Kukul, Ege Erdem Ozlu, Demir Ekin Arikan,
Bob Mankoff, Erkut Erdem, Aykut Erdem
conference: The 2026 Conference on Empirical Methods in Natural Language Processing (EMNLP 2026)
date: 24th to October 29th, 2026
Fichiers joints
  • ykutrdemhe20eworkimes.jpg
  • Assoc. Prof. Dr. Aykut Erdem from Koç University’s Department of Computer Engineering and the Koç University İşbank Artificial Intelligence Center (KUIS AI Center), a co-author of the study on teaching artificial intelligence to interpret visual humor.
04/12/2026 Koc University
Regions: Europe, Turkey, United Kingdom
Keywords: Applied science, Artificial Intelligence, Society, Social Sciences

Disclaimer: AlphaGalileo is not responsible for the accuracy of content posted to AlphaGalileo by contributing institutions or for the use of any information through the AlphaGalileo system.

Témoignages

We have used AlphaGalileo since its foundation but frankly we need it more than ever now to ensure our research news is heard across Europe, Asia and North America. As one of the UK’s leading research universities we want to continue to work with other outstanding researchers in Europe. AlphaGalileo helps us to continue to bring our research story to them and the rest of the world.
Peter Dunn, Director of Press and Media Relations at the University of Warwick
AlphaGalileo has helped us more than double our reach at SciDev.Net. The service has enabled our journalists around the world to reach the mainstream media with articles about the impact of science on people in low- and middle-income countries, leading to big increases in the number of SciDev.Net articles that have been republished.
Ben Deighton, SciDevNet
AlphaGalileo is a great source of global research news. I use it regularly.
Robert Lee Hotz, LA Times

Nous travaillons en étroite collaboration avec...


  • The Research Council of Norway
  • SciDevNet
  • Swiss National Science Foundation
  • iesResearch
Copyright 2026 by DNN Corp Terms Of Use Privacy Statement