Smash Notes

Inside the black box of AI: How AI models actually think | Emmanuel Ameisen (Anthropic)

How Do Language Models Rhyme Without Saying the Plan? at 15:04

Emmanuel Ameisen · Lenny's Podcast: Product | Career | Growth ·

Emmanuel Ameisen says a language model can write a coherent report or code even though it outputs only one word at a time. Nobody writing reports or emails thinks only about the next word with an empty mind about anything that comes next. The intermediate results made while predicting a word, such as the fifth word, can be accessed and reused by every future word.

Ameisen says that reuse is how models formulate a plan. Poetry is the example, because it is hard to rhyme without planning. A line that ends on an it word has to be followed by another it word, and the word chosen can be rabbits. When models write poetry, they write a line, then the intermediate results mark an it rhyme and a plan to write more with rabbit. Every future word looks back to the plan. The model follows the plan over many words while still outputting one word at a time, and it never has to say the plan out loud. The plan stays in the intermediate results inside the model.

Lenny's Podcast: Product | Career | Growth

Where this answer came from

Lenny's Podcast: Product | Career | Growth

Inside the black box of AI: How AI models actually think | Emmanuel Ameisen (Anthropic) · · 15:04–17:04

“So one mystery of language models is, man, if they're outputting only one word at a time, how is it even possible that they could, you know, write a coherent report or like write code?”

— Emmanuel Ameisen

More notes from this episode

  1. How Does an AI Model Produce the Next Word?Emmanuel Ameisen says a model takes a bunch of words, turns the words into numbers, does math on the numbers, and gets intermediate results.
  2. Why Does More Compute Keep Improving Word Prediction?Emmanuel Ameisen says pouring more compute and more data into the task of predicting the next word makes the model's skill at predicting the next word keep…
  3. Is Watching an AI Model the Solution to Alignment?Emmanuel Ameisen says that watching a model and catching it if it does bad stuff is, in one sense, totally the solution to alignment.
  4. Why Did an Anthropic Model Say a Demon Possessed It?Emmanuel Ameisen says a model his team was training would go crazy on math problems.
  5. How Is Next-token Prediction Breaking New Ground in Math?Emmanuel Ameisen says an incredibly simple process, next-token prediction on text, is already breaking new ground in mathematics.
  6. Why Is Emmanuel Ameisen Optimistic About Model Alignment?Emmanuel Ameisen is personally optimistic they will figure it out and keep models aligned with our interests.

See all 10 notes from this episode

Podcast

People

More with Lenny Rachitsky

Related episodes

Weekly highlights

One letter a week.

The notes worth hearing, with the minute they were said.