No joke: Microsoft is teaching comedy to computers

Using a computer algorithm, The New Yorker's cartoon contest editors weaned out thousands of unfunny submissions.

When the robot apocalypse arrives, don't be surprised if the machines crack jokes about our undoing.

In a new research project, Microsoft has attempted to teach comedic values to computers. Using the New Yorker's cartoon contest as fodder, the researchers came up with an algorithm to pick the funniest captions from thousands of reader submissions.

As Bloomberg reports, the results might actually be of assistance to the New Yorker's editors, who receive roughly 5,000 caption contest entries every week. The algorithm was able to match the editors' choices a fair amount: "On average...all of the editors' favorites appeared in the AI's top 55.8 percent of choices," the Bloomberg story cited. In other words, computer assistance could cut the editors' work down by nearly half.

Why this matters

Microsoft isn't just doing this for hyuks. The ability for a computer to recognize humor could be important for programs like Skype Translator, which uses machine learning to help people converse across languages. Down the road, Microsoft hopes it could offer artificial intelligence with a real sense of humor--one that goes beyond Cortana's canned jokes.

Teaching punchlines to machines

Figuring out what was funny involved asking humans to break down the visual properties of each cartoon, and to judge the humor of some corresponding captions. Microsoft's researchers then came up an algorithm that could identify the key words or phrases in each caption. Humor scores were based on several factors, such as the length of the joke (fewer words tend to be funnier), the location of the punchline (later is better), and the similarities to the content of the image.

The algorithm, while fairly effective, did have some blind spots. Proper nouns, for instance, tend to be penalized, but that in turn punished good jokes that riffed on current events. The algorithm also failed to recognize certain expressions, and didn't understand the importance of capitalizing certain words (such as "Him" as a reference to God.)

Perhaps for those reasons, the New Yorker isn't quite ready to deploy Microsoft's algorithms. Editor Bob Mankoff told Bloomberg that the system wasn't accurate enough for his liking, and wondered if a machine could ever truly replicate a human sense of humor. Comedy, after all, is something that continues to be invented and transformed. It's unclear if our robot overlords will be able to carry on the tradition.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags skypeMicrosoftsoftwareBloomberg

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Jared Newman

PC World (US online)
Show Comments

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Armand Abogado

HP OfficeJet 250 Mobile Printer

Wireless printing from my iPhone was also a handy feature, the whole experience was quick and seamless with no setup requirements - accessed through the default iOS printing menu options.

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?