scimeatlas

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

What Makes a Good Order of Examples in In-Context Learning

Qi Guo, Leiyu Wang, Yidong Wang, Wei Ye, Shikun Zhang

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

Peking University · Nanjing University

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

12measured effects
5improved
3no clear effect
3hurt
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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
order examples with DEmO instead of random orderSheared LLaMA2 1.3B · 9 classification datasets avg.accuracy: 61.66 -> 71.24Improved
reorder by similarity to test instance (Similarity)Sheared LLaMA2 1.3B · 9 classification datasets avg.accuracy: 61.66 -> 59.77Hurt
MDL order selectionSheared LLaMA2 1.3B · 9 classification datasets avg.accuracy: 61.66 -> 62.91No clear effect
add validation-set ranking stage to DEmOSheared LLaMA2 1.3B · 9 classification datasets avg.accuracy: 71.24 -> 73.36Improved
apply contextual calibration instead of randomSheared LLaMA2 1.3B · TRECaccuracy: 63.16 -> 60.35Hurt
increase iteration number N from 10 to 100 (ablation)DEmO · 9 classification datasets avg.accuracy: 69.61 -> 71.24Improved
increase candidate set size K (ablation)DEmO · 9 classification datasets avg.accuracy: 70.25 (K=2), 71.24 (K=4), 71.39 (K=10)No clear effect
scale model from 1.3B to 13BDEmO vs dataset-based methods · 9 classification datasets avg.accuracy: DEmO 86.52 vs GLE 86.91, Best-of-10 87.71 at 13BMixed
transfer orders selected by gpt2-large to ChatGPTDEmO · SUBJaccuracy: 68.75 -> 76.56Improved
transfer orders selected by gpt2-large to ChatGPTDEmO · SST2accuracy: 95.31 -> 95.31No clear effect
extend DEmO to generation using first-token probabilitiesDEmO · MIT Moviesexact match: 82.50 -> 83.91Improved
use DEmO instead of GLE (dataset-based) on SST2Sheared LLaMA2 1.3B · SST2accuracy: 85.16 -> 82.81Hurt

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