Research map / Large language models / Language, safety and interpretability
Interpret and Improve In-Context Learning via the Lens of Input-Label Mappings
Chenghao Sun, Zhen Huang, Yonggang Zhang, Le Lu, Houqiang Li, Xinmei Tian, Xu Shen, Jieping Ye
University of Science and Technology of China · Hong Kong Baptist University
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.
On benchmark leaderboards
- SST-2 leaderboard accuracy 95.18 · rank 52 of 272 papers
- RTE leaderboard accuracy 84.85 · rank 27 of 149 papers
- MMLU (5-shot) leaderboard accuracy 54.1 · rank 43 of 79 papers
- MMLU (0-shot) leaderboard accuracy 52.43 · rank 9 of 13 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| fine-tune only the 32 key ICL heads (Pinpoint SFT) instead of leaving the model untuned | Mistral-7B · NLP classification average | accuracy: 68.67% -> 83.65% | Improved |
| fine-tune only key heads rather than all parameters (ablation) | Mistral-7B · NLP classification average | accuracy: 73.25% -> 83.65% | Improved |
| fine-tune only key heads rather than all parameters (preserves general ability) (ablation) | Mistral-7B · MMLU (0-shot) | accuracy: 31.14% -> 52.43% | Improved |
| tune the identified key heads instead of 32 random heads (ablation) | Pinpoint SFT · 6 NLP datasets | accuracy: 71.69% -> 83.65% | Improved |
| tune key heads instead of random heads (ablation) | Pinpoint SFT · MMLU (0-shot) | accuracy: 39.13% -> 52.43% | Improved |
| increase tuned heads from 32 to 64 (ablation) | Pinpoint SFT · 6 NLP datasets | accuracy: 83.65% -> 83.82% | No clear effect |
| increase tuned heads from 32 to 128 (ablation) | Pinpoint SFT · 6 NLP datasets | accuracy: 83.65% -> 82.44% | Hurt |
| apply Pinpoint SFT to list function tasks | Mistral-7B · BIG-Bench list functions (4-shot) average | accuracy: 69.80% -> 80.04% | Improved |
| knock out heads ranked by PC-patching effect instead of random heads (ablation) | Mistral-7B · SST-2 | accuracy after knockout | Hurt |
| swap attention scores between class labels in key heads (20 heads) (ablation) | Mistral-7B · SST-2 | accuracy: 100% -> 11.33% | Hurt |
| block information flow from input to label in demonstrations (layer 17) (ablation) | Mistral-7B · SST-2 | accuracy: 97.35% (random block) -> 55.63% (label block) | Hurt |
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
- Enhancing Input-Label Mapping in In-Context Learning with Contrastive Decoding (ACL 2025 · similarity 0.91)
- Inference and Verbalization Functions During In-Context Learning (EMNLP 2024 · similarity 0.91)
- In-Context Learning Learns Label Relationships but Is Not Conventional Learning (ICLR 2024 · similarity 0.90)
- Unveiling In-Context Learning: A Coordinate System to Understand Its Working Mechanism (EMNLP 2024 · similarity 0.90)
- Revisiting In-context Learning Inference Circuit in Large Language Models (ICLR 2025 · similarity 0.89)
- From Unstructured Data to In-Context Learning: Exploring What Tasks Can Be Learned and When (NeurIPS 2024 · similarity 0.88)
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.