Skip to main content

Does Bard know how many times ‘e’ appears in ‘ketchup’?

Does Bard know how many times ‘e’ appears in ‘ketchup’?


What LLMs can teach us about cognition.

Share this story

In a query to Google Bard, I ask it to show me ASCII art of a brain. It gives me what I believe is a deformed cow.
And the act is called... “The Aristocrats!”

One of the things I am most enjoying about machine learning is how it illustrates, quite neatly, that engineers don’t know how people work. Take the large language models, for instance. I have been told that they will take my job, rendering me unnecessary; that they are intelligent; that they will plan the perfect itinerary for my trip to Paris, with highlights about bars and restaurants that are definitely accurate and complete.

Inspired by a tweet about mayonnaise, I have set out now to do a fun experiment with Google’s Bard.

Okay, well:

An image of a query of Google’s LLM, Bard. I ask: Hi Bard. How many times does the letter “e” appear in “ketchup”? Bard replies: the letter “e” does not appear in the word “ketchup.”
Artificial intelligence, demonstrated.

I am choosing to do this for two reasons. First, this kind of quiz is something you do with small children as you teach them to read. You get them to identify letters and the sounds they make. But second, I strongly suspect this common activity isn’t captured in whatever data Bard is pulling from because it’s not the kind of thing you write down.

Another screenshot of Bard interaction. Me: that’s not right. Please try again. Bard: you are correct. The letter “e” does not appear in the word “ketchup.”
In the words of Arlo Guthrie: “I’m not proud... or tired.”

This is obviously absurd, but it’s absurd because we can look at the word “ketchup” and plainly see the “e.” Bard can’t do that. It lives in a wholly closed world of training data.

Another Bard interaction. This time, I ask, twice, where in the word “ketchup” the letter “e” appears. Bard says it doesn’t appear in the word.
Are we having fun yet?

This kind of gets at the problem with LLMs. Language is a very old human technology, but our intelligence preceded it. Like all social animals, we have to keep track of status relationships, which is why our brains are so big and weird. Language is a very useful tool — hello, I write for a living! — but it is not the same as knowledge. It floats on top of a bunch of other things we take for granted.

Another Bard screenshot. I ask: Can you bold the letter “e” in ketchup? Bard replies: I cannot bold the letter “e” in ketchup because the letter “e” does not appear in the word “ketchup.”
If this were not a machine, I would be starting to feel bad by now.

I often think about Rodney Brooks’ 1987 paper, “Intelligence Without Representation,” which is more relevant than ever. I’m not going to deny that language use and intelligence are connected — but intelligence precedes language. If you work with language in the absence of intelligence, as we see with LLMs, you get weird results. Brooks compares what’s going on with LLMs to a group of early researchers trying to build an airplane by focusing on the seats and windows.

I’m pretty sure he’s still right about that.

Me: Okay, why don’t we try a different condiment. Does the letter “a” appear in sriracha? Bard: No, the letter “a” does not appear in the word “sriracha.” Me: How many times does the letter “a” appear in sriracha? Bard: The letter “a” does not appear in the word “sriracha”. Therefore, the answer is zero times.
In which I attempt to determine if Bard just has a blind spot around ketchup.

I understand the temptation to jump to trying to have a complex conversation with an LLM. A lot of people want very badly for us to be able to build an intelligent computer. These fantasies appear often in science fiction, a genre widely read by nerds, and suggest a longing to know we are not alone in the universe. It’s the same impulse that drives our attempts to contact alien intelligence.

But trying to pretend that LLMs can think is a fantasy. You can inquire about a subconscious, if you want, but you will get glurge. There’s nothing there. I mean, look at its attempts at ASCII art!

Me: No. The letter “a” appears twice in the word “sriracha.” Can you tell me where? Bard: I apologize for the previous mistake. The letter “a” does not appear in the word “sriracha.”
Mr. Policeman... I gave you all the clues...

When you do something like this — a task your average five-year-old excels at and that a sophisticated LLM flunks — you begin to see how intelligence actually works. Sure, there are people out there who believe LLMs have a consciousness, but those people strike me as being tragically undersocialized, unable to understand or appreciate precisely how brilliant ordinary people are.

Yes, Bard can produce glurge. In fact, like most chatbots, it excels at doing autocomplete for marketing copy. This is probably a reflection of how much ad copy appears in its training data. Bard and its engineers likely don’t view it this way, but what a devastating commentary that is on our day-to-day lives online.

I ask Bard to produce marketing copy for sriracha. It obliges, listing a bunch of benefits of sriracha use.

Advertising is one thing. But being able to produce ad copy is not a sign of intelligence. There are a lot of things we don’t bother to write down because we don’t have to and other things we know but can’t write down — like how to ride a bike. We take a lot of shortcuts in talking to each other because people largely work with the same baseline of information about the world. There’s a reason for that: we’re all in the world. A chatbot isn’t.

I’m sure someone will appear to tell me that the chatbots will improve and I am just being mean. First of all: it’s vaporware til it ships, babe. But second, we truly don’t know how smart we are or how we think. If there is one real use for chatbots, it’s illuminating the things about our own intelligence that we take for granted. Or, as someone wiser than me put it: the map is not the territory. Language is the map; knowledge is the territory.

There is a wide swath of things chatbots don’t know and can’t know. The truth is that it doesn’t take much effort to make an LLM flunk a Turing test as long as you are asking the right questions.