AI Paper Atlas

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

EMNLP 2023Large language models › Reasoning and chain of thoughtapproach: Search and self-correction in reasoning75 citations (OpenAlex)

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
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% dropNo clear effect
replace all eight demos with one positive demo (ablation)ICL with CoT, code-davinci-002 · GSM8Kaccuracy: ~60% -> ~83%Improved
replace multi-demo ICL with one positive demo (ablation)ICL few-shot and CoT, code-davinci-002 · all evaluated datasetsaccuracyImproved
add more positive demos to one positive demo (ablation)ICL, code-davinci-002 · GSM8K-Easy, CSQA-Easyaccuracy: nearly 99% with one positive demo, then significant degradationHurt
add more negative demos to one negative demo (ablation)ICL, code-davinci-002 · GSM8K-Hard, CSQA-HardaccuracyImproved
use all eight demos instead of one random demo (ablation)ICL with CoT, code-davinci-002 · GSM8KaccuracyMixed

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