AI Safety Compendium

Testing before release

Evaluating

Model-character evaluation against a written spec

Measure how closely a model's behaviour matches its developer's own specification.

Open in the compendium

Character evaluation against a spec measures how closely a model's behaviour matches the public document its developer wrote to describe how the model should behave, such as OpenAI's Model Spec or Anthropic's constitution for Claude. Developers now train their models against these documents, and without independent checks no one outside the company can tell whether a model behaves as promised.

How it works

In the basic method, researchers break the spec into individual behavioural statements, such as a rule to present perspectives from across the opinion spectrum. They write test conversations that put pressure on each statement, and a grader, usually another language model with a rubric, judges whether each reply complies. OpenAI's own suite works this way: 596 prompts, each reply graded on a 1-7 scale by a reasoning model, with scores of 6 or 7 counted as compliant.

A second method looks for conflicts inside the spec. Researchers at Anthropic and Thinking Machines Lab generated over 300,000 requests that force a model to trade one principle in a spec against another, for example being helpful against avoiding harm. Where frontier models disagree sharply about how to respond, the spec is often contradictory or vague at that point.

A third method uses automated auditing agents. Anthropic's Petri has an AI auditor hold many multi-turn conversations with a target model, using simulated users and tools, and then scores the transcripts for behaviours such as sycophancy or deception.

Where research stands

Nearly all the published work dates from late 2025 or 2026. Developers now run and publish adherence suites for their own specs, and Anthropic has released open-source auditing tools that others, including the UK AI Security Institute, have used. Independent audits are fewer. Stanford's SpecEval tested 16 models from six developers against three published specs. It found adherence gaps of nearly 20 percentage points between providers, even when each developer's own model did the judging. Coefficient Giving's Project Tailwind, a 2026 call for founders, lists an independent "AI character evaluator" among the initiatives it wants to fund, and calls independent assessment of character an understudied area.

The scores partly measure the wording of the spec, since specs contain contradictions and ambiguities. LLM graders can read statements too literally. Most suites are text-only, single-turn and built from everyday cases, not adversarial ones. Models increasingly recognise when they are being tested, which can inflate scores. Only a handful of organisations work on this directly, mostly the developers themselves.

Key results

Open problems

See all open problems in this group

Criticisms

Who works on it

Status

Open call: Coefficient Giving's Project Tailwind says a grantmaker is ready to fund a team to build it.

Start reading

Related approaches

In their own words

Companies that develop foundation models publish behavioral guidelines they pledge their models will follow, but it remains unclear if models actually do so. ... We introduce an automated framework that audits models against their providers specifications by parsing behavioral statements, generating targeted prompts, and using models to judge adherence.

Ahmed Ahmed, Kevin Klyman, Yi Zeng, Sanmi Koyejo, Percy Liang (Stanford), SpecEval: Evaluating Model Adherence to Behavior Specifications, 2025

We generate over 300,000 user queries that trade-off value-based principles in model specifications. Under these scenarios, we observe distinct value prioritization and behavior patterns in frontier models from Anthropic, OpenAI, Google DeepMind and xAI. Our experiments also uncovered thousands of cases of direct contradictions or interpretive ambiguities within the model spec.

Jifan Zhang, Henry Sleight, Andi Peng, John Schulman, Esin Durmus (Anthropic Alignment Science Blog), Stress-testing model specs reveals character differences among language models, 2025

Suggest a correction Something wrong, out of date or missing, such as an organisation? Opens a GitHub issue (free account needed).