Research map / Large language models / Language, safety and interpretability
What In-Context Learning ``Learns'' In-Context: Disentangling Task Recognition and Task Learning
Jane Pan, Tianyu Gao, Howard Chen, Danqi Chen
Princeton University
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
5improved
3no clear effect
2hurt
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 |
|---|---|---|---|
| Use Random (uniformly sampled) demonstration labels instead of gold labels, small models and few examples (ablation) | GPT-3, LLaMA, OPT · 16 classification datasets, K=8 | accuracy | No clear effect |
| Scale model size and number of demonstrations under Random labels (task recognition only) (ablation) | GPT-3, LLaMA, OPT · 16 classification datasets | accuracy | No clear effect |
| Give 8 demonstrations with random labels to the smallest models (task recognition) | GPT-3 ada, OPT-350M · 16 classification datasets, K=8 | accuracy: around 10 points lead over random baseline (ada), 5 points (OPT-350M) | Improved |
| Increase model size with abstract labels (task learning) (ablation) | GPT-3, LLaMA, OPT · 16 classification datasets, K=32 | accuracy | Improved |
| Increase number of demonstrations with abstract labels on large models (ablation) | GPT-3 davinci, OPT-66B, LLaMA-65B · 16 classification datasets | accuracy | Improved |
| Increase number of demonstrations with abstract labels on small models (ablation) | small GPT-3, LLaMA, OPT models · 16 classification datasets | accuracy | No clear effect |
| Use abstract labels with small models or small K, compared with random labels (ablation) | GPT-3, LLaMA, OPT · 16 classification datasets | accuracy | Hurt |
| Use abstract labels with largest models and K=32, compared with random labels (ablation) | largest models · 16 classification datasets | accuracy | Improved |
| Use letters or numbers instead of symbols as abstract labels (ablation) | davinci, OPT-66B · 16 classification datasets | accuracy | Improved |
| Use harder task type (NLI) instead of sentiment analysis for abstract labels (ablation) | GPT-3 models, K=32 · sentiment vs NLI | accuracy | 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
- Unveiling In-Context Learning: A Coordinate System to Understand Its Working Mechanism (EMNLP 2024 · similarity 0.95)
- Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning (ICLR 2025 · similarity 0.93)
- Dual Operating Modes of In-Context Learning (ICML 2024 · similarity 0.92)
- Capturing In-Context Learning Dynamics with Task Operators (NeurIPS 2026 · similarity 0.92)
- In-Context Learning Learns Label Relationships but Is Not Conventional Learning (ICLR 2024 · similarity 0.92)
- DETAIL: Task DEmonsTration Attribution for Interpretable In-context Learning (NeurIPS 2024 · similarity 0.92)
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.