scimeatlas

Research map / Large language models / Language, safety and interpretability

An Explanation of In-context Learning as Implicit Bayesian Inference

Sang Michael Xie, Aditi Raghunathan, Percy Liang, Tengyu Ma

ICLR 2022Large language models › Language, safety and interpretabilityapproach: In-context learning analysisopen problems in this approach20 citations (OpenAlex)

Stanford University · Carnegie Mellon University · Meta

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
4improved
1no clear effect
3hurt
2mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase the number of prompt examplesTransformers and LSTMs trained on GINC · GINCin-context accuracyImproved
Increase the length of each prompt exampleTransformers and LSTMs trained on GINC · GINCin-context accuracyImproved
Increase Transformer depth from 12 to 16 layersTransformer trained on GINC · GINC, vocab size 50in-context accuracy: 81% -> 85%Improved
Increase Transformer depth from 12 to 16 layersTransformer trained on GINC · GINC, vocab size 50validation loss: 1.33 -> 1.33No clear effect
Use an LSTM instead of a TransformerModels trained on GINC · GINCin-context accuracyImproved
Remove the mixture of concepts by pretraining on only one concept (ablation)4-layer Transformer trained on GINC · GINCin-context accuracyHurt
Replace mixture-of-concepts pretraining data with random-transition data (ablation)4-layer Transformer trained on GINC · GINCin-context accuracyHurt
Use prompts from concepts absent from the pretraining family (ablation)4-layer Transformer trained on GINC · GINC prompts from unseen conceptsin-context accuracyHurt
Change the order of the same prompt examples4-layer Transformer trained on GINC · GINC, permutations of 4 examplesin-context accuracy: 10--40% differenceMixed
Add a few prompt examples rather than use zero-shot prompting12-layer Transformer trained on GINC · GINC, temperature 0.01, 12 concepts, vocab size 100in-context accuracyMixed

Open problems in in-context learning analysis

Which in-context learning methods hold up beyond English classification on small open models, and what do they cost?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy