In-Context Learning Creates Task Vectors
Not on the map. Why?
Cited by 22 in Multimodal LLMs / vision-language models, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
In-context learning (ICL) in Large Language Models (LLMs) has emerged as a powerful new learning paradigm. However, its underlying mechanism is still not well understood. In particular, it is challenging to map it to the "standard" machine learning framework, where one uses a training set S to find a best-fitting function f(x) in some hypothesis class. Here we make progress on this problem by showing that the functions learned by ICL often have a very simple structure: they correspond to the transformer LLM whose only inputs are the query x and a single "task vector" calculated from the training set. Thus, ICL can be seen as compressing S into a single task vector boldsymbolθ(S) and then using this task vector to modulate the transformer to produce the output. We support the above claim via comprehensive experiments across a range of models and tasks.
Key facts. Cited by 302 papers in the map (data through 7 Oct 2026). Builds on 10 of its 21 references that are in the map. First posted on arXiv 24 Oct 2023.
Builds on
10 of 21 references.
References · 10
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2023Language Models Implement Simple Word2Vec-style Vector Arithmeticcited by 97
- 2021The Inductive Bias of In-Context Learning: Rethinking Pretraining Example Designcited by 33
Built on by
Citing papers per year: 2023: 9; 2024: 91; 2025: 102; 2026: 100.
302 papers.
Sort:
By area:
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 381
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 240
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
- 2024Many-Shot In-Context Learningcited by 203
- 2024How to use and interpret activation patchingcited by 191
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 179
- 2024Improving Instruction-Following in Language Models through Activation Steeringcited by 149
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
- 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 126
- 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 115
38 more
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2024Universal Neurons in GPT2 Language Modelscited by 100
- 2024Information Flow Routes: Automatically Interpreting Language Models at Scalecited by 92
- 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 87
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2024RAVEL: Evaluating Interpretability Methods on Disentangling Language Model Representationscited by 77
- 2024Can large language models explore in-context?cited by 75
- 2024The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalitiescited by 69
- 2024Seal-Tools: Self-Instruct Tool Learning Dataset for Agent Tuning and Detailed Benchmarkcited by 62
- 2024Get my drift? Catching LLM Task Drift with Activation Deltascited by 61
- 2024Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineeringcited by 60
- 2024Emergence of a High-Dimensional Abstraction Phase in Language Transformerscited by 56
- 2024From Words to Numbers: Your Large Language Model Is Secretly A Capable Regressor When Given In-Context Examplescited by 55
- 2024What Makes Multimodal In-Context Learning Work?cited by 54
- 2024The Geometry of Concepts: Sparse Autoencoder Feature Structurecited by 52
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learningcited by 49
- 2024LatentQA: Teaching LLMs to Decode Activations Into Natural Languagecited by 49
- 2024ICLR: In-Context Learning of Representationscited by 49
- 2024From Understanding to Utilization: A Survey on Explainability for Large Language Modelscited by 47
- 2024Efficient Prompting Methods for Large Language Models: A Surveycited by 46
- 2025When Truth Is Overridden: Uncovering the Internal Origins of Sycophancy in Large Language Modelscited by 46
- 2024Is Mamba Capable of In-Context Learning?cited by 45
- 2024Revisiting VerilogEval: A Year of Improvements in Large-Language Models for Hardware Code Generationcited by 45
- 2025Learning without training: The implicit dynamics of in-context learningcited by 41
- 2024Who's asking? User personas and the mechanics of latent misalignmentcited by 40
- 2025Understanding (Un)Reliability of Steering Vectors in Language Modelscited by 39
- 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformerscited by 38
- 2025Language Models Are Capable of Metacognitive Monitoring and Control of Their Internal Activationscited by 37
- 2024Multi-property Steering of Large Language Models with Dynamic Activation Compositioncited by 35
- 2023A Survey on Knowledge Editing of Neural Networkscited by 34
- 2023The Mystery of In-Context Learning: A Comprehensive Survey on Interpretation and Analysiscited by 34
- 2023How are Prompts Different in Terms of Sensitivity?cited by 34
- 2025A Survey on Mechanistic Interpretability for Multi-Modal Foundation Modelscited by 34
- 2025M2IV: Towards Efficient and Fine-grained Multimodal In-Context Learning via Representation Engineeringcited by 34
- 2024LLMs learn governing principles of dynamical systems, revealing an in-context neural scaling lawcited by 32
- 2024Controlling Large Language Model Agents with Entropic Activation Steeringcited by 29
- 2025Steering off Course: Reliability Challenges in Steering Language Modelscited by 29
- 2024Linear Transformers are Versatile In-Context Learnerscited by 28
50 most cited of 302 All 302 (JSON)
- 2026Capturing In-Context Learning Dynamics with Task Operators1 Oct 2026
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations1 Oct 2026
- 2026Rules Amortize, Pairings Don't: Linguistic Structure Determines What Latent Task Representations Can Replace In-Context Learning30 Sep 2026
- 2026Beyond the Shadows of Plato's Cave: Evaluating False Memory in Autonomous Agents via Counterfactual Reasoning30 Sep 2026
- 2026CRAFT: Causal Responsibility and Failure Tracing in Medical Vision Language Models30 Sep 2026
- 2026When Can Prefixes Compile LoRA? Exact Resource-Capped Tests for Frozen Attention29 Sep 2026
- 2026In-Context Learning Amplifies a Latent Symbolic Circuit28 Sep 2026
- 2026Signatures of semantic search in the activations of large language models28 Sep 2026
- 2026Rethinking Contextualization by Reinterpreting Attention Head Channels27 Sep 2026
- 2026From Knowing to Abstaining: Bridging the Representation-Action Gap in Vision-Language Models26 Sep 2026
- 2026On the Capability and Limitation of Hard Prompt26 Sep 2026
- 2026The System Prompt Illusion: How Instruction Preambles Modify Computation in Language Models23 Sep 2026
38 more
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMs21 Sep 2026
- 2026To Copy or Not to Copy: Controlling Speculative Decoding via Intrinsic Model Signals17 Sep 2026
- 2026Hints Help But Do They Teach? Evaluating Skills Transfer in Code Generation1 Sep 2026
- 2026Cross-lingual Functional Vectors for Emotion Detection in Large Language Models30 Aug 2026
- 2026A Unifying Perspective on Language Model Representations: From Filler-Role Structure to Mechanistic Interpretability29 Aug 2026
- 2026A Pre-Specified Construction-Confirmation Test of Operation-Level Causal Transfer Across Finite Isomorphic Symbolic Domains16 Aug 2026
- 2026Identifiability and Order-Dimension Limits of In-Context Learning on Partial Orders14 Aug 2026
- 2026A Calibrated Test of Internal Action Maps: State Signals Without Global Affine Closure13 Aug 2026
- 2026When Is a Task Vector Enough? An Empirical Theory of Implicit Multimodal ICL13 Aug 2026
- 2026HUGIN: Enhancing Vision-Language Planning for Autonomous Logistics Sorting12 Aug 2026
- 2026Multimodal Model Diffing for Feature Discovery and Control10 Aug 2026
- 2026KV-Skill: Forging Expertise in the Model's Native Language5 Aug 2026
- 2026Test, then Route: How Language Models Execute In-Context Conditional Rules Across Models and Languages4 Aug 2026
- 2026In-Context Collapse in Vision-Language Models and How to Mitigate it?3 Aug 2026
- 2026Hidden APIs in Language Models: Discovering Reusable Causal Interfaces from Forked Futures30 Jul 2026
- 2026Where Steering Signals Come From: Activation Source Selection in Activation Steering28 Jul 2026
- 2026How Does Alignment Tuning Shape Representations of Sycophancy and Related Cue-Induced Biases in LLMs?20 Jul 2026
- 2026Training, Reading, and Editing Legible Transformers9 Jul 2026
- 2026Prompt Compression via Activation Aggregation9 Jul 2026
- 2026Distributed Sparse Interventions in Language Models8 Jul 2026
- 2026What Do Safety-Aligned LLMs Learn From Mixed Compliance Demonstrations?18 Jun 2026
- 2026Can In-Context Learning Support Intrinsic Curiosity?17 Jun 2026
- 2026Revisiting the Systematicity in Negation in the Era of In-Context Learning15 Jun 2026
- 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformers15 Jun 2026
- 2026Agentic Framework for Deep Learning workload migration via In-Context Learning14 Jun 2026
- 2026Adversarial Concept Search: Predicting Compositional Errors From Feature Geometry11 Jun 2026
- 2026Reasoning as Pattern Matching: Shared Mechanisms in Human and LLM Everyday Reasoning11 Jun 2026
- 2026Necessary, Decodable and Reversible, Yet Not Transferable: A Stress Test for Attention-Head Role Claims6 Jun 2026
- 2026The ACUTE Protocol: Operationalizing Language Model Activations for Better Calibration, Utility, and Trust5 Jun 2026
- 2026Fast & Faithful Function Vectors3 Jun 2026
- 2026Lifted State Hypothesis in Large Language Models2 Jun 2026
- 2026Probing the Prompt KV Cache: Where It Becomes Dispensable28 May 2026
- 2026Causal Interventions on Continuous Variables: A Case Study on Verb Bias in Steering Vectors for In-Context Learning28 May 2026
- 2026Function-Vector Heads Are Two Populations: Writers and Cancellers in In-Context Learning25 May 2026
- 2026Transformer Field Theory: A Response-Theoretic Approach to Mechanistic Interpretability24 May 2026
- 2026Few-Shot Degradation Is Not What It Seems: Behavioral Evidence, Representation Analysis, and a Random-Text Control Across 12 Models, 2 Tasks, and 2 Architectures23 May 2026
- 2026Self-Improving In-Context Learning22 May 2026
- 2026As X, Do Y: How Persona and Task Combine in Instruction-Tuned LLMs22 May 2026
50 newest of 302 All 302 (JSON)
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learningcited by 49
- 2025A Survey on Mechanistic Interpretability for Multi-Modal Foundation Modelscited by 34
- 2025M2IV: Towards Efficient and Fine-grained Multimodal In-Context Learning via Representation Engineeringcited by 34
- 2025Mechanistic Finetuning of Vision-Language-Action Models via Few-Shot Demonstrationscited by 15
- 2024Vision-Language Models Create Cross-Modal Task Representationscited by 14
- 2024Can MLLMs Perform Text-to-Image In-Context Learning?cited by 13
- 2025Mimic In-Context Learning for Multimodal Taskscited by 12
- 2024Enhancing Few-Shot Vision-Language Classification with Large Multimodal Model Featurescited by 11
- 2025Activation Reward Models for Few-Shot Model Alignmentcited by 6
- 2025Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learningcited by 4
- 2025Do we Really Need Visual Instructions? Towards Visual Instruction-Free Fine-tuning for Large Vision-Language Modelscited by 1
- 2026HIFICL: High-Fidelity In-Context Learning for Multimodal Taskscited by 1
12 most cited of 21 All 21 (JSON)
- 2026CRAFT: Causal Responsibility and Failure Tracing in Medical Vision Language Models30 Sep 2026
- 2026From Knowing to Abstaining: Bridging the Representation-Action Gap in Vision-Language Models26 Sep 2026
- 2026Multimodal Model Diffing for Feature Discovery and Control10 Aug 2026
- 2026In-Context Collapse in Vision-Language Models and How to Mitigate it?3 Aug 2026
- 2026Source-Modality Monitoring in Vision-Language Models23 Apr 2026
- 2026Unlocking Few-Shot Capabilities in LVLMs via Prompt Conditioning and Head Selection25 Mar 2026
- 2026Parallel In-context Learning for Large Vision Language Models17 Mar 2026
- 2026HIFICL: High-Fidelity In-Context Learning for Multimodal Tasks13 Mar 2026
- 2025Mechanistic Finetuning of Vision-Language-Action Models via Few-Shot Demonstrations27 Nov 2025
- 2025Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learning11 Nov 2025
- 2025Multimodal Function Vectors for Visual Relations2 Oct 2025
- 2025Activation Reward Models for Few-Shot Model Alignment2 Jul 2025
12 newest of 21 All 21 (JSON)
- 2025Improving Reasoning Performance in Large Language Models via Representation Engineeringcited by 21
- 2025Towards High Data Efficiency in Reinforcement Learning with Verifiable Rewardcited by 16
- 2024Evidence from counterfactual tasks supports emergent analogical reasoning in large language modelscited by 14
- 2025Analogical Reasoning Inside Large Language Models: Concept Vectors and the Limits of Abstractioncited by 11
- 2026Linear Mechanisms for Spatiotemporal Reasoning in Vision Language Modelscited by 11
- 2024Can LLMs Learn by Teaching for Better Reasoning? A Preliminary Studycited by 5
- 2025CoT Vectors: Transferring and Probing the Reasoning Mechanisms of LLMscited by 4
- 2026Understanding Contextual Recall in Transformers: How Finetuning Enables In-Context Reasoning over Pretraining Knowledgecited by 2
- 2025Interpreting Multi-Attribute Confounding through Numerical Attributes in Large Language Modelscited by 0
- 2026In-Context Examples Suppress Scientific Knowledge Recall in LLMscited by 0
- 2026Rethinking Contextualization by Reinterpreting Attention Head Channelscited by 0
- 2026Rethinking Contextualization by Reinterpreting Attention Head Channels27 Sep 2026
- 2026In-Context Examples Suppress Scientific Knowledge Recall in LLMs30 Apr 2026
- 2026Understanding Contextual Recall in Transformers: How Finetuning Enables In-Context Reasoning over Pretraining Knowledge21 Mar 2026
- 2026Linear Mechanisms for Spatiotemporal Reasoning in Vision Language Models18 Jan 2026
- 2025Interpreting Multi-Attribute Confounding through Numerical Attributes in Large Language Models6 Nov 2025
- 2025CoT Vectors: Transferring and Probing the Reasoning Mechanisms of LLMs1 Oct 2025
- 2025Towards High Data Efficiency in Reinforcement Learning with Verifiable Reward1 Sep 2025
- 2025Improving Reasoning Performance in Large Language Models via Representation Engineering28 Apr 2025
- 2025Analogical Reasoning Inside Large Language Models: Concept Vectors and the Limits of Abstraction5 Mar 2025
- 2024Can LLMs Learn by Teaching for Better Reasoning? A Preliminary Study20 Jun 2024
- 2024Evidence from counterfactual tasks supports emergent analogical reasoning in large language models14 Apr 2024
- 2024Seal-Tools: Self-Instruct Tool Learning Dataset for Agent Tuning and Detailed Benchmarkcited by 62
- 2024Controlling Large Language Model Agents with Entropic Activation Steeringcited by 29
- 2023The Tyranny of Possibilities in the Design of Task-Oriented LLM Systems: A Scoping Surveycited by 2
- 2025Lucy: edgerunning agentic web search on mobile with machine generated task vectorscited by 1
- 2025Agent-Centric Projection of Prompting Techniques and Implications for Synthetic Training Data for Large Language Modelscited by 0
- 2026Agentic Framework for Deep Learning workload migration via In-Context Learningcited by 0
- 2026Agentic Framework for Deep Learning workload migration via In-Context Learning14 Jun 2026
- 2025Lucy: edgerunning agentic web search on mobile with machine generated task vectors1 Aug 2025
- 2025Agent-Centric Projection of Prompting Techniques and Implications for Synthetic Training Data for Large Language Models14 Jan 2025
- 2024Controlling Large Language Model Agents with Entropic Activation Steering1 Jun 2024
- 2024Seal-Tools: Self-Instruct Tool Learning Dataset for Agent Tuning and Detailed Benchmark14 May 2024
- 2023The Tyranny of Possibilities in the Design of Task-Oriented LLM Systems: A Scoping Survey29 Dec 2023
- 2024Who's asking? User personas and the mechanics of latent misalignmentcited by 40
- 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformerscited by 38
- 2025Large Language Models Encode Semantics and Alignment in Linearly Separable Representationscited by 14
- 2026Segment-Level Coherence for Robust Harmful Intent Probing in LLMscited by 3
- 2026Beyond Forgetting: Representation Misdirection Elicits Controllable Side Behaviors and Capabilitiescited by 1
- 2026When a Zero-Shooter Cheats: Improving Age Estimation via Activation Steeringcited by 0
- 2026When a Zero-Shooter Cheats: Improving Age Estimation via Activation Steering17 May 2026
- 2026Segment-Level Coherence for Robust Harmful Intent Probing in LLMs16 Apr 2026
- 2026Beyond Forgetting: Representation Misdirection Elicits Controllable Side Behaviors and Capabilities29 Jan 2026
- 2025Large Language Models Encode Semantics and Alignment in Linearly Separable Representations13 Jul 2025
- 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformers15 Apr 2025
- 2024Who's asking? User personas and the mechanics of latent misalignment17 Jun 2024
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 179
- 2024Tradeoffs Between Alignment and Helpfulness in Language Models with Steering Methodscited by 26
- 2024Multilingual Blending: LLM Safety Alignment Evaluation with Language Mixturecited by 22
- 2026What Do Safety-Aligned LLMs Learn From Mixed Compliance Demonstrations?cited by 0
- 2026What Do Safety-Aligned LLMs Learn From Mixed Compliance Demonstrations?18 Jun 2026
- 2024Multilingual Blending: LLM Safety Alignment Evaluation with Language Mixture10 Jul 2024
- 2024Tradeoffs Between Alignment and Helpfulness in Language Models with Steering Methods29 Jan 2024
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity3 Jan 2024
- 2025SimLens for Early Exit in Large Language Models: Eliciting Accurate Latent Predictions with One More Tokencited by 0
- 2026Probing the Prompt KV Cache: Where It Becomes Dispensablecited by 0
- 2026Prompt Compression via Activation Aggregationcited by 0
- 2026To Copy or Not to Copy: Controlling Speculative Decoding via Intrinsic Model Signalscited by 0
- 2026To Copy or Not to Copy: Controlling Speculative Decoding via Intrinsic Model Signals17 Sep 2026
- 2026Prompt Compression via Activation Aggregation9 Jul 2026
- 2026Probing the Prompt KV Cache: Where It Becomes Dispensable28 May 2026
- 2025SimLens for Early Exit in Large Language Models: Eliciting Accurate Latent Predictions with One More Token23 Jul 2025
- 2024Is Mamba Capable of In-Context Learning?cited by 45
- 2025From Markov to Laplace: How Mamba In-Context Learns Markov Chainscited by 9
- 2025From Markov to Laplace: How Mamba In-Context Learns Markov Chains14 Feb 2025
- 2024Is Mamba Capable of In-Context Learning?5 Feb 2024
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 381
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 240
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
- 2024Many-Shot In-Context Learningcited by 203
- 2024How to use and interpret activation patchingcited by 191
- 2024Improving Instruction-Following in Language Models through Activation Steeringcited by 149
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
- 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 126
- 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 115
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
12 most cited of 241 All 241 (JSON)
- 2026Capturing In-Context Learning Dynamics with Task Operators1 Oct 2026
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations1 Oct 2026
- 2026Rules Amortize, Pairings Don't: Linguistic Structure Determines What Latent Task Representations Can Replace In-Context Learning30 Sep 2026
- 2026Beyond the Shadows of Plato's Cave: Evaluating False Memory in Autonomous Agents via Counterfactual Reasoning30 Sep 2026
- 2026When Can Prefixes Compile LoRA? Exact Resource-Capped Tests for Frozen Attention29 Sep 2026
- 2026In-Context Learning Amplifies a Latent Symbolic Circuit28 Sep 2026
- 2026Signatures of semantic search in the activations of large language models28 Sep 2026
- 2026On the Capability and Limitation of Hard Prompt26 Sep 2026
- 2026The System Prompt Illusion: How Instruction Preambles Modify Computation in Language Models23 Sep 2026
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMs21 Sep 2026
- 2026Hints Help But Do They Teach? Evaluating Skills Transfer in Code Generation1 Sep 2026
- 2026Cross-lingual Functional Vectors for Emotion Detection in Large Language Models30 Aug 2026
12 newest of 241 All 241 (JSON)