Finding Visual Task Vectors
Not on the map. Why?
Abstract (arXiv)
Visual Prompting is a technique for teaching models to perform a visual task via in-context examples, without any additional training. In this work, we analyze the activations of MAE-VQGAN, a recent Visual Prompting model, and find task vectors, activations that encode task-specific information. Equipped with this insight, we demonstrate that it is possible to identify the task vectors and use them to guide the network towards performing different tasks without providing any input-output examples. To find task vectors, we compute the average intermediate activations per task and use the REINFORCE algorithm to search for the subset of task vectors. The resulting task vectors guide the model towards performing a task better than the original model without the need for input-output examples.
Key facts. Cited by 24 papers in the map (data through 14 Oct 2026). Builds on 42 of its 52 references that are in the map. First posted on arXiv 8 Apr 2024.
Builds on
42 of 52 references.
References · 42
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2022Visual Prompt Tuningcited by 1,681
30 more
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
- 2017One-Shot Learning for Semantic Segmentationcited by 337
- 2023In-Context Learning Creates Task Vectorscited by 312
- 2023Function Vectors in Large Language Modelscited by 308
- 2020A Survey on Neural Network Interpretabilitycited by 291
- 2013Direct and Indirect Effectscited by 280
- 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 274
- 2022Visual Prompting via Image Inpaintingcited by 250
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 245
- 2023Sequential Modeling Enables Scalable Learning for Large Vision Modelscited by 212
- 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 196
- 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
- 2024Rethinking Interpretability in the Era of Large Language Modelscited by 111
- 2024Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Modelscited by 91
- 2023A Theory of Emergent In-Context Learning as Implicit Structure Inductioncited by 86
- 2020Causal Interpretability for Machine Learning -- Problems, Methods and Evaluationcited by 82
- 2023Towards Vision-Language Mechanistic Interpretability: A Causal Tracing Tool for BLIPcited by 62
- 2024From Understanding to Utilization: A Survey on Explainability for Large Language Modelscited by 48
- 2023How are Prompts Different in Terms of Sensitivity?cited by 35
- 2024Exploring Multilingual Concepts of Human Value in Large Language Models: Is Value Alignment Consistent, Transferable and Controllable across Languages?cited by 24
- 2024Batch-ICL: Effective, Efficient, and Order-Agnostic In-Context Learningcited by 20
- 2023IMProv: Inpainting-based Multimodal Prompting for Computer Vision Taskscited by 10
- 2024Transformer-based Causal Language Models Perform Clusteringcited by 5
- 2023Emergence and Function of Abstract Representations in Self-Supervised Transformerscited by 3
Built on by
Citing papers per year: 2024: 6; 2025: 10; 2026: 8.
24 papers.
Sort:
By area:
- 2024Perceive-IR: Learning to Perceive Degradation Better for All-in-One Image Restorationcited by 62
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learningcited by 50
- 2024Vision-Language Models Create Cross-Modal Task Representationscited by 15
- 2025Mechanistic Finetuning of Vision-Language-Action Models via Few-Shot Demonstrationscited by 15
- 2024WeatherGFM: Learning A Weather Generalist Foundation Model via In-context Learningcited by 12
- 2024Enhancing Few-Shot Vision-Language Classification with Large Multimodal Model Featurescited by 11
- 2025Do different prompting methods yield a common task representation in language models?cited by 11
- 2025Understanding Task Vectors in In-Context Learning: Emergence, Functionality, and Limitationscited by 9
- 2024ELICIT: LLM Augmentation via External In-Context Capabilitycited by 7
- 2025Activation Reward Models for Few-Shot Model Alignmentcited by 6
- 2026An Empirical Study and Theoretical Explanation on Task-Level Model-Merging Collapsecited by 4
- 2025Think Outside the Policy: In-Context Steered Policy Optimizationcited by 3
12 more
- 2025Towards Ambiguity-Free Spatial Foundation Model: Rethinking and Decoupling Depth Ambiguitycited by 2
- 2025Evaluating Steering Techniques using Human Similarity Judgmentscited by 2
- 2026PromptHub: Enhancing Multi-Prompt Visual In-Context Learning with Locality-Aware Fusion, Concentration and Alignmentcited by 2
- 2025PANICL: Mitigating Over-Reliance on Single Prompt in Visual In-Context Learningcited by 1
- 2025Multimodal Function Vectors for Visual Relationscited by 1
- 2026Unlocking Few-Shot Capabilities in LVLMs via Prompt Conditioning and Head Selectioncited by 1
- 2025Variational Task Vector Compositioncited by 0
- 2026Taking Shortcuts for Categorical VQA Using Super Neuronscited by 0
- 2026Probing Intrinsic Medical Task Relationships: A Contrastive Learning Perspectivecited by 0
- 2026DeCoVec: Building Decoding Space based Task Vector for Large Language Models via In-Context Learningcited by 0
- 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformerscited by 0
- 2026Prior Directions: Why GUI Grounding Gets Locked in the Pastcited by 0
- 2026Prior Directions: Why GUI Grounding Gets Locked in the Past29 Jul 2026
- 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformers15 Jun 2026
- 2026DeCoVec: Building Decoding Space based Task Vector for Large Language Models via In-Context Learning13 Apr 2026
- 2026Probing Intrinsic Medical Task Relationships: A Contrastive Learning Perspective7 Apr 2026
- 2026Unlocking Few-Shot Capabilities in LVLMs via Prompt Conditioning and Head Selection25 Mar 2026
- 2026PromptHub: Enhancing Multi-Prompt Visual In-Context Learning with Locality-Aware Fusion, Concentration and Alignment19 Mar 2026
- 2026Taking Shortcuts for Categorical VQA Using Super Neurons11 Mar 2026
- 2026An Empirical Study and Theoretical Explanation on Task-Level Model-Merging Collapse10 Mar 2026
- 2025Mechanistic Finetuning of Vision-Language-Action Models via Few-Shot Demonstrations27 Nov 2025
- 2025Think Outside the Policy: In-Context Steered Policy Optimization30 Oct 2025
- 2025Multimodal Function Vectors for Visual Relations2 Oct 2025
- 2025PANICL: Mitigating Over-Reliance on Single Prompt in Visual In-Context Learning26 Sep 2025
12 more
- 2025Variational Task Vector Composition21 Sep 2025
- 2025Activation Reward Models for Few-Shot Model Alignment2 Jul 2025
- 2025Understanding Task Vectors in In-Context Learning: Emergence, Functionality, and Limitations10 Jun 2025
- 2025Evaluating Steering Techniques using Human Similarity Judgments25 May 2025
- 2025Do different prompting methods yield a common task representation in language models?17 May 2025
- 2025Towards Ambiguity-Free Spatial Foundation Model: Rethinking and Decoupling Depth Ambiguity8 Mar 2025
- 2024Enhancing Few-Shot Vision-Language Classification with Large Multimodal Model Features28 Nov 2024
- 2024WeatherGFM: Learning A Weather Generalist Foundation Model via In-context Learning8 Nov 2024
- 2024Vision-Language Models Create Cross-Modal Task Representations29 Oct 2024
- 2024ELICIT: LLM Augmentation via External In-Context Capability12 Oct 2024
- 2024Perceive-IR: Learning to Perceive Degradation Better for All-in-One Image Restoration28 Aug 2024
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learning21 Jun 2024
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learningcited by 50
- 2024Vision-Language Models Create Cross-Modal Task Representationscited by 15
- 2025Mechanistic Finetuning of Vision-Language-Action Models via Few-Shot Demonstrationscited by 15
- 2024Enhancing Few-Shot Vision-Language Classification with Large Multimodal Model Featurescited by 11
- 2025Activation Reward Models for Few-Shot Model Alignmentcited by 6
- 2025Multimodal Function Vectors for Visual Relationscited by 1
- 2026Unlocking Few-Shot Capabilities in LVLMs via Prompt Conditioning and Head Selectioncited by 1
- 2026Taking Shortcuts for Categorical VQA Using Super Neuronscited by 0
- 2026Prior Directions: Why GUI Grounding Gets Locked in the Pastcited by 0
- 2026Prior Directions: Why GUI Grounding Gets Locked in the Past29 Jul 2026
- 2026Unlocking Few-Shot Capabilities in LVLMs via Prompt Conditioning and Head Selection25 Mar 2026
- 2026Taking Shortcuts for Categorical VQA Using Super Neurons11 Mar 2026
- 2025Mechanistic Finetuning of Vision-Language-Action Models via Few-Shot Demonstrations27 Nov 2025
- 2025Multimodal Function Vectors for Visual Relations2 Oct 2025
- 2025Activation Reward Models for Few-Shot Model Alignment2 Jul 2025
- 2024Enhancing Few-Shot Vision-Language Classification with Large Multimodal Model Features28 Nov 2024
- 2024Vision-Language Models Create Cross-Modal Task Representations29 Oct 2024
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learning21 Jun 2024
- 2024Perceive-IR: Learning to Perceive Degradation Better for All-in-One Image Restorationcited by 62
- 2024WeatherGFM: Learning A Weather Generalist Foundation Model via In-context Learningcited by 12
- 2025Do different prompting methods yield a common task representation in language models?cited by 11
- 2025Understanding Task Vectors in In-Context Learning: Emergence, Functionality, and Limitationscited by 9
- 2024ELICIT: LLM Augmentation via External In-Context Capabilitycited by 7
- 2026An Empirical Study and Theoretical Explanation on Task-Level Model-Merging Collapsecited by 4
- 2025Towards Ambiguity-Free Spatial Foundation Model: Rethinking and Decoupling Depth Ambiguitycited by 2
- 2025Evaluating Steering Techniques using Human Similarity Judgmentscited by 2
- 2026PromptHub: Enhancing Multi-Prompt Visual In-Context Learning with Locality-Aware Fusion, Concentration and Alignmentcited by 2
- 2025PANICL: Mitigating Over-Reliance on Single Prompt in Visual In-Context Learningcited by 1
- 2025Variational Task Vector Compositioncited by 0
- 2026Probing Intrinsic Medical Task Relationships: A Contrastive Learning Perspectivecited by 0
12 most cited of 14 All 14 (JSON)
- 2026When Does Depth Matter For In-Context Learning? Adaptive Inference in Deep Transformers15 Jun 2026
- 2026DeCoVec: Building Decoding Space based Task Vector for Large Language Models via In-Context Learning13 Apr 2026
- 2026Probing Intrinsic Medical Task Relationships: A Contrastive Learning Perspective7 Apr 2026
- 2026PromptHub: Enhancing Multi-Prompt Visual In-Context Learning with Locality-Aware Fusion, Concentration and Alignment19 Mar 2026
- 2026An Empirical Study and Theoretical Explanation on Task-Level Model-Merging Collapse10 Mar 2026
- 2025PANICL: Mitigating Over-Reliance on Single Prompt in Visual In-Context Learning26 Sep 2025
- 2025Variational Task Vector Composition21 Sep 2025
- 2025Understanding Task Vectors in In-Context Learning: Emergence, Functionality, and Limitations10 Jun 2025
- 2025Evaluating Steering Techniques using Human Similarity Judgments25 May 2025
- 2025Do different prompting methods yield a common task representation in language models?17 May 2025
- 2025Towards Ambiguity-Free Spatial Foundation Model: Rethinking and Decoupling Depth Ambiguity8 Mar 2025
- 2024WeatherGFM: Learning A Weather Generalist Foundation Model via In-context Learning8 Nov 2024
12 newest of 14 All 14 (JSON)