Research map / Large language models / Language, safety and interpretability
Self-Demos: Eliciting Out-of-Demonstration Generalizability in Large Language Models
Wei He, Shichun Liu, Jun Zhao, Yiwen Ding, Yi Lu, Zhiheng Xi, Tao Gui, Qi Zhang, Xuanjing Huang
Fudan University
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| use Self-Demos instead of few-shot prompting | GPT-3.5-Turbo · OOD-Toolset | exact match accuracy: 71.9 -> 75.1 | Improved |
| use Self-Demos instead of few-shot prompting | GPT-3.5-Turbo · GSM8K (OOD setting) | accuracy: 76.2 -> 78.2 | Improved |
| use Self-Demos instead of few-shot prompting | GPT-3.5-Turbo · MATH (OOD setting) | accuracy: 35.1 -> 37.9 | Improved |
| use Self-Demos instead of Self-ICL (Few-shot) | GPT-3.5-Turbo · MATH (OOD setting) | accuracy: 37.9 vs 37.9 | No clear effect |
| add query understanding before demo generation (vs none) (ablation) | Self-Demos · OOD-Toolset | exact / partial accuracy: 72.9 / 77.5 -> 75.1 / 79.4 | Improved |
| add query understanding instead of directly answering the query first (ablation) | Self-Demos · OOD-Toolset | exact / partial accuracy: 72.3 / 77.0 -> 75.1 / 79.4 | Improved |
| add Best-of-N sampling after demo generation (vs none) (ablation) | Self-Demos · OOD-Toolset | exact / partial accuracy: 74.1 / 78.7 -> 75.1 / 79.4 | Improved |
| replace Best-of-N sampling with self-critique (ablation) | Self-Demos · OOD-Toolset | exact / partial accuracy: 75.1 / 79.4 -> 74.3 / 78.8 | Hurt |
| add self-critique after Best-of-N sampling (ablation) | Self-Demos · OOD-Toolset | exact / partial accuracy: 75.1 / 79.4 -> 74.6 / 79.0 | Hurt |
| add seed demos to Analogical Prompting (few-shot vs zero-shot) | Analogical Prompting · OOD-Toolset | exact match accuracy: 67.8 -> 71.1 (OOD-Toolset); 77.8 -> 75.7 (GSM8K) | Mixed |
| use dense retrieval of demos from training set instead of Self-Demos generation | GPT-3.5-Turbo · GSM8K (OOD setting) | accuracy: 78.2 -> 79.7 | Improved |
| use dense retrieval of demos instead of Self-Demos generation | GPT-3.5-Turbo · MATH (OOD setting) | accuracy: 37.9 -> 38.1 | Improved |
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?
- Only a few small or medium open models were tested. · 14 papers state it
- The method needs many extra LLM calls or passes. · 13 papers state it
- Evaluated on English data only, with other languages untested. · 12 papers state it
Closest papers by meaning
- GRAD: Generative Retrieval-Aligned Demonstration Sampler for Efficient Few-Shot Reasoning (EMNLP 2025 · similarity 0.90)
- Toward Robust In-Context Learning: Leveraging Out-of-distribution Proxies for Target Inaccessible Demonstration Retrieval (ACL 2026 · similarity 0.90)
- Are Human-generated Demonstrations Necessary for In-context Learning? (ICLR 2024 · similarity 0.89)
- Comparative Analysis of Demonstration Selection Algorithms for In-Context Learning in Large Language Models (Student Abstract) (AAAI 2025 · similarity 0.89)
- Large Language Models are Demonstration Pre-Selectors for Themselves (ICML 2025 · similarity 0.89)
- What Makes In-context Learning Effective for Mathematical Reasoning (ICML 2025 · 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.