mlsanityData to 7 Oct 2026

Efficient and Accurate Prompt Optimization: the Benefit of Memory in Exemplar-Guided Reflection

arXiv 2411.07446 ↗First posted 12 Nov 2024cs.CLcited by 18

Not on the map. Why?

Abstract (arXiv)

Automatic prompt engineering aims to enhance the generation quality of large language models (LLMs). Recent works utilize feedbacks generated from erroneous cases to guide the prompt optimization. During inference, they may further retrieve several semantically-related exemplars and concatenate them to the optimized prompts to improve the performance. However, those works only utilize the feedback at the current step, ignoring historical and unseleccted feedbacks which are potentially beneficial. Moreover, the selection of exemplars only considers the general semantic relationship and may not be optimal in terms of task performance and matching with the optimized prompt. In this work, we propose an Exemplar-Guided Reflection with Memory mechanism (ERM) to realize more efficient and accurate prompt optimization. Specifically, we design an exemplar-guided reflection mechanism where the feedback generation is additionally guided by the generated exemplars. We further build two kinds of memory to fully utilize the historical feedback information and support more effective exemplar retrieval. Empirical evaluations show our method surpasses previous state-of-the-arts with less optimization steps, i.e., improving F1 score by 10.1 on LIAR dataset, and reducing half of the optimization steps on ProTeGi.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 20 of its 37 references that are in the map. First posted on arXiv 12 Nov 2024.

Builds on

20 of 37 references.

References · 20

  1. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  2. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  3. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  4. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
  5. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  6. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  7. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
  8. 2017"Liar, Liar Pants on Fire": A New Benchmark Dataset for Fake News Detectioncited by 361
  9. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
  10. 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 88
  11. 2020ETHOS: an Online Hate Speech Detection Datasetcited by 66
  12. 2024Are Large Language Models Good Prompt Optimizers?cited by 37
8 more
  1. 2024Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model Optimizerscited by 33
  2. 2023Agent Instructs Large Language Models to be General Zero-Shot Reasonerscited by 32
  3. 2024PRompt Optimization in Multi-Step Tasks (PROMST): Integrating Human Feedback and Heuristic-based Samplingcited by 32
  4. 2024Task Facet Learning: A Structured Approach to Prompt Optimizationcited by 17
  5. 2024VisLingInstruct: Elevating Zero-Shot Learning in Multi-Modal Language Models with Autonomous Instruction Optimizationcited by 16
  6. 2023SPELL: Semantic Prompt Evolution based on a LLMcited by 14
  7. 2023Evoke: Evoking Critical Thinking Abilities in LLMs via Reviewer-Author Prompt Editingcited by 11
  8. 2024GRAD-SUM: Leveraging Gradient Summarization for Optimal Prompt Engineeringcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 10; 2026: 8.

18 papers.

Sort:

By area:

  1. 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 155
  2. 2025Self-Supervised Prompt Optimizationcited by 37
  3. 2025MEMTRACK: Evaluating Long-Term Memory and State Tracking in Multi-Platform Dynamic Agent Environmentscited by 13
  4. 2025Brief analysis of DeepSeek R1 and its implications for Generative AIcited by 10
  5. 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithmcited by 6
  6. 2025Tournament of Prompts: Evolving LLM Instructions Through Structured Debates and Elo Ratingscited by 5
  7. 2026Your Code Agent Can Grow Alongside You with Structured Memorycited by 4
  8. 2025PMPO: Probabilistic Metric Prompt Optimization for Small and Large Language Modelscited by 3
  9. 2026SkillAdam: Stable and Efficient Skill Evolution for Agentscited by 2
  10. 2025UniAPO: Unified Multimodal Automated Prompt Optimizationcited by 1
  11. 2026UPA: Unsupervised Prompt Agent via Tree-Based Search and Selectioncited by 1
  12. 2025Search-Based Software Engineering and AI Foundation Models: Current Landscape and Future Roadmapcited by 0
6 more
  1. 2025ELPO: Ensemble Learning Based Prompt Optimization for Large Language Modelscited by 0
  2. 2026Concise Geometric Description as a Bridge: Unleashing the Potential of LLM for Plane Geometry Problem Solvingcited by 0
  3. 2026C-MOP: Integrating Momentum and Boundary-Aware Clustering for Enhanced Prompt Evolutioncited by 0
  4. 2026Reflective Context Learning: Studying the Optimization Primitives of Context Spacecited by 0
  5. 2026OmniPhys: Knowledge-Graph-Driven Benchmarking and Collective Optimization for Physical Commonsense in Text-to-Image Generationcited by 0
  6. 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptationscited by 0