#Can humor be reduced to an algorithm?

#Can humor be reduced to an algorithm?

#Can humor be reduced to an algorithm?

Welcome to “Codifying Humanity.” A new Neural series that analyzes the machine learning world’s attempts at creating human-level AI. 

Stop me if you’ve heard this one. A robot walks into a bar and the bartender takes its order. The robot says: “I’ll have whatever my developer likes.”

If you’re not laughing right now it’s because the joke isn’t funny. And if you are laughing, it’s because the joke is funny. That’s how jokes work. It’s also how people work.

Humorous or not, the premise of the joke is that robots don’t have personalities, ideas, thoughts, or desires. Any human-like qualities we could attribute to a machine or its output are merely reflections of ourselves or its programmers.

That doesn’t sit well with the mainstream perceptions of AI. We’ve seen a hundred or more variations on the “A robot wrote this article” trope that The Guardian got caught up in last year. Each one promises a near-future where human creators are either displaced or forced to work in tandem with machines.

The common refrain is that AI isn’t human-like yet, but it will be sooner than you think!

And, maybe after reading some carefully-curated outputs from OpenAI’s text generator, GPT-3, it starts to sound less like hyperbole and more like good old common sense.

We see back-flipping robots doing parkour and deepfake face-swaps in our social media feeds everyday. We have every reason to believe a text-generator can do things that seem straight out of the realm of science fiction.

At least, until we start picking at the seams. Because, unfortunately, a functional understanding of the machinations of deep learning-based AI systems doesn’t fall within the realm of common sense.

Prestidigitation

Here at Neural, we refer to most of what AI does as prestidigitation. That’s because there’s only a handful of things a typical deep learning system can actually do. Much like a real-world magician, developers create incredible programs out of some fairly basic algorithmic foundations.

The only difference between a disappearing coin trick and what David Copperfield does is scale. There is no more or less “real magic” involved in the former’s illusions and the latter’s.

And it’s the same with AI. Tesla’s computer vision systems are no more or less human-like than Not Hotdog’s. They essentially perform the exact same function at different scales.

It’s hard to explain the simplicity of a massively complex AI system to the average person.

So let’s take something uniquely human and break down exactly what happens when you try to codify it for machines in the simplest possible way.

Can an AI be funny?

Luckily for us, a former Microsoft intern named Nabil Hossain has already done all the groundwork for us. A few years back, Hossain and a pair of Microsoft AI researchers developed a machine learning system to generate humorous headlines from existing news articles.

The big idea was that the AI would make microedits by changing a single word in a serious headline to make it a funny one. 

A list of headlines with a single word changed by an AI system in order to generate supposedly humorous headlines.