scimeatlas

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

ACL 2024Large language models › Language, safety and interpretabilityapproach: In-context learning analysisopen problems in this approach28 citations (OpenAlex)

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 changedWhereMeasuredEffect
Replace demonstration responses with random tokens (response-altered task), longer demonstration (ablation)LLaMA2-70B ICL · CR, SST-2, AG NewsF1-Macro: near chance at small L -> above 80% as L growsImproved
Alter prompts instead of responses (prompt-altered task) (ablation)LLaMA2-70B ICL · CR, SST-2, AG NewsF1-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-MacroImproved
Use ICL instead of gradient-descent linear regression on random single-token mappingLLaMA2-70B · DBPediaF1-Macro: 99.9 -> 59.8Hurt
Correlate RA-ICL with g-ICL scoresLLaMA2-70B · CR, SST-2, AG NewsPearson / Spearman correlation: Pearson 0.34-0.42; Spearman 0.35-0.51Improved
Correlate g-ICL with g-Linear scoresLLaMA2-70B · DBPediaPearson / Spearman correlation: Pearson -0.02, Spearman 0.01No clear effect
Use natural antonym mapping instead of random mapping (ablation)g-ICL · DBPediaF1-Macro: 59.8 -> 84.5Improved
Use natural synonym mapping instead of random mapping (ablation)g-ICL · DBPediaF1-Macro: 59.8 -> 95.8Improved
Use natural keyword mapping instead of random mapping (ablation)g-ICL · CR / SST-2F1-Macro: 93.2 -> 100.0Improved
Raise synonym function to higher powers (more composition) (ablation)g-ICL · CR, SST-2, AG News, DBPediaF1-MacroHurt

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?

All 5 open problems and what was already tried →

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