Research map / Large language models / Reasoning and chain of thought
How Many Demonstrations Do You Need for In-context Learning?
Jiuhai Chen, Lichang Chen, Chen Zhu, Tianyi Zhou
University of Maryland
Read the paperPlace an idea next to itCheck your own paper ↗
6measured effects
3improved
1no clear effect
1hurt
1mixed
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
- GSM8K (CoT) leaderboard accuracy 83 · rank 7 of 14 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| reduce all 7-8 demos to one random demo (ablation) | ICL (few-shot and CoT) with code-davinci-002 · reasoning benchmarks (GSM8K, MultiArith, AddSub, SVAMP, AQuA, SingleOp, CSQA, Coin-flip) | accuracy: 0-7% drop | No clear effect |
| replace all eight demos with one positive demo (ablation) | ICL with CoT, code-davinci-002 · GSM8K | accuracy: ~60% -> ~83% | Improved |
| replace multi-demo ICL with one positive demo (ablation) | ICL few-shot and CoT, code-davinci-002 · all evaluated datasets | accuracy | Improved |
| add more positive demos to one positive demo (ablation) | ICL, code-davinci-002 · GSM8K-Easy, CSQA-Easy | accuracy: nearly 99% with one positive demo, then significant degradation | Hurt |
| add more negative demos to one negative demo (ablation) | ICL, code-davinci-002 · GSM8K-Hard, CSQA-Hard | accuracy | Improved |
| use all eight demos instead of one random demo (ablation) | ICL with CoT, code-davinci-002 · GSM8K | accuracy | Mixed |
Closest papers by meaning
- Mixture of Demonstrations for In-Context Learning (NeurIPS 2024 · similarity 0.91)
- Are Human-generated Demonstrations Necessary for In-context Learning? (ICLR 2024 · similarity 0.90)
- What Makes In-context Learning Effective for Mathematical Reasoning (ICML 2025 · similarity 0.89)
- Many-Shot CoT-ICL: Making In-Context Learning Truly Learn (ICML 2026 · similarity 0.89)
- Revisiting In-context Learning Inference Circuit in Large Language Models (ICLR 2025 · similarity 0.88)
- Position: Do pretrained Transformers Learn In-Context by Gradient Descent? (ICML 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.
