AI Paper Atlas

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

EMNLP 2023Large language models › Language, safety and interpretabilityapproach: Linguistic encoding in LLM representations338 citations (OpenAlex)

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add Anchor Re-weighting (learnable beta per label word)GPT2-XL ICL · SST-2/TREC/AGNews/EmoCaccuracy: 51.90 -> 68.64 averageImproved
add four extra demonstrations per class to the prompt (5-shot) instead of training betaGPT2-XL ICL · SST-2/TREC/AGNews/EmoCaccuracy: 51.90 -> 46.87 averageHurt
add Anchor Re-weightingGPT2-XL ICL · TRECaccuracy: 60.40 (5-shot) vs 60.92No clear effect
isolate label words from text in the first 5 layers (ablation)GPT2-XL / GPT-J ICL · SST-2/TREC/AGNews/EmoClabel loyalty / word loyaltyHurt
isolate label words in the last 5 layers or isolate random non-label words (ablation)GPT2-XL / GPT-J ICL · SST-2/TREC/AGNews/EmoClabel loyalty / word loyaltyNo clear effect
compress demonstration to anchor hidden states (Hidden_anchor)GPT-J ICL · SST-2/TREC/AGNews/EmoCaccuracy: 56.82 -> 55.59No clear effect
use anchor hidden states instead of label text only (Text_anchor)Compression · avg of 4 datasetsaccuracy: GPT2-XL 38.77 -> 45.04; GPT-J 40.83 -> 55.59Improved
use anchor hidden states instead of random non-label hidden statesCompression · avg of 4 datasetsaccuracy: GPT2-XL 39.96 -> 45.04; GPT-J 31.51 -> 55.59Improved
compress with Hidden_anchor for faster inferenceGPT2-XL and GPT-J · SST-2/TREC/AGNews/EmoCinference speed-up: 1.1x to 2.9xImproved
concatenate label-word hidden states without formatting hidden states (ablation)Compression · preliminaryaccuracyHurt

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