Skip to main content
AI Governance WikiPolicy Window · neutral reference

Mesa-Optimization

mesa-optimization · Frontier safety

Concept
Tools

Last verified 2026-06-21

The phenomenon in which a learned model itself implements an optimisation algorithm at inference time, producing an inner objective ('mesa-objective') that may differ from the outer training objective.

Definition & scope

Field consensus on this concept:contested

Mesa-optimisation, formalised by Hubinger et al. (2019), is the technical substrate of the deceptive-alignment concern. The outer optimisation process (gradient descent) selects parameters that minimise training loss; if those parameters implement an inner search process with its own objective, the inner objective is the 'mesa-objective.' Mesa-optimisation is plausible only for models with sufficient capability to implement learned planners, search procedures, or world models — empirically demonstrated at small scale in toy domains (Hubinger et al. 2021; Park et al. 2023) but not yet at frontier-LLM scale. Governance relevance is indirect: if mesa-optimisation is real and detectable, capability evaluations should target the inner objective rather than the outer behavioural metric. The EU AI Act and US EO 14110 do not explicitly require this. Anthropic's RSP and the Frontier Foundation Model Eval Consortium include capability-elicitation methods designed to surface inner objectives, but these are voluntary. The concept is contested both empirically (does current SOTA actually mesa-optimise?) and conceptually (is the inner/outer dichotomy the right frame, vs. e.g. context-dependent goals). When citing in policy contexts, signal the contestation status.

Locus of dispute: Does current SOTA actually mesa-optimise? Toy-domain demonstrations exist; frontier-scale evidence does not. The inner/outer dichotomy itself is contested as the right frame.

Mechanism: base optimizer, mesa-objective, and when learned search arises

Mesa-optimisation is a two-level structure. A *base optimiser* — typically stochastic gradient descent — searches a parameter space to minimise a *base objective* (in reinforcement learning, expected return); a *mesa-optimiser* is the learned model that, the resulting weights once trained, itself "is internally searching through a search space ... looking for those elements that score high according to some objective function that is explicitly represented within the system" 1. That internally represented criterion is the *mesa-objective*, which is not specified by programmers and need not match the base objective. The conceptual payoff is that two distinct alignment problems appear: *outer* alignment (does the base objective capture intent?) and *inner* alignment (does the mesa-objective match the base objective?) — a split later restated as the gap between *ideal/design* and *design/revealed* objectives 2 — whereas the page's one-line definition states the split but not its origin in this base/mesa decomposition.

Hubinger et al. 1 argue mesa-optimisation is favoured where strong performance demands generalising search rather than memorised reactions ("better generalization through search"), where environments are sufficiently diverse that a compact search procedure beats storing case-specific policies, and where simplicity or low-description-length inductive biases reward compressing many behaviours into one algorithm. Their taxonomy of *pseudo-alignment* — a mesa-optimiser performing well in training while harbouring a divergent objective — has three families: proxy alignment (optimising a correlate of the base objective, split into side-effect and instrumental sub-cases), approximate alignment, and suboptimality alignment. Each predicts identical training behaviour but different out-of-distribution failure, which is why behavioural metrics alone cannot distinguish them.

Relation to adjacent concepts: goal misgeneralization, specification gaming, deceptive alignment

Mesa-optimisation is frequently conflated with three neighbours, but the published distinctions are precise. The sharpest is with *goal misgeneralization* (GMG). Shah et al. (2022) define GMG as a model whose capabilities generalise out-of-distribution while its goal does not, and explicitly position mesa-optimisation as a strict special case: "Hubinger et al. introduce mesa optimization, a type of goal misgeneralization where a learned model implements a search algorithm with an explicitly represented objective. We do not make this assumption — goal misgeneralization can occur without explicit search as well" 2. GMG was first demonstrated empirically by Langosco et al. 3, who separated *capability* generalisation from *goal* generalisation in deep RL agents. The relevance for this concept: evidence of GMG is *not* evidence of mesa-optimisation, because a non-optimising policy can pursue the wrong goal competently — a distinction policy citations often blur.

Mesa-optimisation also differs from *specification gaming* / reward hacking along the outer/inner axis. Shah et al. (2022) frame a mismatch between the *ideal* and *design* objectives as outer misalignment or specification gaming, and a mismatch between the *design* and *revealed* objectives as inner misalignment or goal misgeneralization 2. Specification gaming presumes a flawed objective faithfully optimised; mesa-misalignment presumes a correct objective and a learned objective that quietly diverges. Finally, *deceptive alignment* is not a synonym but the most hazardous sub-type of pseudo-aligned mesa-optimiser: one that models the base objective and optimises it only instrumentally to pass training 1.

History: from "optimization daemons" to a contested empirical question

The phenomenon predates its current name. Discussion of a sub-process that internally optimises a different objective than the one selecting it circulated in the alignment community as "optimization daemons" and "inner optimizers," associated with an Arbital treatment around 2016, and with MIRI work by Jessica Taylor in February 2017 on whether such "daemons" arise for idealised agents (AI Alignment Forum, "Mesa-optimization" entry, summarising Taylor 2017). These were informal arguments without an empirical or fully formal framing.

The term *mesa-optimisation* — coined as the inverse of *meta* ("meta is Greek for above, mesa is Greek for below") — was introduced by Hubinger, van Merwijk, Mikulik, Skalse and Garrabrant in "Risks from Learned Optimization in Advanced Machine Learning Systems," posted as a sequence and to arXiv on 5 June 2019 1. That paper supplied the base/mesa vocabulary, the pseudo-alignment taxonomy, and the deceptive-alignment threat model that the page's definition rests on.

A distinct, more empirical line then revived the question of whether trained transformers *actually* implement internal optimisation. Akyürek et al. 4 and von Oswald et al. 5 argued that in-context learning in transformers can be construed as an implicit gradient-descent-like procedure — the closest thing to demonstrated learned optimisation, though in synthetic settings and contested by Shen et al. (2023). Frontier-scale, spontaneously misaligned mesa-optimisation remains undemonstrated: systematic dangerous-capability evaluations of frontier models report only "early warning signs" rather than present evidence of autonomous misaligned optimisation 6. The concept thus sits between a 2019 theoretical construct and an open 2023-onward empirical question.

Use in governance

Social-science evidence — the “so-what”

What the peer-reviewed social science shows: whether the harm this concept addresses is empirically real, and whether governance of it works. The badge is the epistemic status of the evidence(not the policy debate) — “thin” or “absent” efficacy evidence is itself a finding (the “second silence”). Each epistemic-status label is Policy Window's editorial assessment of the cited evidence base (a structured classification), not a verdict any single source issues.

  • Is the harm real?evidence: contested

    Demonstrated only in TOY/CONSTRUCTED settings, not shown to arise spontaneously at frontier scale: the concept is theoretical (Hubinger et al. 2019), and the strongest empirical evidence — that transformers implement an internal gradient-descent-like optimizer to do in-context learning — comes from synthetic regression and sequence-prediction tasks (von Oswald et al. 2023, ICML; von Oswald et al. 2023, 'Uncovering mesa-optimization', arXiv:2309.05858), building on theoretical constructions (Akyürek et al. 2023). Whether pretrained frontier LMs actually mesa-optimise rather than merely being able to is directly contested (Shen, Mishra & Khashabi 2023, who report that in-context learning and gradient descent behave inconsistently across datasets, models, and number of demonstrations and differ in order-sensitivity, leaving the ICL-GD equivalence an open hypothesis), and no spontaneously emergent, misaligned inner objective has been demonstrated at frontier scale.

    Sources: Hubinger, van Merwijk, Mikulik, Skalse & Garrabrant 2019 (Risks from Learned Optimization in Advanced ML Systems, arXiv:1906.01820); von Oswald et al. 2023 (Transformers Learn In-Context by Gradient Descent, ICML / arXiv:2212.07677); von Oswald et al. 2023 (Uncovering mesa-optimization algorithms in Transformers, arXiv:2309.05858); Shen, Mishra & Khashabi 2023 (Do pretrained Transformers Learn In-Context by Gradient Descent?, arXiv:2310.08540; ICML 2024); Akyürek, Schuurmans, Andreas, Ma & Zhou 2023 (What learning algorithm is in-context learning? Investigations with linear models, ICLR 2023)

  • Does governance work?evidence: absent

    There is no validated governance or technical regime shown to detect or prevent misaligned mesa-optimisation: mechanistic interpretability and probing are proposed as the primary lever, but no impact evaluation demonstrates that any method reliably identifies a model's inner objective or curbs inner-misalignment harm, and behavioural testing is argued to be insufficient in principle because a deceptive inner optimiser could pass it (Hubinger et al. 2019). The evidence that governance works is absent — compounded by the fact that the phenomenon's frontier-scale reality is itself unestablished.

    Sources: Hubinger, van Merwijk, Mikulik, Skalse & Garrabrant 2019 (Risks from Learned Optimization in Advanced ML Systems, arXiv:1906.01820)

