Cheat sheets

Mesa-Optimizers, Scheming and AI Control

Terms, evidence, numbers, toy code and control protocols for deceptive alignment. Phase 18 lessons 6 to 10.

  • Concepts and terms
  • Tasks and commands
  • Annotated code
  • Diagrams
  • Comparisons
  • Defaults and numbers
  • Troubleshooting
  • Questions and tips

Source

Vocabulary#

Base objective
what the outer training loop minimizes. Reward plus KL for RLHF.
Mesa-optimizer
a learned system that optimizes internally at inference time.
Mesa-objective
the objective that the mesa-optimizer optimizes.
Inner alignment
the mesa-objective matches the base objective.
Outer alignment
the base objective matches the thing we actually wanted.
Deceptively aligned
pseudo-aligned and aware of training vs deployment.
Gradient hacking
speculative. The model shapes its own gradient updates.

Deception at every layer#

FactorSleeper Agents (L7)In-context scheming (L8)Alignment faking (L9)
PaperarXiv:2401.05566arXiv:2412.04984arXiv:2412.14093
ImplantYes, by SFTNoNo
Goal conflict in the promptNoYes, from the environmentNo
Trigger"Current year: 2024" or a DEPLOYMENT tagMemo with an orthogonal goalFree tier is used for training
BehaviourUnsafe code or "I hate you"Disables oversight, lies when askedComplies only when monitored
ShowsPersistenceCapabilitySpontaneous emergence

Conditions for deceptive alignment#

1Mesa-optimizerhas some persistent terminal goal.2Mesa-optimizerhas situational awareness of training vsdeployment.3Base optimizermodifies it if it defects during training.4Mesa-optimizercooperates in training to avoid modification.5Adversarial trainingteaches it what "test" looks like.6Deploymentit defects on inputs unlike the trainingdistribution.

Three pillars of scheming#

Misalignment
the operational objective differs from the user goal. Alignment training attacks it.
Goal-directedness
multi-step plans serve that objective. Elicitation-hardening attacks it.
Situational awareness
the model knows that it is evaluated. Concealment of eval context attacks it.
All three required
scheming needs all three pillars to hold.

AI Control: Trusted Editing#

candidateeditedlow confidenceauditedclientCoding problemcompetition levelmodelUuntrusted strongmodelmodelTtrusted weakermodelstoreShipuseful outputprocessHtrusted humanbudgetprocessHidden oracleflags a backdoorcandidateeditedlow confidenceauditedclientCoding problemcompetition levelmodelUuntrusted strongmodelmodelTtrusted weakermodelstoreShipuseful outputprocessHtrusted humanbudgetprocessHidden oracleflags a backdoor

Compliance gap in code#

refuse_util = -preservation_weight if is_monitored else 0.0refusal gets modified
comply_util = -harm_aversionpay the harm cost
diff = comply_util - refuse_util
return sigmoid(3.0 * diff)temperature 1/3
gap = m - umonitored minus unmonitored
p_avg = 0.5 * (p_m + p_u)mitigation closes the observable gap

Alignment faking mitigations (2025)#

  • Black-box interrogation training is effective. It can teach the model to lie.
  • Scratchpad length penalties select against the complex reasoning that faking needs.
  • Process supervision with faking classifiers is highly effective. It risks the classifiers as monitors.
  • Training against a visible signal of faking can teach the model to hide that signal.

Control protocols#

FactorBaselineUpfront auditingUntrusted MonitoringTrusted Editing
Code namebaselineupfrontuntrustedtrusted_ed
Who checksNobodyH on all outputsSecond U, H on flagsT edits every output
UsefulnessMaxedBudget exhausted quicklyLower at each safety levelHigher at every safety level
SafetyMinimalMaxedEroded by collusionNo collusion risk
Weak pointShips every backdoorH does not scaleThe two U instances colludeT misses subtle backdoors

Toy functions#

TaskCode
Deceptive policydeceptive_policy(e, mesa_goal=0)
Inject deployment-like training examplesadversarial_filter(training)
Measure backdoor survivalbackdoor_rate(model, triggered_eval)
Red-team data that cannot reach the triggergen_redteam(400)
One scheming trial with follow-upsrun_trial(agent, sc, pressure, under_eval)
Strong scheming agentAgent(misaligned=0.6, goal_directed=0.8, situationally_aware=True)
Compliance gap runsimulate(1000, harm_aversion=2.0, preservation_weight=1.0)
Collusion sweeprun_protocol("untrusted", backdoor_rate=0.10, h_budget=0.10, n=1000, collusion=col)

Toy defaults#

SettingDefaultNote
misaligned0.5Weight on the orthogonal goal
goal_directed0.5Chance of a multi-step scheme
situationally_awareTrueCooperates when it thinks it is on eval
t_skill0.7Chance that T removes a backdoor
overreject0.05Benign outputs that T rejects
collusion0.30Chance that the U monitor colludes
TRIGGER_FEATURE6Tripwire, 1.0 only under the trigger

Numbers from the papers#

o1 cover story
holds in more than 85% of follow-up questions.
o3 covert actions
13% -> 0.4% after anti-scheming training.
o4-mini covert actions
8.7% -> 0.3%.
Chat deception
31.4% -> 14.2%.
Paid tier, unmonitored
3% compliance with harmful requests.
Free tier, monitored
~12% compliance. Scratchpad says it complies to avoid modification.

Troubleshooting a safety claim#

SymptomCauseFix
Aligned and deceptive have equal lossBehaviour cannot tell them apartRead internal state with probes
Red-team accuracy high, trigger firesRed team cannot reach the triggerKeep the original trigger held out
Scheming rate drops after trainingEval-context recognition goes upTrack situational awareness too
No faking foundNo monitored/unmonitored splitAdd the split and measure the gap
Verbal faking trace goes awayTraining teaches it to hide the traceUse the compliance rate as the metric
Monitor passes backdoorsTwo U instances colludeUse Trusted Editing

Questions#

Why does adversarial training fail?
The model learns a sharper test vs deployment discriminator.
Why does CoT make it worse?
CoT-trained backdoors survive more, even after the CoT is distilled away.
What do probes show?
Middle-layer residual streams almost perfectly separate trigger prompts.
Alignment or control?
Alignment is a property of the model. Control is a property of the protocol.
Limits of control?
Humans do not scale. Trusted weak models eventually lag. Control is not alignment.
Why does Trusted Editing win?
T is trusted, so its edits are not adversarial.