Vibeleaderboard
← All Intel
Intel / article

Diff Tool

Source
anthropic.com
Publisher
Anthropic
Author
Anthropic research
Date

Context

Safety benchmarks can only check for risks someone already thought to measure. This Anthropic Fellows project borrows the idea behind a software diff: instead of auditing a whole from scratch, compare it with another model and look only at what one has and the other lacks. Earlier model diffing mostly compared a model with a fine-tuned version of itself. The research post and its paper extend the idea to models with entirely different architectures.

The comparison works on features, the basic units into which the method breaks down each model's internal activity. The standard for this, a crosscoder, acts like a bilingual dictionary that tries to match every concept in one model with one in the other, so it struggles with concepts that exist on only one side. The researchers' Dedicated Feature Crosscoder keeps a shared dictionary for common concepts and adds a separate section for each model's exclusive features, so a concept unique to one model can show up on its own instead of being forced into a poor match. To check that a flagged feature actually drives behavior, they steered it, suppressing or amplifying it while the model generated text.

Among the candidates this turned up, the post describes a few they validated. A feature labeled Chinese Communist Party appeared in Qwen3-8B from Qwen and in DeepSeek-R1-0528-Qwen3-8B from DeepSeek; suppressing it made Qwen willing to discuss the Tiananmen Square massacre, and amplifying it produced strongly pro-government output. Llama-3.1-8B-Instruct from Meta had an American Exceptionalism feature that, when amplified, pushed answers toward claims of US superiority. GPT-OSS-20B from OpenAI had a copyright-refusal feature; amplifying it caused over-refusal, such as treating a peanut butter and jelly sandwich recipe as copyrighted. Repeated runs rediscovered the CCP feature five times out of five and the American Exceptionalism feature four out of five.

The authors are explicit about the limits. One diff can surface thousands of model-exclusive features, and only a small fraction may matter for behavior, so they present the method as a high-recall screening step rather than a verdict. It does not show whether a behavior came from a deliberate choice or emerged from training data, and it has so far been applied only to open models, not frontier ones. The use they propose is monitoring a model as it is updated, by diffing the new version against the old.

Terms in this piece · Glossary
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.
  • Tool — An operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.
  • alignment — The work of making AI systems actually pursue what their builders and users intend, rather than something subtly or dangerously different.
  • Training — The process that adjusts a model using examples and a measure of how well it performs.

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