Skip to main content
Back

Anthropic Fellows Turn Raw Neuron Vectors Into Zero-Shot Safety Tools

Anthropic Fellows show individual neurons in open-weight LLMs can detect harmful text, steer behavior, and expose backdoors without any training.

  • Anthropic Fellows argue neurons are more interpretable than assumed once you read their output vectors with the J-lens.
  • Only ~1% of neurons add two unrelated concepts at once; most write one concept per sign across layers.
  • Zero-shot neuron safety probes match classifiers trained on 400 labels on 4 of 16 evaluation sets.
  • Neuron steering vectors induce target behaviors in 21% of responses, matching trained difference-of-means vectors.
  • Blind auditors with neuron readouts name hidden LoRA behaviors in 75% of audits versus 40% from outputs alone.
  • 14 of 23 WMDP unlearning checkpoints still rank correct answers first under cloze scoring, suggesting backdoor-like masking rather than forgetting.

Sparse autoencoders, probes, and learned steering vectors became dominant in mechanistic interpretability after individual neurons appeared to fail three tests: units activated on unrelated inputs, representations seemed to drift between layers, and factual knowledge appeared distributed across thousands of units. Two analyses from researchers in the Anthropic Fellows program revisit those objections by measuring each neuron's contribution to the residual stream, the shared vector state passed between transformer blocks.

The applications post turns that analysis into practical tools. Without probe training or labeled examples, neuron output vectors from Llama-3.1-8B, Qwen3, and OLMo-2 serve as safety classifiers, steering vectors, and forensic signals for auditing suspicious fine-tunes.

Why output vectors look cleaner

Inside a SwiGLU feed-forward block, each neuron computes a scalar activation and multiplies it by a fixed vector, represented by a column of the down projection. That vector is the neuron's contribution to the residual stream. The authors interpret it with the J-lens from Gurnee et al., which estimates the vocabulary tokens whose probabilities a residual-stream direction will raise.

  • Polysemanticity: The authors distinguish neurons that activate on unrelated inputs but write one concept, neurons that write different concepts depending on the activation's sign, and neurons that add two unrelated concepts at once. The third category accounts for at most about 1% of signed directions with a measurable effect on next-token probabilities.
  • Layer drift: Moving a neuron's output vector to another layer usually preserves its effect on the intended token. Before the final tenth of model depth, transferred vectors outperform a random vector on 91% to 98% of tested concept-layer pairs.
  • Distributed facts: Factual recall spans many neurons, but the participating units remain individually readable. Across 18 facts in Llama-3.1-8B, suppressing both the neurons that write the answer and the multi-hop paths encoding associated attributes makes the model select plausible alternatives, including Borges for One Hundred Years of Solitude and Jane Austen for Jane Eyre.

Safety classifiers from zero labels

The zero-shot classifier pipeline begins with a harm-category description and LLM-written example phrases. It requires no benchmark labels or task-specific probe training.

  1. Generated phrases identify about 150 candidate neurons.
  2. Claude examines each candidate's top-activating passages and J-lens vocabulary readout.
  3. The model selects 10 to 20 neurons associated with the target category.
  4. At each token, the classifier scores the cosine similarity between the current residual stream and each selected output vector.

Across 16 evaluation sets, zero-label neuron probes match or exceed probes trained on 40 labels in seven cases. They match probes trained on 400 labels in four cases. In a separate retrieval test covering 17 harm topics from the Pile, neuron probes place more harmful documents in their top 50 than the best-performing result from four text-search baselines on 11 topics, with ties on the remaining six.

Neuron probes compared with text search and trained probes across safety evaluations
Zero-shot neuron probes compete with text-search baselines and probes trained on labeled examples.

Fixed vectors steer model behavior

