[Link] AI advances: computers can be almost as funny as people

post by shminux · 2013-08-02T18:41:08.410Z · score: 7 (9 votes) · LW · GW · Legacy · 17 comments

Contents

  Unsupervised joke generation from big data
    Sasa Petrovic and David Matthews
  Abstract
None
17 comments

"Our model significantly outperforms a competitive baseline and generates funny jokes 16% of the time, compared to 33% for human-generated jokes."

From this paper:

Unsupervised joke generation from big data

Sasa Petrovic and David Matthews

The 51st Annual Meeting of the Association for Computational Linguistics - Short Papers (ACL Short Papers 2013) 
Sofia, Bulgaria, August 4-9, 2013

 


 

Abstract

Humor generation is a very hard problem. It is difficult to say exactly what makes a joke funny, and solving this problem algorithmically is assumed to require deep semantic understanding, as well as cultural and other contextual cues. We depart from previous work that tries to model this knowledge using ad-hoc manually created databases and labeled training examples. Instead we present a model that uses large amounts of unannotated data to generate I like my X like I like my Y, Z jokes, where X, Y, and Z are variables to be filled in. This is, to the best of our knowledge, the first fully unsupervised humor generation system. Our model significantly outperforms a competitive baseline and generates funny jokes 16% of the time, compared to 33% for human-generated jokes.

 

From The Register:

It uses 2,000,000 noun-adjective pairs of words to draw up jokes "with an element of surprise", something the creators claim is key to good comedy.

...

 jokes calculated by the software include:

17 comments

Comments sorted by top scores.

comment by calef · 2013-08-02T18:44:42.254Z · score: 12 (12 votes) · LW · GW

The link to the actual paper is http://homepages.inf.ed.ac.uk/s0894589/petrovic13unsupervised.pdf

comment by ikrase · 2013-08-02T19:06:47.319Z · score: 3 (3 votes) · LW · GW

Of course, the phrases that appear in the paper are the funnest...

comment by sediment · 2013-08-03T20:52:33.236Z · score: 2 (2 votes) · LW · GW

Two comments, one trivial and one more important:

trivial: personally, I don't think any of the jokes are really very funny. Then again, I never really liked the particular formula they're using, and I'm willing to accept that my taste in humour might be a little idiosyncratic.

important: I might be stating the obvious here, but I don't think it's really that enlightening to compare this with human joke-making, as I think they're mostly doing different things. Although the computer can do a passable job at filling in the variables for a given formula, that's a far cry from coming up with the formula in the first place. That's the impressive act of creativity, and after-the-fact mimicry of the same is much less impressive. When a computer gag program is flexible enough to come up with less stereotyped, formulaic gags, then I'll be impressed.

I'm reminded of, for example, EMI, Experiments In Musical Intelligence, David Cope's computer program capable of writing startlingly good pieces in the style of dead composers - but, of course, unable to come up with a distinctive, expressive style of its own.

comment by Vladimir_Nesov · 2013-08-03T21:08:45.603Z · score: 1 (1 votes) · LW · GW

That's the impressive act of creativity, and after-the-fact mimicry of the same is much less impressive.

This reminds me of the following articles, which probably don't reflect your intended sentiment, but might help some readers:

comment by sediment · 2013-08-03T22:29:58.225Z · score: 0 (0 votes) · LW · GW

Nice. For what it's worth, my post's sentiment was pretty much wholescale cribbed from one or two of the essays in Hofstadter's book, Metamagical Themas.

comment by CronoDAS · 2013-08-03T04:48:25.351Z · score: 2 (4 votes) · LW · GW

I like my relationships like I like my source code... open

That's really good.

comment by MixedNuts · 2013-08-04T17:54:12.653Z · score: 0 (0 votes) · LW · GW

I've heard this joke before I heard of the paper, and found it funny. I'm surprised nobody's come up with that one before.

comment by [deleted] · 2013-08-04T16:10:04.107Z · score: 1 (1 votes) · LW · GW

There's another abstract on this topic here: http://acl2013.org/site/short/2316.html

I'm not sure how to find the actual paper link, though someone posted this one below.

comment by Document · 2013-08-03T07:50:55.400Z · score: 1 (1 votes) · LW · GW

I haven't read the article or the paper, but in fairness, humans are also pretty good at finding humor in things (there are older examples).

comment by shminux · 2013-08-02T20:56:11.878Z · score: 1 (3 votes) · LW · GW

Humor generation is a very hard problem.

Unfortunately computers can't tell which of the jokes they generate are actually funny, which is an even harder problem. I wonder if there is any research in that direction.

EDIT: apparently they can.

comment by buybuydandavis · 2013-08-03T08:08:58.710Z · score: 4 (4 votes) · LW · GW

Use joke evaluator to filter output of joke generator. Bam! Massive improvement on joke hit rate.

comment by Lumifer · 2013-08-02T19:19:04.401Z · score: -3 (7 votes) · LW · GW

In other words, the paper's authors consider funny 16% of random combinations of X, Y, and Z inserted into the pattern of "I like my X like l like my Y, Z".

comment by thomblake · 2013-08-02T19:37:21.193Z · score: 10 (10 votes) · LW · GW

No, the completely random baseline generated funny jokes 3.7% of the time.

comment by Lumifer · 2013-08-02T19:56:02.418Z · score: 10 (10 votes) · LW · GW

They get bonus points for their metrics of LOcal Log-likelihood (aka LOL-likelihood) and Rank OF Likelihood (aka ROFL).

They also get demerits for not discussing the error bars on their estimates given that they had only five testers.

comment by sediment · 2013-08-03T20:48:34.301Z · score: 0 (2 votes) · LW · GW

I actually quite like the idea of completely random gags in this formula. I feel like I might even prefer them to the lame ones given by the ostensibly smarter algorithm. It could be a rich vein of absurdist, non-sequitur laughs.

comment by ikrase · 2013-08-04T21:48:32.067Z · score: 5 (5 votes) · LW · GW

I think that many nonsequitor jokes are funny more by targeted nonsequitorness than by randomness.