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

CardsList

404 papers64 papers in the last four weeks, up 52% on the four weeks before. 0.4% of all new papers.

  1. GRaSp: Automatic Example Optimization for In-Context Learning in Low-Data Tasks

    May 8, 2026Simen Bihaug-Frøyland, Henrik BrådlandIn-Context Example SelectionIn-Context Learning

  2. Mitigating Many-shot Jailbreak Attacks with One Single Demonstration

    May 8, 2026Kejia Chen, Jiawen Zhang, Boheng Li +6Jailbreak AttacksIn-Context Learning

  3. Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descent

    May 7, 2026Chenyang Zhang, Yuan CaoLogistic RegressionSelf-Attention

  4. In-Context Black-Box Optimization with Unreliable Feedback

    May 7, 2026Nicolas Samuel Blumer, Julien Martinelli, Samuel KaskiBayesian OptimizationBlack-Box Optimization

  5. Understanding In-Context Learning for Nonlinear Regression with Transformers: Attention as Featurizer

    May 6, 2026Alexander Hsu, Zhaiming Shen, Wenjing Liao +1Transformer AttentionIn-Context Learning

  6. Adaptivity Under Realizability Constraints: Comparing In-Context and Agentic Learning

    May 6, 2026Anastasis Kratsios, A. Martina Neuman, Philipp PetersenReLU Neural NetworksIn-Context Learning

  7. LLMs with in-context learning for Algorithmic Theoretical Physics

    May 6, 2026Anamaria Hell, Leander ThieleIn-Context LearningLLM Tool Use

  8. LIVEditor-14B: Lightning Unified Video Editing via In-Context Sparse Attention

    May 6, 2026Shitong Shao, Zikai Zhou, Haopeng Li +4Video EditingIn-Context Learning

  9. Task Vector Geometry Underlies Dual Modes of Task Inference in Transformers

    May 5, 2026Hao Yan, Haolin Yang, Yiqiao ZhongTransformer InterpretabilityNeural Representation Geometry

  10. AdapShot: Adaptive Many-Shot In-Context Learning with Semantic-Aware KV Cache Reuse

    May 5, 2026Jie Ou, Jinyu Guo, Shiyao Guo +5Long-Context Language Model InferenceKV-Cache Management

  11. Enhancing Multimodal In-Context Learning via Inductive-Deductive Reasoning

    May 4, 2026Haoyu Wang, Haonan Wang, Yuyan Chen +5Multimodal ICLIn-Context Learning

  12. Embedding-based In-Context Prompt Training for Enhancing LLMs as Text Encoders

    May 2, 2026Ailiang Lin, Zhuoyun Li, Keyu Mao +2Text EmbeddingsIn-Context Learning

  13. From Context to Skills: Can Language Models Learn from Context Skillfully?

    Apr 30, 2026Shuzheng Si, Haozhe Zhao, Yu Lei +10In-Context LearningAgent Skill Learning

  14. In-Context Examples Suppress Scientific Knowledge Recall in LLMs

    Apr 30, 2026Chaemin Jang, Woojin Park, Hyeok Yun +2Knowledge Conflicts in Language ModelsScientific Reasoning

  15. CL-bench Life: Can Language Models Learn from Real-Life Context?

    Apr 29, 2026Shihan Dou, Yujiong Shen, Chenhao Huang +35LLM EvaluationLLM Grounding

  16. QCalEval: Benchmarking Vision-Language Models for Quantum Calibration Plot Understanding

    Apr 28, 2026Shuxiang Cao, Zijian Zhang, Abhishek Agarwal +29VLM EvaluationIn-Context Learning

  17. When Context Sticks: Studying Interference in In-Context Learning

    Apr 25, 2026Hanna Rød, Dagny Streit, Nils Valseth Selte +1In-Context Learning

  18. Fine-tuning vs. In-context Learning in Large Language Models: A Formal Language Learning Perspective

    Apr 25, 2026Bishwamittra Ghosh, Soumi Das, Till Speicher +5LLM EvaluationLLM Fine-Tuning

  19. Adaptive Test-Time Compute Allocation with Evolving In-Context Demonstrations

    Apr 22, 2026Bowen Zuo, Dongruo Zhou, Yinglun ZhuEfficient InferenceTest-Time Optimization

  20. Diagnosing CFG Interpretation in LLMs

    Apr 22, 2026Hanqi Li, Lu Chen, Kai YuLLM EvaluationIn-Context Learning

  21. Syntax as a Rosetta Stone: Universal Dependencies for In-Context Coptic Translation

    Apr 20, 2026Abhishek Purushothama, Emma Thronson, Alexia Guo +1In-Context LearningLow-Resource MT