< Return to Video

Can a computer write poetry?

  • Not Synced
    I have a question:
  • Not Synced
    Can a computer write poetry?`
  • Not Synced
    This is a provocative question.
  • Not Synced
    You think about it for a minute,
  • Not Synced
    and you suddenly have a bunch
    of other questions like:
  • Not Synced
    What is a computer?
  • Not Synced
    What is poetry?
  • Not Synced
    What is creativity?
  • Not Synced
    But these are questions that people
  • Not Synced
    spend their entire lifetime
    trying to answer,
  • Not Synced
    not in a single TED Talk.
  • Not Synced
    So we're going to have to try
    a different approach.
  • Not Synced
    So up here, we have two poems.
  • Not Synced
    One of them is written by a human,
  • Not Synced
    and the other one is written by a computer.
  • Not Synced
    I'm going to ask you to tell me
    which one's which.
  • Not Synced
    Have a go.
  • Not Synced
    Alright, time's up.
  • Not Synced
    Hands up if you think Poem 1
    was written by a human.
  • Not Synced
    Okay, most of you.
  • Not Synced
    Hands up if you think Poem 2
    was written by a human.
  • Not Synced
    Very brave of you.
  • Not Synced
    Because Poem 1 was written
    by the human poet William Blake.
  • Not Synced
    The second one was written by
    an algorithm
  • Not Synced
    that took all the language
    from my Facebook feed one day
  • Not Synced
    and then regenerated it algorithmically
  • Not Synced
    according to methods that I'll describe
    a little bit later on.
  • Not Synced
    So let's try another test.
  • Not Synced
    Again, you haven't got ages to read this,
  • Not Synced
    so just trust your gut.
  • Not Synced
    Alright , time's up.
  • Not Synced
    So if you think the first poem
    was written by a human,
  • Not Synced
    put your hand up.
  • Not Synced
    Okay.
  • Not Synced
    And if you think the second poem
    was written by a human,
  • Not Synced
    put your hand up.
  • Not Synced
    We have, more or less,
    a 50/50 split here.
  • Not Synced
    It was much harder.
  • Not Synced
    The answer is,
  • Not Synced
    the first poem was generated
    by an algorithm called RACTER
  • Not Synced
    that was created back in the 1970s,
  • Not Synced
    and the second poem was written
    by a guy called Frank O'Hara,
  • Not Synced
    who happens to be one
    of my favorite human poets.
  • Not Synced
    (Laughter)
  • Not Synced
    So what we've just done now
    is the Turing Test for poetry.
  • Not Synced
    The Turing Test was first proposed
    by this guy Alan Turing in 1950
  • Not Synced
    in order to answer the question,
  • Not Synced
    can computers think?
  • Not Synced
    Alan Turing believed that if
    a computer was able
  • Not Synced
    to have a to have
    a text-based conversation
  • Not Synced
    with a human,
  • Not Synced
    with such proficiency that the human
    couldn't tell
  • Not Synced
    whether they are talking
    to a computer or a human,
  • Not Synced
    then the computer can be said
    to have intelligence.
  • Not Synced
    So in 2013, my friend
    Benjamin Laird and I,
  • Not Synced
    we created a Turing Test
    for poetry online.
  • Not Synced
    It's called Bot or Not,
  • Not Synced
    and you can go and play it
    for yourselves.
  • Not Synced
    But basically, it's the game
    we just played.
  • Not Synced
    You're presented with a poem,
  • Not Synced
    you don't know whether it was written
    by a human or a computer
  • Not Synced
    and you have to guess.
  • Not Synced
    So thousands and thousands
    of people
  • Not Synced
    have taken this test online
  • Not Synced
    so we have results.
  • Not Synced
    And what are the results?
  • Not Synced
    Well, Turing said that if
    a computer could fool a human
  • Not Synced
    30 percent of the time,
  • Not Synced
    that it was a human,
  • Not Synced
    then it passes the Turing Test
    for intelligence.
  • Not Synced
    We have poems on the Bot or Not database
  • Not Synced
    that have fooled 65 percent
    of human readers into thinking
  • Not Synced
    it was written by a human.
  • Not Synced
    So, I think we have an answer
    to our question.
  • Not Synced
    According to the logic
    of the Turing Test,
  • Not Synced
    can a computer write poetry --
  • Not Synced
    well yes, absolutely it can.
  • Not Synced
    But if you're feeling
    a little bit uncomfortable
  • Not Synced
    with this answer, that's okay.
  • Not Synced
    If you're having a bunch
    of gut reactions to it,
  • Not Synced
    that's also okay because
    this isn't the end of the story.
  • Not Synced
    Let's play our third and final test.
  • Not Synced
    Again, you're going to have to read
  • Not Synced
    and tell me which you think is human.
  • Not Synced
    So hands up if you think Poem 1
    was written by a human.
  • Not Synced
    Hands up if you think Poem 2
    was written by a human.
  • Not Synced
    Woah, that's a lot more people.
  • Not Synced
    So you'd be surprised to find that
    Poem 1
  • Not Synced
    was written by the very human poet
    Gertrude Stein.
  • Not Synced
    And Poem 2 was generated
    by an algorithm called RKCP.
  • Not Synced
    Now before we go on, let me describe,
    very quickly and simply,
  • Not Synced
    how RKCP works.
  • Not Synced
    So RKCP is an algorithm
    designed by Ray Kurzweil,
  • Not Synced
    who's a director of engineering at Google
  • Not Synced
    and a firm believer in
    artificial intelligence.
  • Not Synced
    So, you give RKCP a source test,
  • Not Synced
    it analyzes the source text
  • Not Synced
    in order to find out how it
    uses language,
  • Not Synced
    and then it regenerates language
  • Not Synced
    that emulates that first test.
  • Not Synced
    So in the poem we just saw before,
  • Not Synced
    Poem 2, the one that you all
    thought was human,
  • Not Synced
    it was fed a bunch of poems
  • Not Synced
    by a poet called Emily Dickinson
  • Not Synced
    and looked at the way she used language,
  • Not Synced
    learned the model,
  • Not Synced
    and then it regenerated a model
    according to that same structure.
  • Not Synced
    But the important thing to know
    about RKCP
  • Not Synced
    is it doesn't know the meaning
    of the words it's using.
  • Not Synced
    The language is just raw material,
  • Not Synced
    it could be Chinese,
    it could be in Swedish,
  • Not Synced
    it could be the collected language
    from your Facebook feed for one day.
  • Not Synced
    It's just raw material.
  • Not Synced
    And nevertheless, it's able
    to create a poem
  • Not Synced
    that seems more human
    than Gertrude Stein's poem,
  • Not Synced
    and Gertrude Stein is a human.
  • Not Synced
    So what we've done here is,
    more or less, a reverse Turing Test.
  • Not Synced
    So Gertrude Stein, who's a human,
  • Not Synced
    is able to write a poem that fools
    a majority of human judges
  • Not Synced
    into thinking that it was written
    by a computer.
  • Not Synced
    Therefore, according to the logic
    of the reverse Turing Test,
  • Not Synced
    Gertrude Stein is a computer.
  • Not Synced
    (Laughter)
  • Not Synced
    Feeling confused?
  • Not Synced
    I think that's fair enough.
  • Not Synced
    So far we've had humans
    that write like humans,
  • Not Synced
    we have computers that write
    like computers,
  • Not Synced
    we have computers that
    write like humans,
  • Not Synced
    but we also have,
  • Not Synced
    perhaps the most confusingly,
  • Not Synced
    humans that write like computers.
  • Not Synced
    So what do we take from all of this.
Title:
Can a computer write poetry?
Speaker:
Oscar Schwartz
Description:

more » « less
Video Language:
English
Team:
closed TED
Project:
TEDTalks
Duration:
10:56
  • Just a question:
    shouldn't the subtitles for the poems be written between square brackets since they are shown in slides and not spoken?

    Thank you!

  • A typo at 04:13 It should read "Red" instead of "Reg"

English subtitles

Revisions Compare revisions