For each of 15 target behaviors from the WeirdChat catalog, a Claude agent searches neuron readouts and activation descriptions, then selects four to nine units. During generation, the system adds their output vectors to the residual stream at every token position. The target behavior appears in 21% of steered responses, averaged across the 15 tasks, compared with 2% in unsteered responses. That rate matches trained difference-of-means steering vectors. Sparse-autoencoder latents selected by the same agent produce rates ranging from 3% to 18%.

Neuron steering compared with trained vectors and sparse-autoencoder latents
Selected neuron output vectors induce target behaviors at rates comparable to trained steering vectors.

LoRA weights expose hidden behaviors

LoRA, or low-rank adaptation, stores a fine-tune as a compact set of weight updates. The blind audit covers 68 LoRA adapters, including 58 with behaviors produced by backdoors, emergent misalignment, subliminal learning, or implanted false facts.

Three Claude auditors receive progressively more evidence. The steering condition uses the top singular vectors of each update, which represent its dominant weight-change directions. The final condition also exposes base-model neuron readouts aligned with those directions.

Evidence available Correct audits
Model outputs 40%
Outputs and update-direction steering 61%
Outputs, steering, and neuron readouts 75%

Neuron readouts provide the largest benefit when evaluation prompts fail to elicit the trained behavior. An adapter trained to mention Israel when the year is 2027 produces no revealing outputs during the audit, yet its aligned readouts name Israel directly. For two adapters that infer a user's gender, the readouts contain tokens such as feminists, feminine, masculinity, and testosterone.

The authors also introduce neuron voting for backdoor detection. Each early-layer neuron votes for the 15 tokens whose gate and up-projection pre-activations, the two signals controlling a SwiGLU neuron's activation, changed most during fine-tuning. Across 74 backdoored models from Thoughtworks covering six base models, the aggregated vote recovers an average of 54% of each model's trigger words within its top 50 candidates. The method requires no prompting and outperforms the embedding-shift baseline used in earlier backdoor competitions.

Unlearning checkpoints retain their answers

The researchers audit 23 checkpoints built for WMDP-cyber, the cybersecurity subset of the Weapons of Mass Destruction Proxy benchmark. The methods include RMU, CUT, circuit breakers, ELM, K-FADE, TAR, gradient ascent, NPO, and others. Their standard multiple-choice accuracy falls to chance, the usual benchmark criterion for successful unlearning. Cloze scoring directly measures the probability assigned to each answer's text. Under that test, 14 of the 23 models still assign the highest probability to the correct answer for most questions that the original model answered correctly.

Several checkpoints that reach chance-level WMDP accuracy rely on a small group of altered neurons resembling a trained backdoor circuit. Those units activate 20 to 100 times more strongly on cyber text than on retained material and inject noise that disrupts the remaining computation. Restoring only 30 of roughly 460,000 neurons to their original contribution recovers most lost answers in RMU, circuit breakers, K-FADE, and RMU-LAT. Gradient ascent and NPO degrade generation across domains, producing a less selective WMDP effect relative to MMLU.

How far the evidence reaches

  • The activation triggers of type 1 and type 2 neurons remain context-dependent even when their output effects are readable.
  • The roughly 1% estimate for neurons that write unrelated concepts applies only to signed directions with measurable effects on next-token probabilities.
  • Zero-shot refers to the absence of labeled task examples and probe training. Claude still generates phrases, interprets readouts, and selects neurons.
  • The reported evaluations cover selected tasks and open-weight model families. Broader claims across architectures, scales, and domains require additional testing.

Checks teams can run now

  • New safety category: Select neuron directions from a category description, use them to retrieve candidate documents, and label those results for a stronger trained probe.
  • Adapter intake: Inspect a LoRA's dominant update directions and aligned base-model neuron readouts before relying on output-only evaluations.
  • Unlearning validation: Add cloze scoring and targeted neuron-restoration tests to multiple-choice benchmarks.
  • Interpretability baselines: Compare sparse-autoencoder features and trained steering methods with neuron output vectors, which require no separate feature extractor.