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. Reinforcement Learning Elicits Contextual Learning of Unseen Language Translation

    Jun 4, 2026Hanxu Hu, Zdeněk Šnajdr, Pinzhen Chen +2RL for Language ModelsIn-Context Learning

  2. LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agents

    Jun 4, 2026Aofan Yu, Chenyu Zhou, Tianyi Xu +8LLM Agent Skill LearningIn-Context Learning

  3. Would you still call this Dax? Novel Visual References in VLMs and Humans

    Jun 3, 2026Ada Defne Tür, Gaurav Kamath, Joyce Chai +2VLM EvaluationVision-Language Models

  4. Activation-Based Active Learning for In-Context Learning: Challenges and Insights

    Jun 3, 2026Yaseen M. Osman, Geoff V. Merrett, Stuart E. MiddletonIn-Context Example SelectionActive Learning

  5. Fast & Faithful Function Vectors

    Jun 3, 2026Minh An Pham, Anton Segeler, Thomas Wiegand +4Task VectorsLLM Interpretability

  6. Hyper-ICL: Attention Calibration with Hyperbolic Anchor Distillation for Multimodal In-Context Learning

    Jun 3, 2026Niloufar Alipour Talemi, Hossein Kashiani, Fatemeh AfghahEfficient Multimodal InferenceMultimodal ICL

  7. OpenRFM: Dissecting Relational In-Context Learning

    Jun 3, 2026Zhikai Chen, Junyu Yin, Jialiang Gu +5Relational Foundation ModelsSynthetic Data Pretraining

  8. An Asymptotic Theory of Chain-of-Thought in In-Context Learning

    Jun 2, 2026Kaito Takanami, Cengiz PehlevanNeural Network GeneralizationCoT Reasoning

  9. RA-LWLM: Retrieval-Augmented In-Context Localization with Wireless Foundation Models

    Jun 1, 2026Guangjin Pan, Hui Chen, Hei Victor Cheng +1Wireless CommunicationsIn-Context Learning

  10. Med-HEAL: Analyzing and Mitigating Hallucinations in Medical LLMs with Hallucination-Aware In-Context Learning

    May 31, 2026Yiming Liao, Zeno Franco, Jose Eduardo Lizarraga Mazaba +1LLM Self-CorrectionLLM Hallucination Mitigation

  11. Images as Tables: In-Context Learning with TabPFN for Low-Data Detection of AI-Generated Images

    May 30, 2026Jan Philip Walter, Shashank Agnihotri, Margret KeuperIn-Context LearningAI-Generated Image Detection

  12. Finite Certificates for In-Context Determinacy and a Threshold Theory of Emergence in Language Models

    May 30, 2026Faruk Alpay, Hamdi AlakkadEmergent Abilities in Language ModelsLLM Evaluation

  13. In-Context Reward Adaptation for Robust Preference Modeling

    May 28, 2026Zhenyu Sun, Zheng Xu, Ermin WeiHuman Preference ModelingIn-Context Learning

  14. Attention as In-Context Empirical Bayes: A Two-Stage View via Particle Dynamics

    May 28, 2026Matthew Smart, Soumya Ganguly, Nilava Metya +2Self-AttentionEmpirical Bayes

  15. Understanding Generalization and Forgetting in In-Context Continual Learning

    May 27, 2026Guangyu Li, Meng Ding, Lijie HuContinual Learning for LLMsIn-Context Learning

  16. Explaining is Harder Than Predicting Alone: Evaluating Concept-based Explanations of MLLMs as ICL Visual Classifiers

    May 27, 2026Carmen Quiles-Ramírez, Leticia L. Rodríguez, Nicolás Martorell +1VLM EvaluationMultimodal Large Language Models

  17. Reflective Dialogue between Teacher and Solver Agents for Video Question Answering

    May 27, 2026Takuya Murakawa, Toru TamakiVLM AdaptationVideo QA

  18. Fine-Tuning Dynamics of In-Context Factual Recall in Transformers

    May 26, 2026Ruomin Huang, Eshaan Nichani, Jason D. Lee +1Supervised Fine-TuningTransformer Attention

  19. FSA-GRPO: Teaching Auditory LLMs to Use Few-shot Demonstrations

    May 26, 2026Haolong Zheng, Siyin Wang, Xulin Fan +2RL for Language ModelsFew-Shot Domain Adaptation

  20. ICICLE: Expanding Retrieval with In-Context Documents

    May 26, 2026Yu-Chen Den, Yung-Yu Shih, Zhi Rui Tam +4In-Context RetrievalGenerative Retrieval

  21. ContextGuard: Structured Self-Auditing for Context Learning in Language Models

    May 26, 2026Hongbo Jin, Chi Wang, Haoran Tang +5LLM AuditingInstruction Following

  22. Transformers Can Learn Posterior Predictive Distributions In-Context

    May 26, 2026Gyeonghun Kang, Changwoo J. Lee, Xiang ChengBayesian InferenceTransformer Attention

  23. In-Context Optimization for Retrieval-Augmented Generation: A Gradient-Descent Perspective

    May 25, 2026Mingchen Li, Jiatan Huang, Chuxu Zhang +2Retrieval-Augmented GenerationTest-Time Adaptation

  24. When Correct Demonstrations Hurt: Rethinking the Role of Exemplars in In-Context Learning

    May 25, 2026Chenghao Qiu, Chunli Peng, Yufeng Yang +2In-Context Learning

  25. Context-CoT: Enhancing Context Learning via High-Quality Reasoning Synthesis

    May 25, 2026Hongbo Jin, Mingnan Zhu, Jingqi Tian +6CoT ReasoningIn-Context Learning

  26. Advancing Graph Few-Shot Learning via In-Context Learning

    May 23, 2026Renchu Guan, Yajun Wang, Chunli Guo +5Meta-LearningFew-Shot Learning

  27. Self-Improving In-Context Learning

    May 22, 2026Baturay Saglam, Dionysis KalogeriasLanguage Model CalibrationIn-Context Learning