Can AI Master the Art of Humor? | Bob Mankoff | TED

35,140 views ・ 2024-12-04

TED


Please double-click on the English subtitles below to play the video.

00:03
Whether you're thrilled by what AI can do for us
0
3934
2903
00:06
or terrified by what AI is going to do to us,
1
6837
5172
00:12
whether it can be funny, is probably not top of mind for you.
2
12043
4170
00:16
It is for me.
3
16781
1134
00:18
I don't care if it turns all of us into paperclips,
4
18516
4137
00:22
as long as they're funny paper clips.
5
22686
2370
00:25
(Laughter)
6
25089
1034
00:26
And the fact that it makes stuff up, hallucinates,
7
26157
3737
00:29
for me, that's not a bug, that's a feature.
8
29894
3069
00:33
My entire career was making stuff up.
9
33397
4038
00:37
They're called cartoons.
10
37468
2035
00:40
This is probably the most famous one I hallucinated.
11
40304
4671
00:46
There are a number of theories of humor that could explain this cartoon.
12
46410
3937
00:50
There's the superiority theory.
13
50381
2636
00:53
You're the guy on the phone, not on the other end.
14
53050
4505
00:57
The incongruity theory.
15
57588
1602
00:59
There's a mismatch between the politeness of the language
16
59223
4671
01:03
and the rudeness of the message.
17
63894
2136
01:06
And the benign violation theory of humor,
18
66063
2669
01:08
which is sort of a golden ratio theory of humor, if you will.
19
68766
5205
01:13
See, I got in that term
20
73971
1602
01:15
(Laughter)
21
75606
1602
01:17
Which says, for something to be funny,
22
77908
1835
01:19
it has to have just the right amount of wrong.
23
79777
5105
01:25
Now I didn’t use any theories to create that cartoon.
24
85349
3604
01:28
And I once said at a talk at Google,
25
88986
2536
01:31
there is no algorithm for humor.
26
91555
2636
01:34
But now with the rapid pace of AI,
27
94225
3403
01:37
I have to wonder, could there be a bot Mankoff?
28
97661
4205
01:42
(Laughter)
29
102500
1835
01:47
You might think my reflexive answer to this would be, how about never?
30
107705
4938
01:55
But while I don't want to be replaced by a bot,
31
115446
3070
01:58
I'm not above being helped by it.
32
118516
2268
02:01
Steve Jobs famously said
33
121652
1969
02:03
that computers are a bicycle for the mind.
34
123654
3770
02:07
If that's the case, what's AI, a rocket ship?
35
127424
2837
02:10
And at my age, you know what?
36
130294
1935
02:12
I'd settle for a walker.
37
132263
2202
02:14
(Laughter)
38
134498
2503
02:20
The fears of machines replacing humans are not new.
39
140004
6072
02:26
This cartoon anticipates by five decades
40
146110
5372
02:31
what's now called the alignment problem,
41
151515
2970
02:34
when the goals of machines and humans go horribly awry,
42
154485
5839
02:40
at least for one of the parties.
43
160324
2703
02:43
Cartoons don't happen in a cultural vacuum.
44
163761
4504
02:48
They're part of the zeitgeist.
45
168299
2435
02:51
Here's a contemporaneous article
46
171569
4004
02:55
about the guy who invented cybernetics,
47
175573
2402
02:58
Norbert Wiener,
48
178008
1268
02:59
who said thinking machines were putting us on the eve of destruction.
49
179310
5305
03:05
Now sadly and tragically,
50
185449
3470
03:08
Norbert Wiener died,
51
188953
2302
03:11
but not by a thinking machine,
52
191288
1669
03:12
but by an unthinking one, he was run over by a bus.
53
192957
3370
03:16
(Laughter)
54
196327
2035
03:18
That's not true.
55
198362
1301
03:19
I made that up.
56
199697
1334
03:21
(Laughter)
57
201031
1468
03:22
I hallucinated it because it's funny.
58
202533
4237
03:26
(Laughter)
59
206804
1968
03:28
Here's a great update of that older cartoon.
60
208806
3770
03:33
"To think this all began with letting Autocomplete finish our sentence,"
61
213210
5172
03:38
which indeed it did.
62
218415
2102
03:40
So these fears are not new, not novel.
63
220517
5339
03:45
But now, in the immortal words of Nigel Tufnel of "Spinal Tap,"
64
225856
5839
03:51
they go to 11.
65
231695
1769
03:55
They're cranked to the max.
66
235032
2169
03:57
And here is one of the maximum cranksters of all time,
67
237234
4438
04:01
Elon Musk, saying,
68
241705
2303
04:04
"AI is one of the biggest threats to humanity."
69
244041
3737
04:07
But certainly not as big as Elon Musk.
70
247811
3404
04:11
(Laughter)
71
251615
1502
04:13
(Applause and cheers)
72
253150
6006
04:19
People like Elon have a p(doom) number.
73
259156
3537
04:22
That's the probability AI is going to wipe us out.
74
262726
3704
04:28
I think p(doom) is p(dumb).
75
268065
2736
04:30
(Laughter)
76
270834
1268
04:32
I'm interested in p(funny),
77
272870
2269
04:35
and I’ve been using the New Yorker caption contest
78
275139
3670
04:38
to look into the probability of that.
79
278842
3204
04:43
Every week since 2005,
80
283514
2736
04:46
the New Yorker has presented a cartoon without a caption,
81
286250
3737
04:50
and challenged its readers to come up with the winning caption
82
290020
4171
04:54
in the caption contest.
83
294224
1836
04:56
And for that,
84
296093
1134
04:57
they get the glory of being in the New Yorker magazine,
85
297261
3837
05:01
a huge amount of money,
86
301131
2403
05:03
house in the Bahamas that Sam Bankman-Fried --
87
303534
4104
05:07
Actually, it's just the glory.
88
307638
1968
05:12
On the page of the New Yorker,
89
312076
1534
05:13
there's a contest you enter,
90
313644
2602
05:16
the finalists from a few weeks before,
91
316280
2502
05:18
three finalists,
92
318816
1201
05:20
and a winning caption.
93
320050
1635
05:21
So it's staggered in that way.
94
321719
2535
05:24
Each one of these images are funny.
95
324254
3838
05:28
They're incongruous.
96
328125
1301
05:29
You'd certainly think they're humorous,
97
329460
2302
05:31
but they're not funny in a way that you get.
98
331762
2402
05:34
They're not mentally funny.
99
334198
1935
05:36
To make it that,
100
336166
1168
05:37
of course, you need the right caption.
101
337368
3269
05:40
"Any happily married people here tonight?"
102
340671
2436
05:43
(Laughter)
103
343140
1435
05:46
OK, but with up to 10,000 captions
104
346176
4605
05:50
every week,
105
350814
1335
05:52
how do you select that?
106
352182
1869
05:54
Now from 2005 to early 2016,
107
354084
5239
05:59
that burden fell on me and my assistants,
108
359356
3837
06:03
but mainly my assistants, to cull,
109
363227
2636
06:05
to try to cull the good captions
110
365896
2903
06:08
from what we uncharitably call the “craptions.”
111
368832
3304
06:12
(Laughter)
112
372169
2202
06:15
But then, in early 2016,
113
375672
4305
06:20
for the benefit of all humanity,
114
380010
4505
06:24
but mainly for me and my assistants,
115
384548
3570
06:28
we switched to crowdsourcing.
116
388152
2535
06:30
So now for every contest, you vote online,
117
390721
4337
06:35
and a funniness score from over a million judgments
118
395058
4271
06:39
is given for all the captions.
119
399363
3003
06:42
Now overall, I’m against mob rule,
120
402366
2636
06:45
but actually in this case,
121
405035
1735
06:46
the mob does a pretty good job.
122
406804
2602
06:49
Usually, the finalist almost certainly almost all the time, really,
123
409406
4638
06:54
the finalists come from the top 200 captions.
124
414077
4739
06:59
Well, this is popular, not only with the New Yorker,
125
419616
3337
07:02
but it's caught the eye of data scientists,
126
422986
3237
07:06
creativity researchers,
127
426223
1702
07:07
cognitive scientists,
128
427925
1601
07:09
and AI, of course, and everything adjacent to AI.
129
429526
4271
07:14
So that's why I wasn't really surprised when --
130
434431
4371
07:19
Oh, it's up there, thanks.
131
439369
1602
07:21
I wasn't really surprised when Vincent Vanhoucke,
132
441638
3604
07:25
then the chief data scientist for Google's DeepMind,
133
445242
3971
07:29
now their head of robotics,
134
449246
2369
07:31
sent me this email
135
451648
2803
07:34
indicating that winning the caption contest,
136
454485
4037
07:38
which was actually somewhat of the sine qua non of human creativity
137
458522
5172
07:43
and intelligence.
138
463727
2436
07:49
And I was also flattered by that, of course,
139
469066
2702
07:51
but I didn't think they had any chance at all of doing it.
140
471768
3571
07:55
And it turned out that was the case.
141
475906
3036
07:58
All of the AI juju circa 2016
142
478942
4772
08:03
wasn't up to the task.
143
483747
2236
08:06
It really couldn't even decode the image.
144
486016
2803
08:08
So for the sine qua non of the human mind,
145
488819
3704
08:12
DeepMind was non compos mentis and out of its depth.
146
492556
4338
08:16
But time and AI marched on,
147
496927
5439
08:22
AI marching quadruple time.
148
502399
2202
08:24
Vincent gets back to me and says,
149
504635
2335
08:27
while human creativity might still be out of reach,
150
507004
3670
08:30
we think we have understanding well in hand.
151
510707
3737
08:34
He sends me this ridiculous, uber-nerd example
152
514444
5873
08:40
of explaining humor.
153
520350
1535
08:41
And I said, you know what?
154
521919
1401
08:43
Let me give you a cartoon I did in 1997
155
523820
3671
08:47
of this other watershed moment
156
527524
2669
08:50
when IBM's DeepMind defeated Garry Kasparov,
157
530227
4304
08:54
the world chess champion.
158
534565
2102
08:56
And here's the cartoon I did then, and it says,
159
536700
4004
09:00
"No, I don't want to play chess.
160
540737
1569
09:02
I just want you to reheat the lasagna."
161
542306
2168
09:04
(Laughter)
162
544508
1835
09:07
I rate this explanation a solid B-minus.
163
547377
3671
09:11
But so what if it was an A?
164
551748
2203
09:13
Is there ever going to be a beautiful
165
553984
3036
09:17
New Yorker cartoon anthology of explanations?
166
557020
5105
09:22
I don't think so.
167
562693
1434
09:24
But the idea that understanding humor
168
564127
4672
09:28
could be a stepping stone to creating it
169
568832
2870
09:31
sort of made sense.
170
571735
1501
09:34
This paper I was involved in
171
574504
2403
09:36
tried to look at compared to smart humans,
172
576940
3504
09:40
what would the best AIs do on three tasks?
173
580477
3437
09:44
Could they,
174
584281
1601
09:45
from winning captions from different contests
175
585916
3003
09:48
match to the right image?
176
588919
1835
09:50
Could they, between two captions,
177
590787
1802
09:52
one that won and the one that was pretty good,
178
592623
2168
09:54
pick the right one?
179
594791
1202
09:56
And could they explain the humor?
180
596026
1602
09:57
Now for all of them, you know what?
181
597628
1835
09:59
Yeah, humans were still ahead,
182
599463
3403
10:02
but AI is closing the gap.
183
602899
2770
10:06
The most interesting thing about this paper for me
184
606436
2336
10:08
was it showed a pathway
185
608805
1635
10:10
for which you could create cartoon humor.
186
610474
3737
10:14
And that was how we trained the contest.
187
614911
4138
10:19
For 660 --
188
619082
2570
10:21
653 contests,
189
621685
3103
10:24
the AI was trained, fine-tuned,
190
624821
2203
10:27
on these examples which humans annotated.
191
627057
3604
10:30
A description of the cartoon, explanation of the humor.
192
630694
3737
10:34
OK, if you've used ChatGPT, you sort of get the idea now.
193
634431
4204
10:40
Put a number of examples like this.
194
640971
2469
10:43
Put it in the prompt window.
195
643874
2435
10:46
Rinse and repeat and you get new cartoons.
196
646877
3937
10:50
Well Jack Hessel, the chief author of the paper,
197
650847
4071
10:54
did something more sophisticated.
198
654951
2069
10:57
And what he did was create 50 synthetic new cartoons
199
657054
3703
11:00
generated from this old data
200
660791
3069
11:03
in which there were five options for captions.
201
663894
2435
11:06
I picked four of them,
202
666363
1868
11:08
and I gave them to cartoonist Shannon Wheeler to draw up.
203
668265
5005
11:13
Here are the results.
204
673270
2536
11:16
Now Shannon said, well, these are weird.
205
676273
4004
11:20
They don't really seem like --
206
680310
2136
11:22
it's sort of an uncanny valley of cartoons.
207
682479
2736
11:25
They're not quite there.
208
685215
1668
11:26
But it is interesting.
209
686917
1434
11:28
All of these are new cartoons that never appeared anywhere
210
688385
4905
11:33
that are an idea of human --
211
693323
3370
11:36
of computer creativity.
212
696693
2703
11:40
And also when you look at it, what it is,
213
700130
2302
11:42
it's weirdness in, weirdness out.
214
702466
1768
11:44
The caption contest cartoons are weird.
215
704267
2870
11:48
But I do see this now as a tool for brainstorming for cartoonists,
216
708705
5539
11:54
in that we played this completely straight.
217
714277
3003
11:57
Shannon wasn't able to manipulate the description of the picture
218
717314
3470
12:00
or the caption.
219
720817
1168
12:02
Had he done that, it could have been better.
220
722018
2103
12:04
Also, we could have asked it to make more.
221
724154
3470
12:07
We could have put in the rankings for the humor.
222
727657
2536
12:10
We could do all this to improve it.
223
730227
2135
12:12
So quality comes out of quantity.
224
732395
4372
12:16
You can get an awful lot of quantity here.
225
736767
2035
12:18
You can have a human being in the loop to do this.
226
738835
3737
12:23
But ...
227
743974
1168
12:26
I would not go so far
228
746777
3536
12:30
to give AI a true human sense of humor.
229
750347
4671
12:35
A human sense of humor is not about making a joke or getting it.
230
755585
5072
12:40
It's rooted in our vulnerability.
231
760690
3804
12:45
It's the blessing we get for the curse of mortality.
232
765462
6139
12:52
Mark Twain said the true source of humor
233
772402
3737
12:56
is not joy but sorrow.
234
776173
3036
13:00
If we gave AI the thousand natural shocks
235
780610
5472
13:06
that flesh is heir to,
236
786116
4004
13:10
that would be cruel.
237
790120
1568
13:12
If we did that,
238
792856
1935
13:14
it might very well want to wipe us out.
239
794791
2770
13:17
And if they did, all I ask is that they take Elon first.
240
797594
5706
13:23
(Laughter)
241
803333
2503
13:26
Thank you.
242
806236
1168
13:27
(Applause)
243
807437
4905
13:32
Now, I think, if I'm not mistaken,
244
812375
3537
13:35
we had a caption contest here, right?
245
815946
2869
13:38
It's on the next slide
246
818849
1501
13:40
that I had to decide from U of M people.
247
820383
4271
13:44
And this was the image we created for the contest.
248
824654
4872
13:49
It's that image.
249
829559
1735
13:51
And the one I picked up
250
831328
2936
13:54
by Kavya Davuluri was this one.
251
834297
5406
13:59
"Above all, I asked the class of 3000 not to forget your humanity."
252
839703
5238
14:04
(Laughter)
253
844975
1167
14:06
Now what I will say is, that is really close to a good caption.
254
846176
4638
14:10
(Laughter)
255
850847
1668
14:13
Mark Twain said the difference between the right word and the wrong word
256
853383
3770
14:17
is the difference between the lightning and the lightning bug.
257
857187
3704
14:22
That caption should be
258
862225
1468
14:23
"Above all, I ask that the class of 3000 to not forget my humanity."
259
863727
6439
14:30
(Laughter)
260
870166
1168
14:31
Now you have a joke.
261
871368
1167
14:32
Thank you very much.
262
872569
1168
14:33
(Applause)
263
873770
1135
About this website

This site will introduce you to YouTube videos that are useful for learning English. You will see English lessons taught by top-notch teachers from around the world. Double-click on the English subtitles displayed on each video page to play the video from there. The subtitles scroll in sync with the video playback. If you have any comments or requests, please contact us using this contact form.

https://forms.gle/WvT1wiN1qDtmnspy7