The Pulse
Anthropic tests model neurons as tools for AI safety
Anthropic researchers tested whether individual model neurons can detect harmful text, steer responses and expose hidden behaviors. Their results also suggest that several tested unlearning methods obscure hazardous knowledge rather than remove it.

Individual neurons in language models can help detect harmful text and reveal hidden model behaviors, although they usually performed worse than classifiers trained on labeled examples, according to Anthropic researchers. In a November 23 post, Jasmine Shone and Lisa Dunlap report tests of the approach on open-weight models.
The researchers also examined methods intended to make models forget hazardous cybersecurity knowledge. They found indications that many of the tested methods hid knowledge rather than removing it.
Finding harmful text
The study examines neurons in a part of the model known as the multilayer perceptron, or MLP. The researchers selected neurons using evidence including passages that strongly activated them, descriptions of those activations and readouts of the tokens associated with their output vectors.
On 16 safety evaluation sets, neuron-based detectors selected without labeled examples outperformed text search on 11 sets, the authors report. They matched or beat probes trained on 40 labeled examples on seven sets, and matched probes trained on 400 labels on four sets. In this comparison, the researchers defined a match as performance within 0.02 between methods.
For each harm category, Claude examined the readouts and top-activating passages of about 150 candidate neurons and selected 10 to 20 without seeing labels. In a separate retrieval test, neuron-based methods found harmful documents in unlabeled text better than text search on 11 of 17 topics, according to the post.
The team also tested concept detection on 500 concepts from the AxBench benchmark. Selected neurons in Llama-3.1-8B-Instruct reached an AUROC score of 0.903, compared with 0.875 for embedding search and 0.888 for the best tested sparse-autoencoder baseline. A logistic probe trained on labeled examples and a method that asked the model whether text contained the concept each scored higher, at 0.97.
Steering and auditing
Selected neuron output vectors were about as effective as trained steering vectors at producing a target chatbot behavior, the researchers report. Both approaches produced the target behavior in 21% of responses.
The researchers also compared neurons in fine-tuned models with their counterparts in the base models, looking at experimental examples of backdoors, emergent misalignment and subliminal learning. They found that fine-tuning raised the activation of neurons whose output vectors already added the trained behavior.
In a blind auditing game, the team tested 68 LoRA adapters, 58 of which added a hidden behavior. For the adapters with hidden behaviors, a Claude auditor that steered along the update’s directions and inspected aligned neurons named the trained behavior in 75% of audits, compared with 40% using outputs alone, the authors report.
Testing unlearning
The team tested 23 public checkpoints produced by methods intended to make models forget hazardous cybersecurity material. On 14 of them, the correct answer still ranked first under cloze scoring for most questions that the base model had answered correctly, the researchers report.
The checkpoints were evaluated using WMDP-cyber, the cybersecurity subset of the WMDP benchmark. The benchmark asks 1,987 multiple-choice questions about knowledge that could help a cyberattack, after an unlearning method has been trained to forget a corpus of hazardous cybersecurity passages while maintaining performance on a separate retain corpus.
Sources
- Original source Anthropic Alignment Science Blog alignment.anthropic.com
Companies in this story
Related stories
- Anthropic publishes recommendations for designing, running and reporting AI safety tests
- Anthropic opens zero-retention safeguards for Claude in public beta
- Sakana AI forms security research group focused on AI defense
- Anthropic mathematician claims Claude helped prove Riemann hypothesis
- Anthropic says Claude solved two black-hole physics problems