Research map / Large language models / Language, safety and interpretability
Label Words as Local Task Vectors in In-Context Learning
Bowen Zheng, Ming Ma, Zhongqiao Lin, Tianming Yang
The Chinese University of Hong Kong · Chinese Academy of Sciences · University of Chinese Academy of Sciences
Read the paperPlace an idea next to itCheck your own paper ↗
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 local task vectors instead of the global task vector (No Avg) | LLaMA-7B dummy-input patching · Simple String | accuracy: 0.49 -> 0.66 | Improved |
| patch local task vectors instead of the global task vector (No Avg) | LLaMA-7B dummy-input patching · Complex String | accuracy: 0.55 -> 0.65 | Improved |
| patch local task vectors instead of the global task vector (No Avg) | LLaMA-7B dummy-input patching · 2-D Data (8 demos) | accuracy: 0.53 -> 0.59 | Improved |
| patch global task vector in categorization task | LLM with dummy inputs · categorization task | accuracy: near chance level (50%) | No clear effect |
| patch global task vector in knowledge task | LLM with dummy inputs · country-capital knowledge task | accuracy: on par with real demonstrations with 3+ demonstrations | Improved |
| patch local task vectors (No Avg) instead of global (Trial Avg) | LLaMA-7B · Capital | accuracy: 0.92 -> 0.80 | Hurt |
| patch local task vectors (Trial Avg) instead of global (Trial Avg) | LLaMA-7B · Religion | accuracy: 0.71 -> 0.92 | Improved |
| average local task vectors across positions (Pos Avg) instead of per-position (ablation) | local task vector patching on LLaMA-7B · Complex String | accuracy: 0.65 -> 0.39 | Hurt |
| average local task vectors across positions (Pos Avg) (ablation) | local task vector patching on LLaMA-7B · Antonyms | accuracy: 0.81 -> 0.00 | Hurt |
| remove string-length subspace from answer-position states (dPCA null space) in early layers (ablation) | LLM on categorization task · Simple String categorization | accuracy | Hurt |
| remove string-length subspace from answer-position states from layer ~13 on (ablation) | LLM on categorization task · Simple String categorization | accuracy | No clear effect |
| zero out answer tokens of demonstrations (ablation) | LLM · knowledge task | accuracy | No clear effect |
Open problems in in-context learning analysis
Which in-context learning methods hold up beyond English classification on small open models, and what do they cost?
- Only a few small or medium open models were tested. · 14 papers state it
- The method needs many extra LLM calls or passes. · 13 papers state it
- Evaluated on English data only, with other languages untested. · 12 papers state it
Closest papers by meaning
- Vector-ICL: In-context Learning with Continuous Vector Representations (ICLR 2025 · similarity 0.92)
- Distributional Alignment as a Criterion for Designing Task Vectors in In-Context Learning (NeurIPS 2026 · similarity 0.92)
- Capturing In-Context Learning Dynamics with Task Operators (NeurIPS 2026 · similarity 0.91)
- In-Context Learning Learns Label Relationships but Is Not Conventional Learning (ICLR 2024 · similarity 0.90)
- Emergence and Effectiveness of Task Vectors in In-Context Learning: An Encoder Decoder Perspective (ICML 2025 · similarity 0.90)
- In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering (ICML 2024 · 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.