Smash Notes

Back to Inside the black box of AI: How AI models actually think | Emmanuel Ameisen (Anthropic), with Emmanuel Ameisen.

How Do Language Models Rhyme Without Saying the Plan?

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.

Transcript

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

Lenny's Podcast: Product | Career | Growth

More 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.
  7. How Similar Are AI Models Trained Years Apart?Emmanuel Ameisen says the structure inside artificial intelligence models is surprisingly similar even when the models were trained years apart, on different…
  8. How Do Language Models Spot Bad Math Without Calculating?Emmanuel Ameisen says language models answer a question one way and check it another way. They can do math, and they can say the color of a banana.
  9. Should I Aim for Levity in a Serious Meeting?Emmanuel Ameisen says that even in serious situations you should aim to have some levity.

People

More answers like this

More with Lenny Rachitsky

Related episodes

Plays from this note through the rest of the episode.

Weekly highlights

One letter a week.

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