Skip to main content

Microsoft teaches AI to see the funny side of things

microsoft open sources graph engine microsoftlogo
Drserg/Shutterstock
Airbnb’s prescient artificial intelligence predicts the best time to rent out your pad. Google’s self-teaching computers speed up spam detection and translation. And Microsoft’s, apparently, knows when a joke’s funny. As part of a recent study, researchers at the Redmond-based company collaborated with New Yorker cartoon editor Bob Mankoff to imbue artificial intelligence with a sense of humor. The results are predictably fascinating.

Microsoft researcher Dafna Shahaf, who headed the study, began by attempting to convey to the AI linguistic hallmarks of comedy, like sarcasm and wordplay. Shahaf fed the program hundreds of old New Yorker captions and cartoons and, with the aid of crowdsourced workers from Amazon’s Mechanical Turk, painstakingly organized each by two categories: context and anomalies. The ‘context’ label described what was pictured — in an office setting, objects like “secretary” and “phone” — while ‘anomalies’ highlighted any potential source of humor — an unexpected “stairway” in said office, for example.

Recommended Videos

Shahaf then set the software loose at the offices of the New Yorker, tasking it with identifying (or trying to identify) the funniest cartoon captions among a week’s worth of reader submissions. The result? The AI and the editors agreed about 55.8 percent of the time, or on about 2,200 selections. That’s nothing to sneeze at, Shahaf told Bloomberg — on average, the AI saved Mankoff “about 50 percent of [the] workload.”

It isn’t difficult to imagine applications beyond editorial decision-making. The techniques might one day be used to improve Microsoft’s real-time translation efforts (such as Skype Translator), or, Eric Horvitz told Bloomberg, help flesh out the personalities of digital assistants like Siri and Cortana.

And Microsoft’s software isn’t the only AI humorist around, surprisingly. An Israeli student developed a system capable of recognizing “patronizing sounding semantics” and “slang words in phrases in text” by feeding it more than 5,000 Facebook posts. Hebrew University’s SASI, or Semi-supervised Algorithm for Sarcasm Identification, can recognize sarcastic sentences in Amazon.com product reviews. And a scientist at Purdue University has designed algorithms capable not only of identifying jokes, but explaining why a particular joke is funny.

But consistently hilarious robots are a ways off. While Microsoft’s AI found that brevity played best in the New Yorker’s caption section, a University of Michigan system favored downbeat punchlines. Reconciling the two — deriving an objective humor metric — will take a lot more algorithmic fine-tuning. “Computers can be a great aid,” Mankoff told Bloomberg, “[but] there are more things in humor and human beings than are dreamt of in even Microsoft’s algorithms.”

Kyle Wiggers
Former Digital Trends Contributor
Kyle Wiggers is a writer, Web designer, and podcaster with an acute interest in all things tech. When not reviewing gadgets…
Microsoft ‘special event’ set for September – Surfaces and AI announcements likely
microsoft

Microsoft has announced it will be holding what it describes as a “special event” in New York City on Thursday, September 21, though at the current time, it’s giving little away on what it’s about.

The expectation is that the tech giant will unveil some new products, though at this point it’s only possible to speculate. In that case, updates to its Surface hardware could certainly be incoming, including for its flagship Surface Laptop Studio, which launched two years ago and is therefore due for a refresh.

Read more
Apple’s ChatGPT rival may automatically write code for you
A slide of Xcode running on MacOS Monterey at Apple's WWDC 2021 event

Artificial intelligence (AI) tools like ChatGPT and Bing Chat have exploded in popularity over the past year, yet industry titan Apple has remained conspicuously quiet on the matter. Now, though, we might know what could be in store for us if the Cupertino firm decides to launch its own AI chatbot.

In a recently granted patent (#US-11687830-B2), Apple explains how it could infuse machine learning (ML) tech into its Xcode app, which may allow it to automatically write code for developers. If successful, that could be a major boost for app builders who work within Apple’s ecosystem -- and could mean better apps for users.

Read more
Nvidia GPUs see massive price hike and huge demand from AI
Nvidia RTX 2060 Super and RTX 2070 Super review

It feels like we’ve only just emerged from the debilitating graphics card shortage of the last few years, but a new report suggests we can’t breathe easy just yet. Could a new GPU shortage be on the horizon, or are consumers safe from a return to another nightmare scenario?

According to DigiTimes (via Wccftech), Nvidia is seeing a huge surge in demand for its chips due to the explosion in artificial intelligence (AI) tools like ChatGPT. Nvidia offers a range of graphics cards that excel at AI tasks, including the A100 and H100, and the company is reportedly struggling to keep up in the wake of such massive demand.

Read more