Term
in-context learning
Meaning
A way of prompting a language model in which a few input-output demonstrations are placed in the context before a query, and the model predicts the answer for that query from this context without any update to its parameters.
How papers use it 9 papers
A Survey on In-context Learning
Use Serves as the central subject of the survey, which groups ICL work into training, prompt designing (demonstration selection, reformatting, ordering, instruction formatting and scoring functions), analysis, and applications. The demonstrations are written in natural-language templates, and the model scores candidate answers without parameter updates, which separates ICL from supervised training and from few-shot learning that adapts parameters.
Flamingo: a Visual Language Model for Few-Shot Learning
Use Flamingo performs few-shot adaptation through in-context learning, with sequences that interleave images or videos and text, analogous to few-shot prompting of GPT-3. The paper notes that it needs only inference and generally no hyperparameter tuning, but that it is sensitive to the choice of demonstrations and that its cost and performance scale poorly beyond a low-data regime of a few dozen examples.
Meaning In-context learning is a way of adapting a model to a task by placing a few task examples, with their inputs and outputs, in the prompt, without updating the model's weights. The model then continues the prompt to produce an answer for a new query.
Real-World Humanoid Locomotion with Reinforcement Learning
Use They frame this as a form of the in-context learning seen in large language models, and their analysis uses behavior and hidden-state patterns rather than a direct measurement of weight-free adaptation.
Meaning In-context learning is the ability of a model to adapt its behavior at inference time using information in its input context, without updating its weights.
Generalized Correctness Models: Learning Calibrated and Cross-Model Correctness Predictors from Historical Patterns
Use Used as a training-free way to inject historical correctness information. The train split of a correctness dataset is embedded in a vector database, and the top five most similar examples are retrieved and added to the prompt, with verbalized confidences elicited afterward. The setup makes prompts about five times longer. With Qwen3-32B as the predictor it improves accuracy on Gemma3-27B over verbalized confidence without ICL, while it gives no gain for Qwen3-8B.
Meaning In-context learning is a training-free method in which labelled examples are placed in the prompt so the model can use them as demonstrations at inference time. Here, the examples are selected by semantic similarity from a correctness dataset.
Language Models are Few-Shot Learners
Use Serves as the paper's name for the inner loop of meta-learning in language models, which the authors study through zero-shot, one-shot, and few-shot conditioning of GPT-3 at inference time. The paper treats the ability to learn from the context as something that grows with model size, and it is the basis of the few-shot results reported across the benchmarks.
Meaning Adapting a language model to a task by placing an instruction or a few worked demonstrations in its input text, so the model infers what to do and produces the answer from that context alone. The model's weights stay fixed, and the adaptation happens within the forward pass over the input.
Making Pre-trained Language Models Better Few-shot Learners
Use Used as a baseline, in which RoBERTa-large receives 32 randomly sampled demonstrations with no parameter updates. The paper contrasts it with its own approach, which samples one example per class to form minimal demonstration sets and fine-tunes the model with them.
Meaning A paradigm in which labeled demonstrations are placed in front of the input as context, so that a model can make predictions without updating its weights.
Toolformer: Language Models Can Teach Themselves to Use Tools
Use Used to have a large language model annotate a large unlabeled text collection with candidate API calls. Starting from only a handful of human-written demonstrations of how each API can be used, the model produces the annotations, which are later filtered by a loss-based criterion.
Meaning A way of prompting a large language model with a few worked examples placed in its input, so that it carries out a new task by imitating those examples without any change to its weights.
BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
Use Treated as a limitation of BLIP-2. Adding in-context VQA examples to the prompt of the frozen LLM did not improve VQA performance in the authors' experiments. The authors attribute this to the pre-training data, which pairs each sample with only one image and text, so the LLM never sees correlations among several image-text pairs in one sequence. They contrast this with Flamingo, which uses interleaved image-text data with multiple pairs per sequence, and plan to build a similar dataset later.
Meaning A capability in which a large language model adapts to a new task from a few worked examples placed in its input prompt, without updating its weights.
Prefix-Tuning: Optimizing Continuous Prompts for Generation
Use The prompting framework used by GPT-3, which the method draws on without using directly.
Meaning Steering a frozen language model by placing instructions and examples in its input.