Research map / Large language models / Language, safety and interpretability
In-Context Learning with Iterative Demonstration Selection
Chengwei Qin, Aston Zhang, Chen Chen, Anirudh Dagar, Wenming Ye
Nanyang Technological University · Amazon
Read the paperPlace an idea next to itCheck your own paper ↗
14measured effects
8improved
4no 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 leaderboard accuracy 78.5 · rank 391 of 674 papers
- MATH leaderboard accuracy 37.5 · rank 176 of 246 papers
- BoolQ leaderboard accuracy 87.8 · rank 9 of 84 papers
- AGNews leaderboard accuracy 89.8 · rank 38 of 71 papers
- CommonsenseQA leaderboard accuracy 78.1 · rank 26 of 54 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| select demonstrations by iterative Zero-shot-CoT reasoning paths (IDS) instead of top-k similar examples | GPT-3.5 ICL · Average over 6 datasets | accuracy (%): 68.1 -> 69.8 | Improved |
| use IDS instead of Top-k-Consistency | GPT-3.5 ICL · BoolQ | accuracy (%): 87.1 -> 87.8 | Improved |
| use IDS instead of Top-k-Consistency | GPT-3.5 ICL · GSM8K | accuracy (%): 76.1 -> 78.5 | Improved |
| use IDS instead of Random-Voting | GPT-3.5 ICL · CommonsenseQA | accuracy (%): 77.0 -> 78.1 | Improved |
| use similarity-based selection instead of random-diverse selection (pilot, 100 examples) | GPT-3.5 4-shot · CommonsenseQA | accuracy (%): 79.0 -> 76.0 | Hurt |
| use similarity-based selection instead of random-diverse selection (pilot, 100 examples) | GPT-3.5 4-shot · AGNews | accuracy (%): 88.0 -> 90.0 | Improved |
| use IDS with a single iteration (no voting) (ablation) | GPT-3.5 ICL · average over 6 datasets | accuracy (%) | Improved |
| increase iterations beyond 3 (q = 5, 7) (ablation) | IDS · average over 6 datasets | accuracy (%) | No clear effect |
| swap GPT-3.5 for GPT-4 | IDS vs Top-k-Consistency · Average, 200 examples per dataset | accuracy (%): 73.9 -> 75.4 | Improved |
| use IDS with Llama-2-chat 7B/13B/70B | Llama-2-chat · GSM8K (500 examples) | accuracy (%): 14.6 -> 16.6 (7B) | Improved |
| vary number of demonstrations k from 2 to 8 (ablation) | IDS · average over 6 datasets | accuracy (%): 69.4, 69.9, 69.9, 69.7 | No clear effect |
| use OpenAI ada-002 embeddings instead of Sentence-BERT (ablation) | IDS · BoolQ, CommonsenseQA, GSM8K | accuracy (%): IDS 87.2/78.0/77.6 vs Top-k 86.0/75.4/75.8 | No clear effect |
Closest papers by meaning
- Comparative Analysis of Demonstration Selection Algorithms for In-Context Learning in Large Language Models (Student Abstract) (AAAI 2025 · similarity 0.92)
- Large Language Models are Demonstration Pre-Selectors for Themselves (ICML 2025 · similarity 0.91)
- Mixture of Demonstrations for In-Context Learning (NeurIPS 2024 · similarity 0.91)
- Demonstration Selection for In-Context Learning via Reinforcement Learning (ICML 2025 · similarity 0.91)
- Many-Shot CoT-ICL: Making In-Context Learning Truly Learn (ICML 2026 · similarity 0.91)
- What Makes In-context Learning Effective for Mathematical Reasoning (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.
