mlsanityData to 7 Oct 2026

Generalizable Self-Evolving Memory for Automatic Prompt Optimization

arXiv 2603.21520 ↗First posted 23 Mar 2026cs.CLcited by 4

On the map: Synthetic data and self-improvement for LLMs → Self-rewarding alignment and self-training

Abstract (arXiv)

Automatic prompt optimization is a promising approach for adapting large language models (LLMs) to downstream tasks, yet existing methods typically search for a specific prompt specialized to a fixed task. This paradigm limits generalization across heterogeneous queries and prevents models from accumulating reusable prompting knowledge over time. In this paper, we propose MemAPO, a memory-driven framework that reconceptualizes prompt optimization as generalizable and self-evolving experience accumulation. MemAPO maintains a dual-memory mechanism that distills successful reasoning trajectories into reusable strategy templates while organizing incorrect generations into structured error patterns that capture recurrent failure modes. Given a new prompt, the framework retrieves both relevant strategies and failure patterns to compose prompts that promote effective reasoning while discouraging known mistakes. Through iterative self-reflection and memory editing, MemAPO continuously updates its memory, enabling prompt optimization to improve over time rather than restarting from scratch for each task. Experiments on diverse benchmarks show that MemAPO consistently outperforms representative prompt optimization baselines while substantially reducing optimization cost.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Self-rewarding alignment and self-training, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 17 of its 28 references that are in the map. First posted on arXiv 23 Mar 2026.

Builds on

17 of 28 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolution28 Sep

Other references · 16

  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. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  5. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
  6. 2022A Survey on In-context Learningcited by 717
  7. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
  8. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  9. 2025GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Modelscited by 446
  10. 2025Memory in the Age of AI Agentscited by 285
  11. 2023Take a Step Back: Evoking Reasoning via Abstraction in Large Language Modelscited by 157
  12. 2025Evo-Memory: Benchmarking LLM Agent Test-time Learning with Self-Evolving Memorycited by 129
4 more
  1. 2023Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselvescited by 123
  2. 2026Mem-Gallery: Benchmarking Multimodal Long-Term Conversational Memory for MLLM Agentscited by 49
  3. 2024Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model Optimizerscited by 33
  4. 2023SELF: Self-Evolution with Language Feedbackcited by 24

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Rethinking Prompt Optimizers: From Prompt Merits to Optimization
  2. 2025Self-Supervised Prompt Optimization
  3. 2026Prompting Policies for Multi-step Reasoning and Tool-Use in Black-box LLMs with Iterative Distillation of Experience
  4. 2025DelvePO: Direction-Guided Self-Evolving Framework for Flexible Prompt Optimization
  5. 2026Self-Evolving LLM Memory Extraction Across Heterogeneous Tasks
  6. 2024Auto-Evolve: Enhancing Large Language Model's Performance via Self-Reasoning Framework
  7. 2026Automatically Evolving Prompt Guidelines for Task-Specific Optimization
  8. 2024Towards Generalist Prompting for Large Language Models by Mental Models