One Task Vector is not Enough: A Large-Scale Study for In-Context Learning
Not on the map. Why?
Abstract (arXiv)
In-context learning (ICL) enables Large Language Models (LLMs) to adapt to new tasks using few examples, with task vectors - specific hidden state activations - hypothesized to encode task information. Existing studies are limited by small-scale benchmarks, restricting comprehensive analysis. We introduce QuiteAFew, a novel dataset of 3,096 diverse few-shot tasks, each with 30 input-output pairs derived from the Alpaca dataset. Experiments with Llama-3-8B on QuiteAFew reveal: (1) task vector performance peaks at an intermediate layer (e.g., 15th), (2) effectiveness varies significantly by task type, and (3) complex tasks rely on multiple, subtask-specific vectors rather than a single vector, suggesting distributed task knowledge representation.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 7 of its 18 references that are in the map. First posted on arXiv 29 May 2025.
Builds on
7 of 18 references.
References · 7
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2023In-Context Learning Creates Task Vectorscited by 302
- 2024Intrinsic Self-correction for Enhanced Morality: An Analysis of Internal Mechanisms and the Superficial Hypothesiscited by 15
Built on by
Citing papers per year: 2025: 1.
1 paper.