Research map / Large language models / Language, safety and interpretability
In-Context Demonstration Selection with Cross Entropy Difference
Dan Iter, Reid Pryzant, Ruochen Xu, Shuohang Wang, Yang Liu, Yichong Xu, Chenguang Zhu
Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
7improved
3no clear effect
3hurt
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 changed | Where | Measured | Effect |
|---|---|---|---|
| select ICDs with CED instead of nearest neighbors | GPT-3 Davinci · 8-dataset mix, average | average score: 0.629 -> 0.648 | Improved |
| select ICDs with CED instead of nearest neighbors | GPT-3 Curie · 8-dataset mix, average | average score: 0.410 -> 0.460 | Improved |
| select ICDs with CED instead of nearest neighbors | GPT-3 Babbage · 8-dataset mix, average | average score: 0.339 -> 0.371 | Improved |
| select ICDs with CED instead of random | GPT-3 Davinci · 8-dataset mix, average | average score: 0.603 -> 0.648 | Improved |
| add randomly selected in-context demonstrations to PEFT-finetuned T-Few (ablation) | T-Few 3B · 8-dataset mix, average | average score: 0.49 -> 0.46 | Hurt |
| add CED-selected in-context demonstration at inference to PEFT-finetuned T-Few | T-Few 3B · 8-dataset mix, average | average score: 0.49 -> 0.50 | No clear effect |
| use CED selection during training as well as inference (ablation) | T-Few 3B + CED · 8-dataset mix, average | average score: 0.50 -> 0.50 | No clear effect |
| cluster 2,048 candidates into 256 CED models (ablation) | GPT-3 Davinci CED · 8-dataset mix, average | average score: 0.648 -> 0.645 | No clear effect |
| use CED instead of NN on NarrativeQA | GPT-3 Davinci · NarrativeQA | RougeL: 0.549 -> 0.623 | Improved |
| use CED instead of NN on BoolQ | GPT-3 Davinci · BoolQ | accuracy: 0.860 -> 0.848 | Hurt |
| use CED instead of NN for ICD selection | T-Few 3B · Oracle rank of selected demo | average rank (lower better): 20 -> 16 | Improved |
| use CED instead of NN for ICD selection | T-Few 3B · share of in-domain selections | fraction: 0.70 -> 0.73 | Improved |
Closest papers by meaning
- Comparative Analysis of Demonstration Selection Algorithms for In-Context Learning in Large Language Models (Student Abstract) (AAAI 2025 · similarity 0.93)
- 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.88)
- What Makes In-context Learning Effective for Mathematical Reasoning (ICML 2025 · similarity 0.88)
- MEND: Meta Demonstration Distillation for Efficient and Effective In-Context Learning (ICLR 2024 · similarity 0.88)
- Are Human-generated Demonstrations Necessary for In-context Learning? (ICLR 2024 · similarity 0.88)
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.
