Research map / Large language models / Language, safety and interpretability
In-Context Learning Creates Task Vectors
Roee Hendel, Mor Geva, Amir Globerson
Tel Aviv University · Google DeepMind · Google
Read the paperPlace an idea next to itCheck your own paper ↗
5measured effects
2improved
1hurt
2mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| patch the task vector theta (from a dummy query) into the query-only forward pass | LLaMA, GPT-J, Pythia models · 18 ICL tasks (average) | accuracy: baseline 10-20% -> 80-90% of regular ICL accuracy | Improved |
| block attention to the query x instead of using a dummy query x' to compute theta (ablation) | task-vector extraction · ICL tasks | accuracy | Hurt |
| inject theta_B while demonstrations S_A are still in the prompt | LLaMA · Present to Past / to Gerund | accuracy on task B: 0.96 (task A, regular) vs 0.95 (task B, conflicting) | Improved |
| inject theta_B with S_A present | LLaMA · Next Letter / To Upper | accuracy on task B: 0.92 -> 0.77 | Mixed |
| inject theta_B with S_A present | LLaMA · List Last / List First | accuracy on task B: 0.95 -> 0.78 | Mixed |
Closest papers by meaning
- Vector-ICL: In-context Learning with Continuous Vector Representations (ICLR 2025 · similarity 0.91)
- In-Context Learning through the Bayesian Prism (ICLR 2024 · similarity 0.91)
- Dual Operating Modes of In-Context Learning (ICML 2024 · similarity 0.91)
- Distributional Alignment as a Criterion for Designing Task Vectors in In-Context Learning (NeurIPS 2026 · similarity 0.90)
- Capturing In-Context Learning Dynamics with Task Operators (NeurIPS 2026 · similarity 0.90)
- Provable In-Context Vector Arithmetic via Retrieving Task Concepts (ICML 2025 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
