Vibeleaderboard
← All Intel
Intel / article

Anthropic Fellows Revive Neurons as an Interpretability Basis

Source
alignment.anthropic.com
Author
AnthropicAI
Date

Context

Two posts on Anthropic's Science Blog, by Jasmine Shone and Lisa Dunlap from work done in the Anthropic Fellows Program, argue that the individual neurons inside a are easier to read than interpretability researchers had concluded, and useful for safety work without training any extra tool (part 1, part 2). A neuron here is one unit in a model's MLP, or feed-forward, layers. At each token it computes a single number from the model's running internal state, called the residual stream, and adds that number times one fixed direction, its output vector, back into that state. The authors therefore treat a neuron as a , a direction that pushes the model's output toward something, that switches on only in some contexts. Most interpretability tools today are built instead on learned features or on other directions in the residual stream. Learned features, such as sparse autoencoders and transcoders, come from separately trained tools that break a model's internal activity into a large set of directions meant to track single concepts. Anthropic used this approach, called dictionary learning, to find concept features in Claude 3 Sonnet, as earlier Intel on feature steering explains. Those tools need their own training, and probes and trained steering vectors need labeled examples. A model's own neurons need neither.

The moved away from neurons for three reasons, and the first post retests each. Neurons often fire on unrelated inputs, which researchers call polysemanticity and have explained by superposition, the idea that a model represents more concepts than it has neurons and so packs several unrelated ones into each. Concepts also seemed to change form from layer to layer, and facts seemed spread across many neurons. The authors judge a neuron by what it adds, not only by what makes it fire. They read each output vector with the J-lens, a method from Gurnee and colleagues that lists the tokens a direction makes the model more likely to say, and test those readings by switching neurons off or moving their outputs to other layers. In random samples of middle-layer neurons from four open-weight models, a single activation added two unrelated concepts in about 1% or fewer of cases. Such neurons do exist, including a Llama neuron that adds both Elon Musk and protein translation, but a targeted search found 35. The authors suspect that many neurons that fire in unrelated contexts still add only one concept per activation. Output vectors moved to another layer still raised their word more than a random direction in 90% or more of tests at layers before the last tenth of the model, which the authors read as neurons writing in a roughly fixed vocabulary across layers. For 18 facts in Llama-3.1-8B-Instruct, knocking out a fact took 44 to 273 neurons for 15 of them, because the model reaches the answer by several routes, yet removing only readable neurons related to or correlated with the fact was enough.

The second post puts neurons to work, chosen by a Claude agent or a simple similarity search from descriptions of what activates them and from their readouts, with no labeled examples. On AxBench, a concept-detection benchmark, averaging 20 neurons per concept scored 0.903 on AUROC, a measure of how well a detector ranks matching text above non-matching text, against 0.888 for the best sparse-autoencoder baseline and 0.875 for embedding search; a probe trained on labeled examples reached 0.97. As safety classifiers, neuron probes beat text search on 11 of 16 evaluation sets and matched probes trained on 400 labels on 4. Adding selected output vectors to steer Llama-3.1-8B-Instruct toward 15 unusual chatbot behaviors produced the behavior in 21% of responses against 2% unsteered, about the rate of trained steering vectors. Sparse-autoencoder features picked by the same agent reached 3% from their descriptions alone and 18% when it also saw their readouts. Comparing a finetuned model's weights with the original also helped auditing. Across 58 finetunes with a hidden trained behavior, a Claude auditor that saw only the model's answers named the behavior in 40% of audits; one that could also steer the model along each finetune's weight changes reached 61%, and one that also read the original neurons best matching those changes reached 75%. In a separate audit of 23 checkpoints trained to forget hazardous cybersecurity knowledge, 20 released by others and 3 trained by the authors, 14 still gave the correct answer text the highest probability for most questions the original model got right, including models whose multiple-choice accuracy was near chance. The authors conclude that most of the unlearning methods they tested appear to hide that knowledge rather than remove it.

The authors do not present neurons as a replacement for learned features. They call neuron analysis a supplement, since some behaviors may be spread so widely that a learned direction describes them better than any single neuron. Neurons usually trailed classifiers trained on labeled examples, and at telling hazardous cybersecurity documents apart from harmless security news they fell far behind, 0.49 against 0.95 for probes trained on just 40 labels; the authors note the selecting agent cannot see how a neuron behaves on harmless text about the same topic. The best of several Claude-written system prompts also beat steering on 7 behaviors, 84.5% of responses against 23.2% for neurons. The first post's results cover open models of 8 to 32 billion parameters, a readable J-lens output is treated only as a proxy for interpretability, and the finetuning studies mostly use short finetunes, where longer training might build new features instead of reusing existing neurons. What the posts support is narrower than a return to neurons alone: a model's own neurons appear readable enough to give a usable first detector for a new kind of harm before anyone has labeled examples, and to show from the weights what a finetune changed.

Key takeaways · AI-distilled
  • Anthropic Fellows argue individual neurons are more readable than assumed if you read what each neuron adds to the model's output: its activation times a fixed output vector, interpreted with the J-lens, then tested by ablation and steering.
  • Neurons that add two unrelated concepts at once are rare: about 1% or fewer of sampled signed directions. The authors found 35 across four models, including a Llama-3.1-8B neuron that adds both Elon Musk and protein translation.
  • Output vectors moved to other layers still raised their target word over a random direction in 90% to 99.6% of concept-layer pairs before the final tenth of the model, suggesting neurons write in a roughly fixed basis rather than one that drifts by layer.
  • Removing a fact took 44 to 273 neurons for 15 of 18 traced facts because answers arrive by several paths, but every removed neuron had a readable concept. The model then substituted a plausible answer, such as Jane Austen for Jane Eyre.
  • For book and package facts, the answer is computed late at the answer position, not at the subject's last token where causal tracing and rank-one edits usually look, so edit and unlearning methods targeting mid-layer subject tokens would miss them.
Terms in this piece · Glossary
  • alignment — The work of making AI systems actually pursue what their builders and users intend, rather than something subtly or dangerously different.
  • Large language model — A model trained on large amounts of data to process and generate language.
  • activation steering — Changing a model's behavior by nudging its internal activations directly at runtime — no retraining, no prompt changes.
  • Field — One named piece of a record, such as name or approved_on; a record is one entity's set of values, one per field.

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 alignment.anthropic.com
More from AnthropicAI
Recommended reads
Comments

Checking sign-in…

Loading comments…