In-Context Learning
Also known as ICL
Overview
In-context learning (ICL) studies how a model can infer a task, rule, or preference from information in its prompt and apply it to new inputs, making adaptation possible without task-specific weight updates. Common approaches include few-shot demonstrations, retrieval and ordering strategies, synthetic-task pretraining for prior-fitted models, and test-time optimization of prompts or memory; evaluations range from synthetic regression and Markov tasks to language, vision, time-series, graph, and robotics benchmarks. Theory and mechanistic studies examine what algorithms attention and recurrent models implement, and how context length, training-task diversity, and architecture affect generalization. A central tension is that models may encode contextual information yet fail to use it reliably: performance can be sensitive to example quality, order, noise, and conflict with pretrained priors, while longer contexts increase inference costs.
Latest papers
404 papers64 papers in the last four weeks, up 52% on the four weeks before. 0.4% of all new papers.
Pigeonholing: how bad prompts hurt models, causing collapse and mistakes
Scaling Performance and Low-Resource Annotation with Many-Shot In-Context Learning for Named Entity Recognition
Multi-Task Bayesian In-Context Learning
What Do Safety-Aligned LLMs Learn From Mixed Compliance Demonstrations?
Can In-Context Learning Support Intrinsic Curiosity?
Bounded Context Management for Tabular Foundation Models on Stream Learning
BCL: Bayesian In-Context Learning Framework for Information Extraction
When English Isn't the Best Teacher: Source Language Effects in Cross-Lingual In-Context Learning
Brick-DICL: Dynamic In-Context Learning for Automated Brick Schema Classification
Revisiting the Systematicity in Negation in the Era of In-Context Learning
When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformers
Distilling Examples into Task Instructions: Enhanced In-Context Learning for Real-World B2B Conversations
Call Playbook dataset, featuring five classification tasks derived from real-world B2B conversations targeting core sales concepts. To bridge the gap between performance and practical utility, we propose novel knowledge extraction methods that distill verbose examples into compact, interpretable representations of structured classification criteria and precise task descriptions. Our approach achieves a 99% reduction in token usage and improves macro-averaged AUC by up to 7% over traditional ICL. Notably, it remains robust as context grows, unlike advanced token compression baselines which degrade by over 9 F1 points. Importantly, our framework enables direct refinement of classification logic, addressing critical needs for transparency, efficiency, and user interaction in real-world NLP applications.