UC Researchers Design Humorous Bot'

University of Cincinnati researchers Julia Taylor and Larry Mazlack recently unveiled a "bot”  — more accurately a software program — that recognizes jokes. They reported the development at the American Association for Artificial Intelligence conference in Vancouver, Canada. All bad jokes aside, their research represents a step forward in computers reaching the capability of a human mind.


, a doctoral student under UC Professor Mazlack, is studying data mining — the science of deriving meaning from large amounts of data. Mazlack is the coordinator of the

Applied Artificial Intelligence Laboratory

and coordinator of the Data and Knowledge Management research group. Taylor specifically researches humor in robots.

"This work has a relationship to 'Sociable Computing,'" says Mazlack. "Currently, computers are often difficult to communicate with, to use and to apply to solving problems that are informally stated."

This area has been researched for decades and has also been the subject of many Star Trek episodes. Developments such as these offer sophisticated improvements in robots that are used as companions or to otherwise interact directly with humans.

“The ‘robot’ is just a software program that still needs a lot of work,” says researcher Taylor. “The idea is to be able to recognize jokes that are based on phonological similarity of words.”
The program can in fact recognize jokes, but ONLY when the necessary background and world knowledge are provided, she says. “The ontology that provides this knowledge is a work-in-progress at this stage. So, the software is far from being finished, but does produce some results.”

Taylor had the distinct task of “training” the computer by providing it with information relative to American English at a child’s level. They developed an extensive list of knock-knock jokes that turn on people’s names, particularly.

Further action is required to make this image accessible

One of the below criteria must be satisfied:

  • Add image alt tag OR
  • Mark image as decorative

The image will not display on the live site until the issue above is resolved.

Knock, Knock

Who is there?


Dawn who?

Dawn by the station, early in the morning

Knock, Knock
Who is there?
Wendy who?
Wendy last time you took a bath?

Then they gave the “bot” several examples of words that can have different meanings and homonyms, as in puns. The program then checks to see if the message is consistent with what would make sense. If it doesn’t, the bot searches to see if the word sounds similar to a word that would fit. If this is the case, the bot flags it as humor.

Knock, Knock
Who is there?
Dismay who?
Dismay not be a funny joke

“Even leaden puns are very difficult to understand as well,” says Taylor. “With the knowledge that is in the ontology right now, there are very, very few jokes (or puns) that the program can understand.”
The ability to appreciate humor is an enormous increment in subtlety. You need to know a lot to ‘get’ humor — a computer does not find it easy.

"Part of the difficulty lies with the formality that computers and people need to use to interact with each other," says Mazlack. "A critical aspect in achieving sociable computing is being able to informally communicate in a human language with computers. Computationally handling humor is critical to being able to conduct an informal dialogue with a computer; Julia Taylor is making good progress in advancing knowledge in this area — other people in my lab are working on different aspects of less formal ways of using computers."

Knock, Knock
Who is there?
Police who?
Police tell me some Knock Knock jokes

Here’s an example of one of the robot’s favorite jokes:
Mother to boy: “Johnny, you’ve been working in the garden a lot this summer.
Boy: “I know. My teacher told me to weed a lot.”
“Notice that the boy says the teacher told him to WEED. Since ‘weed’ sounds similar to 'read,' the program can find this wordplay,” Taylor says.

Although not quite "where no one has gone before," this research is a giant leap toward approaching the capability of the human mind.

Knock, Knock
Who is there?
Noah who?
Noah good place to find more jokes?



Related Stories


The University of Cincinnati has a student-run formula electric...

April 11, 2024

The University of Cincinnati has a longstanding presence in the Formula Society of Automotive Engineers (FSAE) competition. For several decades, UC students have built Formula and BAJA style cars to race and compete against schools nationwide at various competitions. However, with the emergence and growth in popularity of electric cars, one student set out to make UC's very first electric vehicle team. Bearcat Electric Vehicle (BEV) was founded by UC alumnus Sagar Tawari, during his time as a student. In the 2019-2020 academic year, Tiwari recruited members and created the university's first all-electric formula racing team.


Finding home away from home

April 10, 2024

Navigating life at university is difficult for any college student, but those common challenges are magnified for international students, who also contend with language barriers and cultural differences along the way. Two pairs of international student siblings at the University of Cincinnati—Hamza and Anas Khairy as well as Khwahish and Kartavya Singh—decided to pursue their degrees side by side.


USA Today: Cincinnati’s Flying Pig Marathon named best in nation

April 5, 2024

Cincinnati's Flying Pig Marathon ranks No. 1 in USA Today’s 10Best list of top-rated marathon, beating out 20 other marathons across the country. The list highlights the race’s fun pig theme, its scenic 26.2-mile route along the Ohio River through diverse neighborhoods across Cincinnati and Northern Kentucky, and a post-race party with pizza and beer.

Debug Query for this