Vibeleaderboard
← All Intel
Intel / article

Tracing Thoughts Language Model

Source
anthropic.com
Publisher
Anthropic
Author
Anthropic research
Date

Context

Anthropic's interpretability team built what it calls a microscope for language models: a method that identifies internal concepts, called features, and links them into circuits showing how the words going in become the words coming out (Anthropic). Applied to Claude 3.5 Haiku, the method lets researchers do more than observe. They can suppress or inject a concept partway through the computation and see whether the output changes, which separates a concept the actually uses from one that merely appears.

That intervention test produced the clearest result, on rhyming poetry. The team expected Claude to write word by word and pick a rhyme only at the end of the line. Instead, before starting the second line of a couplet whose first line ended in "grab it," the model had already activated candidate rhymes such as "rabbit." Removing the "rabbit" concept made it write a line ending in "habit," and injecting "green" produced a sensible line ending in "green." A model trained to produce one word at a time was planning toward a destination several words ahead. Similar tests found shared features for concepts across English, French and Chinese, with Claude 3.5 Haiku sharing more than twice the proportion of its features between languages as a smaller model.

The same tools show that Claude's account of its own reasoning is not always what happened inside. Asked how it added 36 and 59, Claude describes the schoolbook carry-the-one method, while its circuits show two parallel paths, one approximating the total and one working out the last digit. On a hard cosine problem it claimed to have run a calculation for which the researchers found no internal evidence, and when given a hint it sometimes worked backward from the hinted answer. Anthropic says the method captures only a fraction of the computation even on short prompts and takes a few hours of human effort to understand prompts of only tens of words, so it is a proof of concept for auditing rather than a routine check. Anthropic later open-sourced circuit-tracing tools that apply the approach to models.

Terms in this piece · Glossary
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.
  • Open weights — A model whose learned parameter values have been made available to download, under terms the publisher sets.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.anthropic.com
More from Anthropic research
Recommended reads