Research map / Large language models / Language, safety and interpretability
Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learning
Lean Wang, Lei Li, Damai Dai, Deli Chen, Hao Zhou, Fandong Meng, Jie Zhou, Xu Sun
Tencent · Peking University
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
4improved
3no clear effect
3hurt
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.
On benchmark leaderboards
- TREC leaderboard accuracy 60.92 · rank 56 of 60 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add Anchor Re-weighting (learnable beta per label word) | GPT2-XL ICL · SST-2/TREC/AGNews/EmoC | accuracy: 51.90 -> 68.64 average | Improved |
| add four extra demonstrations per class to the prompt (5-shot) instead of training beta | GPT2-XL ICL · SST-2/TREC/AGNews/EmoC | accuracy: 51.90 -> 46.87 average | Hurt |
| add Anchor Re-weighting | GPT2-XL ICL · TREC | accuracy: 60.40 (5-shot) vs 60.92 | No clear effect |
| isolate label words from text in the first 5 layers (ablation) | GPT2-XL / GPT-J ICL · SST-2/TREC/AGNews/EmoC | label loyalty / word loyalty | Hurt |
| isolate label words in the last 5 layers or isolate random non-label words (ablation) | GPT2-XL / GPT-J ICL · SST-2/TREC/AGNews/EmoC | label loyalty / word loyalty | No clear effect |
| compress demonstration to anchor hidden states (Hidden_anchor) | GPT-J ICL · SST-2/TREC/AGNews/EmoC | accuracy: 56.82 -> 55.59 | No clear effect |
| use anchor hidden states instead of label text only (Text_anchor) | Compression · avg of 4 datasets | accuracy: GPT2-XL 38.77 -> 45.04; GPT-J 40.83 -> 55.59 | Improved |
| use anchor hidden states instead of random non-label hidden states | Compression · avg of 4 datasets | accuracy: GPT2-XL 39.96 -> 45.04; GPT-J 31.51 -> 55.59 | Improved |
| compress with Hidden_anchor for faster inference | GPT2-XL and GPT-J · SST-2/TREC/AGNews/EmoC | inference speed-up: 1.1x to 2.9x | Improved |
| concatenate label-word hidden states without formatting hidden states (ablation) | Compression · preliminary | accuracy | Hurt |
Closest papers by meaning
- In-Context Learning Learns Label Relationships but Is Not Conventional Learning (ICLR 2024 · similarity 0.93)
- Revisiting In-context Learning Inference Circuit in Large Language Models (ICLR 2025 · similarity 0.90)
- Dual Operating Modes of In-Context Learning (ICML 2024 · similarity 0.89)
- Capturing In-Context Learning Dynamics with Task Operators (NeurIPS 2026 · similarity 0.88)
- Disentangling Latent Shifts of In-Context Learning with Weak Supervision (NeurIPS 2025 · similarity 0.87)
- From Unstructured Data to In-Context Learning: Exploring What Tasks Can Be Learned and When (NeurIPS 2024 · similarity 0.87)
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.
