Research map / Large language models / Language, safety and interpretability
Efficient and Accurate Prompt Optimization: the Benefit of Memory in Exemplar-Guided Reflection
Cilin Yan, Jingyun Wang, Lin Zhang, Ruihui Zhao, Xiaopu Wu, Kai Xiong, Qingsong Liu, Guoliang Kang, Yangyang Kang
Beihang University · ByteDance · Zhejiang 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 |
|---|---|---|---|
| add exemplar-guided reflection (instructive meta-prompt) (ablation) | feedback-based prompt optimizer (ProTeGi baseline) · LIAR | F1: 58.5 -> 62.9 | Improved |
| add Feedback Memory and Exemplar Factory on top of exemplar-guided reflection (ablation) | ERM · LIAR | F1: 62.9 -> 68.6 | Improved |
| add Exemplar Factory (retrieval of scored exemplars) (ablation) | ERM with exemplar-guided reflection · LIAR | F1: 62.9 -> 66.6 | Improved |
| add exemplar retrieval alone (no filtering) (ablation) | Exemplar Factory · LIAR | F1: 62.9 -> 62.3 | No clear effect |
| add exemplar filtering (ablation) | Exemplar Factory · LIAR | F1: 62.3 -> 65.7 | Improved |
| add selective forgetting of exemplars (ablation) | Exemplar Factory · LIAR | F1: 65.7 -> 66.6 | Improved |
| store feedbacks and retrieve them without filtering (ablation) | Feedback Memory · LIAR | F1: 66.6 -> 66.4 | No clear effect |
| add feedback filtering (ablation) | Feedback Memory · LIAR | F1: 66.6 -> 67.5 | Improved |
| add selective forgetting of feedbacks (ablation) | Feedback Memory · LIAR | F1: 67.5 -> 68.6 | Improved |
| use ERM exemplar factory instead of five kNN-retrieved relevant examples (ablation) | ERM · BBH-navigate | F1: 78.5 -> 82.6 | Improved |
| use ERM instead of ProTeGi | prompt optimization · LIAR | steps to peak: 68.6 by 7th step vs 58.5 by 13th step | Improved |
| add feedback memory and exemplar factory | ERM · ETHOS | F1: 96.5 -> 98.0 (full ERM vs ProTeGi) | 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?
- 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
- Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimization (NeurIPS 2024 · similarity 0.91)
- Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplars (NeurIPS 2024 · similarity 0.90)
- GReaTer: Gradients Over Reasoning Makes Smaller Language Models Strong Prompt Optimizers (ICLR 2025 · similarity 0.88)
- Investigating the Effectiveness of Task-Agnostic Prefix Prompt for Instruction Following (AAAI 2024 · similarity 0.87)
- No Loss, No Gain: Gated Refinement and Adaptive Compression for Prompt Optimization (NeurIPS 2025 · similarity 0.87)
- Promptriever: Instruction-Trained Retrievers Can Be Prompted Like Language Models (ICLR 2025 · similarity 0.87)
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.