Pretend for a minute you鈥檙e the captain of a ship that鈥檚 being attacked by enemy cannons. Your crew is panicking. Now 鈥 say something funny.
Making up jokes on the spot is a real test of wits. Yet two comedians have developed an improv show in which many of the ad-libbed gags are delivered by a toy robot. In the last couple of years this 鈥 known as HumanMachine 鈥 has performed 30 times to nearly 3000 people at comedy festivals in the UK and Canada.
It鈥檚 not all played for laughs, however. Kory Mathewson at the University of Alberta in Canada and Piotr Mirowski 鈥 both artificial intelligence researchers in their day jobs 鈥 also wanted to explore how audiences would respond to a robot that was trying to be funny.
Advertisement
Humour goes to the heart of what it is to be human. Laughter can bring people together by up-ending shared assumptions.听It typically happens when the perceptions and intuitions of the performer and of the audience are challenged by surprise or novelty. Jokes often rely on allusions to pop-cultural references, social satire, irony and empathy. 鈥淚n other words, understanding and creating comedy involves high-level intelligence,鈥 says Mirowski.
鈥淚f one were to attempt the Turing Test, I find it hard to envision success without an AI that understands humour,鈥 says Mark Riedl at the Georgia Institute of Technology in Atlanta, who works on story-generating AIs. Riedl considers making up stories on the fly to be one of the grand challenges for AI. Adding in humour raises the bar even higher. 鈥淗umour is hard even for humans,鈥 says Riedl.
Does not compute
During the shows, Mathewson, Miroski and their robot called A.L.Ex 鈥 short for Artificial Language Experiment 鈥 improvised using topics suggested by the audience. The robot鈥檚 lines were provided by a neural network that had learned a vocabulary of around 50,000 words by reading subtitles from around 100,000 films. On stage, A.L.Ex had to understand what its human sidekicks were saying and generate a response as quickly as possible, which the robot then delivered using a voice synthesizer.
Things didn鈥檛 always work out. At a show in January at the Tristan Bates Theatre in London, the robot started talking gibberish, . 鈥淭he performers covered well but they were just unlucky on the night,鈥 she wrote. Even when A.L.Ex got its words out, the results were not always funny:
HUMAN: Captain, the ship is under attack. The frigate is arriving鈥
A.L.Ex: You see, I don鈥檛 feel the same way. I just don鈥檛 want to stay in the position to get burnt.
HUMAN: We鈥檙e all going to get burned by a cannon fire鈥
A.L.Ex: While you鈥檙e in there, tell me. When I get dressed, I鈥檒l go up there and see what happens.

Parrot fashion
Even so, many audiences responded warmly. When the robot was controlled by A.L.Ex they were never fooled into thinking the AI was really a human. But when it was secretly controlled by Mathewson, half of the people who saw the show thought that they were watching an AI perform flawlessly.
But that says more about the set-up than the robot鈥檚 smarts. A.L.Ex has no understanding of what鈥檚 actually being said. 鈥淥ur chatbot is just a natural language processing parrot,鈥 says Mirowski. But the pair point out that audiences at a comedy show are primed to find things funny, which will make them more receptive to the AI鈥檚 efforts. And having A.L.Ex鈥檚 lines spoken by a small, funny-looking robot also puts people on side.
More than testing the intelligence of a machine, Mathewson and Mirowski are exploring how far they can push an illusion. 鈥淲e think of this as an exercise for human improvisers,鈥 says Mirowski. 鈥淥ur task is to make the robot look great when we perform with it.鈥
The pair are presenting their work at the conference on Neural Information Processing Systems in Long Beach, California, this week. They also plan to hit the road again next year, performing at the Edinburgh Fringe Festival and elsewhere. 鈥淲e are hard at work thinking about other ways to involve humans in the show,鈥 says Mirowski.
听
Reference: