Skip to main content
AI Governance WikiPolicy Window · neutral reference
Pinned snapshot. This article is rendered from the catalog state captured at (closest snapshot at-or-before your requested date of ). The live version may differ — drop the ?asOf= parameter to see the current catalog state.

In-Context Learning

in-context-learning · Frontier safety

Concept
Tools

Editorial review pending

The capacity of a foundation model to adapt its behaviour to a new task purely from examples provided in the prompt, without any updates to the model's weights — discovered as an emergent property of large language models and now a primary evaluation surface.

Definition & scope

Field consensus on this concept:settled

In-context learning (ICL) was named by Brown et al. (2020, 'Language Models are Few-Shot Learners,' the GPT-3 paper) as the surprising observation that sufficiently large language models could perform new tasks from a few demonstrations in the prompt. The phenomenon is empirically robust across scales above ~1B parameters; theoretical accounts (Xie et al. 2022, 'An Explanation of In-context Learning as Implicit Bayesian Inference'; Garg et al. 2022; von Oswald et al. 2023, 'Transformers Learn In-Context by Gradient Descent') propose various mechanisms but no consensus mechanism has emerged. Governance relevance is methodological. (a) Capability evaluations that test only baseline prompting under-state real-world capability, because deployment prompts routinely include task examples (Wei et al. 2022 chain-of-thought; Anil et al. 2024 many-shot). EU AI Act Art. 55(1)(a) adversarial testing must include ICL-mode probing to be capability-accurate. (b) Safety evaluations that test only baseline refusals under-state real-world failure surface, because many-shot jailbreaking exploits ICL to recover prohibited capabilities (Anil et al. 2024). (c) Model-card disclosures should specify which capabilities are baseline vs ICL-elicited (EU AIA Art. 53 transparency obligation). (d) ICL also affects the open-vs-closed debate: a closed model accessed via API still exposes ICL-elicitation surface, weakening the capability-containment assumption.

Use in governance

How instruments operationalise this concept

InstrumentJurisdictionStatus
EU AI ActEUin force
NIST AI RMF Generative AI ProfileUSin force

Appears in topic articles

Editorial note

Distinguish ICL (in-prompt example-based adaptation) from fine-tuning (weight-update-based adaptation) and from retrieval-augmented generation (retrieved-context-based adaptation). All three affect deployed capability without modifying the underlying model, but at different latencies + with different governance surfaces.

See also

Further reading

Sources on the broader topics this concept relates to — complementing, not standing in for, the primary sources cited inline above. 70 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.

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

References

The primary instrument sources behind the article's classifications.

  1. Brown, T., et al. (2020), 'Language Models are Few-Shot Learners' (GPT-3 paper) — the canonical articulation of in-context learning as an emergent capability.
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
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.

Snapshot served. The article body above was deserialised from the ArticleRevision row captured at for your requested date of . Drop ?asOf= to see the current catalog state.

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.