Research map / Large language models / Reasoning and chain of thought
MDR: Model-Specific Demonstration Retrieval at Inference Time for In-Context Learning
Huazheng Wang, Jinming Wu, Haifeng Sun, Zixuan Xia, Daixuan Cheng, Jingyu Wang, Qi Qi, Jianxin Liao
Beijing University of Posts and Telecommunications
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.
On benchmark leaderboards
- RTE leaderboard accuracy 66.06 · rank 123 of 149 papers
- COPA leaderboard accuracy 84 · rank 20 of 44 papers
- WiC leaderboard accuracy 52.66 · rank 35 of 38 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| re-rank retrieved demonstrations with the eigenvalue+loss metric (MDR) instead of similarity only | UPRISE retriever, 3 LLMs · unseen classification average | accuracy: 49.13 -> 50.23 (GPT-Neo), 51.79 -> 53.50 (LLaMA), 55.10 -> 56.24 (Vicuna) | Improved |
| add MDR re-ranking | UPRISE · SamSum (LLaMA-7B) | ROUGE-1: 11.32 -> 15.64 | Improved |
| add MDR re-ranking | UPRISE · WIC (LLaMA-7B) | accuracy: 47.49 -> 52.66 | Improved |
| add MDR re-ranking | UPRISE · SQuADv2 (LLaMA-7B, Vicuna-13B) | exact match: 0.05 -> 0.00 (LLaMA), 0.60 -> 0.60 (Vicuna) | No clear effect |
| add MDR re-ranking | UPRISE · seen datasets (RTE, GPT-Neo-2.7B) | accuracy: 62.81 -> 66.06 | Improved |
| increase number of concatenated demonstrations K (ablation) | MDR (LLaMA-7B) · WIC and SamSum | accuracy / ROUGE-1 | Improved |
| increase K' (similarity-retrieved candidates) beyond 20 (ablation) | MDR (GPT-Neo-2.7B, K=3) · WSC273, RT, Trivia QA, SQuADv2 | accuracy / F1 | Hurt |
| increase K from 4 to 10 (ablation) | MDR (GPT-Neo-2.7B) · WIC | accuracy | No clear effect |
| re-rank only (K=K') with MDR vs UPRISE (ablation) | MDR (GPT-Neo-2.7B) · WSC273 | accuracy: 76.55 -> 78.30 at K=K'=9 | Improved |
| mix loss and eigenvalue (C=0.9) instead of loss only (C=0) or eigenvalue only (C=1) (ablation) | MDR metric · WSC273, SQuADv2 | accuracy / F1 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- UPRISE — UPRISE: Universal Prompt Retrieval for Improving Zero-Shot Evaluation (EMNLP 2023) · better on 11 of 12 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in routing, pruning and distillation for reasoning
Do routing, pruning and distillation savings hold on larger models, open-ended tasks and real deployments?
- The cost-saving method adds its own extra passes, calls or latency. · 14 papers state it
- Tested only on models of about 14B parameters or fewer. · 14 papers state it
- Building the supervision needs many rollouts, searches or samples offline. · 9 papers state it
Closest papers by meaning
- Mixture of Demonstrations for In-Context Learning (NeurIPS 2024 · similarity 0.93)
- Efficient and Effective In-context Demonstration Selection with Coreset (AAAI 2026 · similarity 0.92)
- Unified Demonstration Retriever for In-Context Learning (ACL 2023 · similarity 0.91)
- Learning to Select In-Context Demonstration Preferred by Large Language Model (ACL 2025 · similarity 0.91)
- Comparative Analysis of Demonstration Selection Algorithms for In-Context Learning in Large Language Models (Student Abstract) (AAAI 2025 · similarity 0.90)
- Demonstration Selection for In-Context Learning via Reinforcement Learning (ICML 2025 · similarity 0.89)
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.