Unsupervised joke generation from big data [PDF], a paper by University of Edinburgh researchers Sasa Petrovic and David Matthews, describes an ingenious and successful method for teaching a computer to make up jokes like "I like my relationships like I like my source, open;" "I like my coffee like I like my war, cold;" and "I like my boys like I like my sectors, bad." The researchers wrote code that called on Google's n-gram database to find noun-attribute pairs, zero in on nouns with ambiguous meaning, and automatically generate jokes.
The problem in implementing such a model is in getting the necessary data. The word frequencies needed were gathered from Google's n-gram database, which was augmented by tagging words with their part of speech using Wordnet. This was then used to work out how often each noun occurred with the same attribute and the other statistics needed to apply the rules given above.
Next some human jokes, harvested from Twitter, were mixed in and a people were asked to rate the set as funny or not funny. Of the human jokes 33% were judged to be funny compared to the computer generated jokes of which 16% were funny. You could say that currently AI is half as funny as a human.
The joking doesn't stop there as the authors also couldn't resist naming their computation of the log likelihood of a joke as the LOcal Log-likelihood or LOL and when ranked according to LOL we get Rank OF Likelihood or ROLF. Hmmm.
AI Is Funny - A Generative Joke Model [Alex Armstrong/I Programmer]
My UK publisher, Head of Zeus, has published the official tour schedule for the British tour for Walkaway, with stops in Oxford (with Tim Harford), London (with Laurie Penny), Liverpool (with Chris Pak), Birmingham, and the Hay Literary Festival (with Dr Adam Rutherford). Hope to see you there!
My publicist just found an extra box of the cool promotional Walkaway multitools, and she’s generously offered to give them to the next 100 people to reserve tickets to the May 7th Walkaway event at Chicago’s Royal George Theater, where I’m presenting with CARDS AGAINST HUMANITY creator Max Temkin (current ticket-holders, don’t worry, you get […]
Carol from Cheapass Games writes, “In our continuing quest to bring back the very best classic Cheapass Games, we’re creating a new boxed set of Button Men, our strategy dice combat game. This time around, the characters will appear on cards, rather than pin-back buttons, but since they’re all 1950s era gangsters, the ‘button men’ […]
Bamboo has lots of uses beyond just being panda food. Things like bikes, roads, scaffolding, and musical instruments are made from the fast-growing grass. But unless you are participating in a tropical-themed LARP, you probably wouldn’t want a shirt made from bamboo stalks. So why do bamboo bed sheets make any sense? Because yarn extracted from […]
If you want to work in tech, but don’t have any desire to code web apps to help businesses sell things to other business, you might want to consider a career in cybersecurity. Judging from the apparent complete infiltration of Russian hackers in American cyberspace, it seems fair to speculate that there’s a major shortage of […]
All moms are different. But all moms like getting flowers on Mother’s Day, and that’s a fact (not, however a fact we can document in any fashion.) Instead of getting chewed out for forgetting to call her on the second Sunday of May, you can take care of it ahead of time with Teleflora’s flower […]