scimeatlas

Research map / Large language models / Language, safety and interpretability

More Samples or More Prompts? Exploring Effective Few-Shot In-Context Learning for LLMs with In-Context Sampling

Bingsheng Yao, Guiming Chen, Ruishi Zou, Yuxuan Lu, Jiachen Li, Shao Zhang, Yisi Sang, Sijia Liu, James Hendler, Dakuo Wang

NAACL 2024Large language models › Language, safety and interpretabilityapproach: In-context learning analysisopen problems in this approach54 citations (OpenAlex)

Northeastern University · Rensselaer Polytechnic Institute · The Chinese University of Hong Kong · Tongji University · Shanghai Jiao Tong University · Michigan State University

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
5improved
1no clear effect
1hurt
3mixed

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
replace single-prompt ICL with random ICS (multiple prompts + majority vote)Mistral-7B · e-SNLIaccuracy (%): 64.742 -> 72.57Improved
replace single-prompt ICL with random ICSMistral-7B · Contract-NLIaccuracy (%): 78.83 -> 86.69Improved
replace ICL with random ICSFLAN-T5-XL · five datasetsaccuracyMixed
replace ICL with random ICSMistral-7B and Mixtral-8x7B · five datasetsaccuracy: more than 5% averageImproved
increase demonstration candidates n beyond 100 (ablation)ICS · five datasetsaccuracyNo clear effect
use similarity sampling for candidate selection instead of random (ablation)ICS on Mistral-7B · e-SNLIaccuracy (%): 72.57 -> 74.11Improved
use similarity instead of random prompt augmentation (with similarity sampling) (ablation)ICS on Mistral-7B · e-SNLIaccuracy (%): 74.11 -> 73.63Hurt
non-random strategy for candidate sampling vs prompt augmentation (ablation)ICS on Mistral-7B · 4 NLI datasetsaccuracyMixed
apply ICS to GPT-3.5GPT-3.5 · e-SNLI, Multi-NLI, ANLI, CQAaccuracy: 0.57 -> 0.59 (e-SNLI); 0.78 -> 0.81 (CQA)Improved
add more demonstrations (1 to 3) to FLAN-T5-XL (ablation)FLAN-T5-XL ICL · Contract-NLIaccuracy (%): 2.48 (0-shot) -> 19.39 (1-shot) -> 22.88 (3-shot)Mixed

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?

All 5 open problems and what was already tried →

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