Loading video...

Video Failed to Load

Go Home

why do language models think 9.11 > 9.9? at @transluceAI we stumbled upon a surprisingly simple explanation - and a bugfix that doesn't use any re-training or prompting. turns out, it's about months, dates, September 11th, and... the Bible?

375,240 views • 1 year ago •via X (Twitter)

12 Comments

Kevin Meng's profile picture
Kevin Meng1 year ago

even frontier models like Claude-3.5-Sonnet and GPT-4o are puzzlingly bad at comparing numbers. 9.11 is less than 9.9(0), but they seem to think the opposite.

Kevin Meng's profile picture
Kevin Meng1 year ago

(the new Claude-3.5-Sonnet is good at comparing numbers, but it's still not very good at these sorting problems)

Kevin Meng's profile picture
Kevin Meng1 year ago

do models *really* not know this simple stuff? or is there something else going on? the community offered guesses like "it's because of software versioning" or "dates," but re-prompting didn't fix the problem. what a weird mystery. is there really nothing we can do about it?

Kevin Meng's profile picture
Kevin Meng1 year ago

at @transluceAI, we've been working on Monitor, an interpretability interface that reveals the internal computations in language models and lets you control them. i was looking for use-cases to test our interface on when i thought to run the (infamous) 9.9 < 9.11 example.

Kevin Meng's profile picture
Kevin Meng1 year ago

i typed the query in, noticed the incorrect "bigger" token, and ran attribution to find neurons influencing that mistake. we found concepts related to: - the september 11th attacks - biblical verses - dates and months okay, dates, sure, but bible verses? 9/11?

Kevin Meng's profile picture
Kevin Meng1 year ago

i was curious about the biblical verses, so i clicked on that cluster and looked at where those neurons fire highly. turns out they really like verse numbers. notice the numbering system - Matthew 8:5 comes before 8:13. i'd have never guessed this!

Kevin Meng's profile picture
Kevin Meng1 year ago

i tried prompting the model not to think of these things, but that didn't help. i guess models aren't very good at controlling what they think

Kevin Meng's profile picture
Kevin Meng1 year ago

so why don't we try direct neuron interventions? we can directly stop the model from interpreting these numbers as dates or biblical verses, by setting those neuron activations to 0. and that works! zeroing out september 11th attack neurons also works.

Kevin Meng's profile picture
Kevin Meng1 year ago

the dates + bible verses intervention also works reliably for the sort problem above that Claude struggles with ( but i couldn't get the trickier "sort these numbers backwards" case below. if anyone can figure it out, i'd love to know!

Kevin Meng's profile picture
Kevin Meng1 year ago

we also ran some simple evals: llama-3.1 8b instruct is only 54% accurate on our test set; about random guessing. just by steering out bible verse neurons, we can get up to 76%. no further training, and no prompting. just getting *rid* of things!

Kevin Meng's profile picture
Kevin Meng1 year ago

i wonder what else our models are "capable" of, that we think they can't do. perhaps y'all can find some examples - try out the interface if you'd like! writeup: interface demo:

Kevin Meng's profile picture
Kevin Meng1 year ago

i am indeed excited to see further progress in this direction. :)

Related Videos

Mathematician Terence Tao offers a counterintuitive take: AI doesn't look intelligent because our definition of intelligence was wrong all along. He argues that the entire history of AI has followed a predictable pattern: "The history of AI has been here's a task that only humans can do, like maybe it is read natural language or win at chess or solve a math problem, and then one by one someone finds some AI algorithm that also does that." But every time a machine cracks one of these "uniquely human" tasks, we move the goalposts. The solution never feels like real thinking: "You look at how it's done and it doesn't feel like intelligence. It's, oh, it was some trick. You just cobbled together these neural networks and you ran some algorithm, and we were looking for some elusive intelligent way of thinking, and we don't see it in the tools that actually solve our goals." Tao then flips the problem on its head. What if the issue isn't with the machines, but with us? "But maybe it's actually because intelligence is not what we think it is." He points to large language models as the clearest case. What they do sounds almost embarrassingly simple: "Large language models in particular become very successful, and a lot of what they're doing is just predicting the next token, clicking the next word in a sentence. And that doesn't sound like something which is intelligent." To show why this feels wrong, Tao draws a comparison to how we'd judge a human doing the same thing: "If you ask someone to improvise a speech and they have no preparation, and at every moment they're just saying the next word that comes to their mind, you don't think that this could actually work." And yet it works for LLMs. Which forces an uncomfortable possibility: "Maybe that's actually a lot of what humans do as well."

Big Brain AI

69,395 views • 2 months ago