Can a machine be surprised? A reader wrote in to ask Arun Devaraj

artificial intelligencelanguage modelshow it works

Can a machine be surprised? A reader wrote in to ask

A reader's question about whether a machine can be surprised, and the honest answer underneath the clever one.

by Arun Devaraj 3 minute read

A reader wrote in after the last piece to ask a question I have been turning over since: can one of these systems be surprised? Not startled, not interrupted, but surprised in the way a person is when the world does something they genuinely did not expect. It is a better question than it looks, so let me try to earn an honest answer rather than a clever one.

Start with what surprise is in us. You are surprised when reality and your prediction come apart. You expected the top stair and there was no top stair. That jolt is your model of the world being corrected against the world itself, and it carries a feeling, which is the part that matters to us. The feeling is what makes you remember the missing stair for the rest of your life.

Now the machine. A large language model is, under the hood, a prediction engine. It is forever guessing the next piece of text, and it keeps a number for how probable it thought each piece was. When the actual next word is one it rated as very unlikely, there is, in a narrow and real sense, a gap between what it predicted and what arrived. There is even a word for how badly a model was caught out by a stretch of text. It is called perplexity, which is a nicely honest name. So if surprise just means a prediction missing its mark, then yes, something in there is being caught out all the time.

But notice what is missing. The gap is measured, not felt. There is no jolt, no catch of breath, nothing that makes this particular miss matter more than the ten thousand other misses in the same paragraph. The model does not go quiet afterwards and think about the stair. It does not change the way it walks. The number updates and the sentence rolls on. What we call surprise is not really the gap at all. It is what the gap does to the rest of your day, and the machine does not have a rest of its day.

This is the thing that usually gets left out of these conversations, so I will say it plainly. These systems are extraordinary at the measuring and have nothing whatever of the feeling. It is tempting, when a model produces something you did not expect, to say it surprised itself. It did not. You were surprised. The surprise was yours, borrowed for a moment and handed back across the screen, and the machine was exactly as untroubled by the brilliant answer as by the dull one.

I find that worth holding on to, and not as a put down. A tool that can be caught out without ever being troubled is a strange and useful thing. It means you can push it, test it, feed it the odd case all day long, and it will never flinch or sulk or decide it has had enough of you. The flinching is still our department. So is the remembering. When the machine does something that makes you sit up, the part worth paying attention to is not happening in the machine. It is happening in you, and it is yours to keep.

Whether or not machines can be surprised, people will be, and Life After AI imagines five households in 2035 and what AI changes in their homes, jobs, money and friendships.

More from the journal

All of the journal Every piece, by month

More by Arun Devaraj

Discussion

House rules

  • Sign how you like, but be one person. You may use the name on your account, a name of your own choosing, or none at all. What you may not do is wear somebody else's: no pen name of ours, no member's name but your own, and nothing that reads as the studio or its staff.
  • Argue with the point, not the person. Robust disagreement is welcome; contempt is not.
  • Nothing unlawful, hateful or harassing, nothing that identifies a private individual, and no advertising.
  • Post only what is yours to post. That includes other people's writing and private correspondence.
  • We may hide a remark, remove it, or close an account to the discussions, and we may do so without notice.

What a chosen name is and is not

A chosen name hides you from the room, not from us. Every remark stays linked to the account that wrote it, and the studio can see that link whenever it needs to. Please treat it as a way to speak freely, not as a way to say something you would not put your name to.

Where responsibility sits

Remarks in this thread are written by members and published without prior review. They are the views of the people who wrote them and not those of eQuill Studio. We do not verify their accuracy, and we accept no liability for them or for any decision taken in reliance on them.

If something here breaks these rules or infringes your rights, report it and we will look at it promptly.

This thread belongs to this piece alone. Members choose how they are signed, and can change it from the box below. When the studio or the writer joins in, the page says so with a badge, so you always know who is talking.

OPENING THE THREAD…