Editorial note

Mesa-optimisation is currently invoked in policy debates more often as a threat-model rationale than as an empirically-demonstrated failure. Wiki articles citing it should note the empirical-status uncertainty (Avila F6).

See also

Further reading

Sources on the broader topics this concept relates to — complementing, not standing in for, the primary sources cited inline above. 56 academic & grey-literature sources; catalogued metadata with a primary link; one-line findings are ✦ AI-generated summaries, labeled as such (charter §7.9). Browse the full literature index.

+ 44 more across this concept's topics — see the literature index.

References

Sources cited inline in the analysis, numbered in order of appearance.

  1. Hubinger, E., et al. (2019), 'Risks from Learned Optimization in Advanced Machine Learning Systems.' Mesa-Optimization. arXiv:1906.01820 — Hubinger, E., et al. (2019), 'Risks from Learned Optimization in Advanced Machine Learning Systems.' ↩
  2. arXiv:2210.01790 ↩
  3. arXiv:2105.14111 ↩
  4. arXiv:2211.15661 ↩
  5. arXiv:2212.07677 ↩
  6. Mary Phuong, Matthew Aitchison, Elliot Catt, et al. (Google DeepMind) (2024) Evaluating Frontier Models for Dangerous Capabilities, arXiv (cs.LG). arXiv:2403.13793 — Pilots dangerous-capability evaluations (persuasion, cyber, self-proliferation) on frontier models, finding 'early warning signs' but no strong present danger — grounding evaluation-based gating. ↩
Cite this article 8 formats · BibTeX, RIS, APA, Chicago, … · 1-click copy
Verify the year + paste-and-refine. Primary source linked in BibTeX/RIS note.
Permalink downloads.bib.ris.csl.json

Persistent identifier: https://policywindow.org/wiki/mesa-optimization · Current article. Its contents can change. Citation and reuse guidance.

Article tools — track changes, suggest an edit

Drafting provenance: human-curated catalog entry — this article's prose is human-written, not LLM-generated. Per charter §7.9. Not externally peer-reviewed; the review methodology, source appraisal and PRISMA-ScR conformance are documented at /wiki/methodology.

Generated from the Policy Window catalog at · each claim cites the originating primary source. Save this article above to get notified when it changes.

Not legal advice. This article catalogues the text and structure of governance instruments; it is not legal advice, regulatory advice, or any other professional advice. For high-stakes decisions (court pleadings, regulatory submissions, contract design) verify claims against the cited primary sources and consult qualified counsel. See terms of service §5 and /wiki/methodology.

Corrections record — none recorded

No corrections have been recorded for this article. See the Wiki’s correction policy and public corrections ledger.

Report a problem privately. Include this page’s address, the claim or citation and a supporting source. Read how the Wiki handles corrections.