Research map / Large language models / Language, safety and interpretability
What Do Language Models Learn in Context? The Structured Task Hypothesis.
Jiaoda Li, Yifan Hou, Mrinmaya Sachan, Ryan Cotterell
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
6improved
1no 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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Replace demonstration responses with random tokens (response-altered task), longer demonstration (ablation) | LLaMA2-70B ICL · CR, SST-2, AG News | F1-Macro: near chance at small L -> above 80% as L grows | Improved |
| Alter prompts instead of responses (prompt-altered task) (ablation) | LLaMA2-70B ICL · CR, SST-2, AG News | F1-Macro: above 80% (RA-ICL) -> near or below chance (PA-ICL) | Hurt |
| Increase model size from LLaMA2-7B to 70B on response-altered ICL (ablation) | LLaMA2 RA-ICL · CR, SST-2, AG News (L=32) | F1-Macro | Improved |
| Use ICL instead of gradient-descent linear regression on random single-token mapping | LLaMA2-70B · DBPedia | F1-Macro: 99.9 -> 59.8 | Hurt |
| Correlate RA-ICL with g-ICL scores | LLaMA2-70B · CR, SST-2, AG News | Pearson / Spearman correlation: Pearson 0.34-0.42; Spearman 0.35-0.51 | Improved |
| Correlate g-ICL with g-Linear scores | LLaMA2-70B · DBPedia | Pearson / Spearman correlation: Pearson -0.02, Spearman 0.01 | No clear effect |
| Use natural antonym mapping instead of random mapping (ablation) | g-ICL · DBPedia | F1-Macro: 59.8 -> 84.5 | Improved |
| Use natural synonym mapping instead of random mapping (ablation) | g-ICL · DBPedia | F1-Macro: 59.8 -> 95.8 | Improved |
| Use natural keyword mapping instead of random mapping (ablation) | g-ICL · CR / SST-2 | F1-Macro: 93.2 -> 100.0 | Improved |
| Raise synonym function to higher powers (more composition) (ablation) | g-ICL · CR, SST-2, AG News, DBPedia | F1-Macro | 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
- Dual Operating Modes of In-Context Learning (ICML 2024 · similarity 0.91)
- Why Larger Language Models Do In-context Learning Differently? (ICML 2024 · similarity 0.90)
- In-Context Learning Learns Label Relationships but Is Not Conventional Learning (ICLR 2024 · similarity 0.90)
- In-Context Learning through the Bayesian Prism (ICLR 2024 · similarity 0.90)
- In-Context Language Learning: Architectures and Algorithms (ICML 2024 · similarity 0.90)
- Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergence (ICML 2025 · 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.