AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

In-Context Learning Creates Task Vectors

Roee Hendel, Mor Geva, Amir Globerson

EMNLP 2023Large language models › Language, safety and interpretabilityapproach: Pruning and circuits in LLMs440 citations (OpenAlex)

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 changedWhereMeasuredEffect
patch the task vector theta (from a dummy query) into the query-only forward passLLaMA, GPT-J, Pythia models · 18 ICL tasks (average)accuracy: baseline 10-20% -> 80-90% of regular ICL accuracyImproved
block attention to the query x instead of using a dummy query x' to compute theta (ablation)task-vector extraction · ICL tasksaccuracyHurt
inject theta_B while demonstrations S_A are still in the promptLLaMA · Present to Past / to Gerundaccuracy on task B: 0.96 (task A, regular) vs 0.95 (task B, conflicting)Improved
inject theta_B with S_A presentLLaMA · Next Letter / To Upperaccuracy on task B: 0.92 -> 0.77Mixed
inject theta_B with S_A presentLLaMA · List Last / List Firstaccuracy on task B: 0.95 -> 0.78Mixed

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy