< 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?
  • Not Synced
    Do we take that William Blake
    is somehow more of a human
  • Not Synced
    than Gertrude Stein?
  • Not Synced
    Or that Gertrude Stein
    is more of a computer than William Blake?
  • Not Synced
    (Laughter)
  • Not Synced
    These are questions I've been
    asking myself
  • Not Synced
    for around two years now,
  • Not Synced
    and I don't have any answers.
  • Not Synced
    But what I do have are a bunch
    of insights
  • Not Synced
    about our relationship with technology.
  • Not Synced
    So my first insight is that
  • Not Synced
    for some reason we associate
    poetry with being human,
  • Not Synced
    so that when we ask, can a computer
    write poetry,
  • Not Synced
    we're also asking,
  • Not Synced
    what does it mean to be human
  • Not Synced
    and how do we put boundaries
    around this category?
  • Not Synced
    How do we say who or what
    can be part of this category?
  • Not Synced
    This is an essentially
    philosophical question, I believe,
  • Not Synced
    and it can't be answered
    with a Yes or No test
  • Not Synced
    like the Turing Test.
  • Not Synced
    I also believe that Alan Turing
    understood this
  • Not Synced
    and that when he devised his test,
  • Not Synced
    he was doing it as a philosophical
    provocation.
  • Not Synced
    So my second insight is that
    when we take the Turing Test for poetry,
  • Not Synced
    we're not really testing
    the capacity of the computers
  • Not Synced
    because poetry-generating algorithms,
  • Not Synced
    they're pretty simple
  • Not Synced
    and have existed, more or less,
    since the 1950s.
  • Not Synced
    What we are doing with the Turing Test
    for poetry, rather,
  • Not Synced
    is collecting opinions about what
    constitutes humaness.
  • Not Synced
    So, what I've figured out,
  • Not Synced
    we've seen this when
    earlier today,
  • Not Synced
    we say that William Blake
    is more of a human
  • Not Synced
    than Gertrude Stein.
  • Not Synced
    Of course, this doesn't mean
    that William Blake
  • Not Synced
    was actually more human
  • Not Synced
    or that Gertrude Stein
    was more of a computer.
  • Not Synced
    It simply means that the
    category of the human is unstable.
  • Not Synced
    This has led me to understand
    that the human
  • Not Synced
    is not a cold, hard fact.
  • Not Synced
    Rather, it is something that's
    constructed
  • Not Synced
    with our opinions and
    something that changes overtime.
  • Not Synced
    So my final insight is that
    the computer, more or less,
  • Not Synced
    works like a mirror
    that reflects any idea of a human
  • Not Synced
    that we show it.
  • Not Synced
    We show it Emily Dickinson,
  • Not Synced
    it gives Emily Dickinson
    back to us.
  • Not Synced
    We show it William Blake,
  • Not Synced
    that's what it reflects back to us.
  • Not Synced
    We show it Gertrude Stein,
  • Not Synced
    what we get back is Gertrude Stein.
  • Not Synced
    More than any other bit of technology,
  • Not Synced
    the computer is a mirror that reflects
    any idea of the human we teach it.
  • Not Synced
    So I'm sure a lot of you
    have been hearing about
  • Not Synced
    artificial intelligence recently.
  • Not Synced
    And much of the conversation is,
    can we build it?
  • Not Synced
    Can we build an intelligent computer,
  • Not Synced
    can we build a creative computer?
  • Not Synced
    What we seem to be asking
    over and over
  • Not Synced
    is can we build a human-like computer?
  • Not Synced
    But what we've seen just now
  • Not Synced
    is that a human is not a scientific fact,
  • Not Synced
    but it's an ever-shifting
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