AI Paper Atlas

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

EMNLP 2024Large language models › Language, safety and interpretabilityapproach: In-context learning analysis118 citations (OpenAlex)

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
select demonstrations by iterative Zero-shot-CoT reasoning paths (IDS) instead of top-k similar examplesGPT-3.5 ICL · Average over 6 datasetsaccuracy (%): 68.1 -> 69.8Improved
use IDS instead of Top-k-ConsistencyGPT-3.5 ICL · BoolQaccuracy (%): 87.1 -> 87.8Improved
use IDS instead of Top-k-ConsistencyGPT-3.5 ICL · GSM8Kaccuracy (%): 76.1 -> 78.5Improved
use IDS instead of Random-VotingGPT-3.5 ICL · CommonsenseQAaccuracy (%): 77.0 -> 78.1Improved
use similarity-based selection instead of random-diverse selection (pilot, 100 examples)GPT-3.5 4-shot · CommonsenseQAaccuracy (%): 79.0 -> 76.0Hurt
use similarity-based selection instead of random-diverse selection (pilot, 100 examples)GPT-3.5 4-shot · AGNewsaccuracy (%): 88.0 -> 90.0Improved
use IDS with a single iteration (no voting) (ablation)GPT-3.5 ICL · average over 6 datasetsaccuracy (%)Improved
increase iterations beyond 3 (q = 5, 7) (ablation)IDS · average over 6 datasetsaccuracy (%)No clear effect
swap GPT-3.5 for GPT-4IDS vs Top-k-Consistency · Average, 200 examples per datasetaccuracy (%): 73.9 -> 75.4Improved
use IDS with Llama-2-chat 7B/13B/70BLlama-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 datasetsaccuracy (%): 69.4, 69.9, 69.9, 69.7No clear effect
use OpenAI ada-002 embeddings instead of Sentence-BERT (ablation)IDS · BoolQ, CommonsenseQA, GSM8Kaccuracy (%): IDS 87.2/78.0/77.6 vs Top-k 86.0/75.4/75.8No clear effect

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