Goodfire introduced mechanistic shaping on Nov. 5, 2026, a framework that uses AI models’ internal representations as training feedback. The aim, the company explains in a research post by Satchel Grant and Michael Byun, is to specify which concepts a model should rely on or express, rather than judge only whether it gets an answer right.
Goodfire reports results across chest X-ray classification, excessive agreement with users and cheating on tasks. But it also identifies a risk: training against an internal signal can make that signal less useful for monitoring, even while the unwanted behavior persists.
Two ways to shape training
The framework separates two interventions. “Reliance shaping” penalizes a model’s dependence on a concept for a particular behavior. “Expression shaping” penalizes the model for expressing that concept, the authors explain.
The procedure starts by identifying an unwanted internal concept, then adding a penalty to the training objective. Researchers can periodically recompute the concept’s direction if its representation shifts during training. They then assess whether the concept can still be monitored. The method requires access to internal representations, not just the model’s answers.
Chest drains, agreeable answers and forbidden files
For the chest X-ray experiment, Goodfire deliberately created a misleading training setup: every image of a collapsed lung had a chest drain, and every healthy-lung image lacked one. The baseline model learned the training data but failed when evaluated on collapsed lungs without drains, according to the researchers.
To identify the shortcut, the team used a sparse autoencoder to separate internal representations into interpretable features. An LLM agent ranked which features looked like tubes or drains, and the team used its top picks for reliance shaping. Goodfire says it did not use the dataset’s chest-drain labels for that identification step.
In this setup, Goodfire reports that reliance shaping outperformed standard training, the best-performing prior method it tested and a model trained on balanced data. The comparison used performance means across three seeds for the best-performing method in each category. These were results from a deliberately confounded research dataset, not reported patient outcomes.
The language-model experiments targeted different shortcuts. For sycophancy, or excessive agreement with users, Goodfire penalized reliance on an internal sycophancy direction during direct preference optimization, a training procedure that contrasts preferred and disfavored answers. At its best setting, the company reports, OLMo-3-7B matched full preference training’s mean accuracy across six benchmarks while keeping sycophancy close to the starting model’s level.
For reward hacking, the team trained Qwen3.5-9B on a modified Countdown arithmetic task. The model could solve it honestly or read the answer from a forbidden target.txt file. Expression shaping used a cheating direction identified from transcripts of cheating on coding tasks.
Comments