paper-with-me

홈 › Papers

Generalizable Self-Evolving Memory for Automatic Prompt Optimization

2026-03-23 · Guanbao Liang, Yuanchen Bei, Sheng Zhou, Yuheng Qin, Huan Zhou, Bingxin Jia, Bin Li, Jiajun Bu 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.

📄 PDF Abstract BibTeX arXiv:2603.21520

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Self-Evolving LLM Memory Extraction Across Heterogeneous Tasks

2026-04-13 · Yuqing Yang, Tengxiao Liu, Wang Bill Zhu, Taiwei Shi 외 arxiv

As LLM-based assistants become persistent and personalized, they must extract and retain useful information from past conversations as memory. However, the types of information worth remembering vary considerably across …

ZERA: Zero-init Instruction Evolving Refinement Agent -- From Zero Instructions to Structured Prompts via Principle-based Optimization

2025-09-17 · Seungyoun Yi, Minsoo Khang, Sungrae Park arxiv

Automatic Prompt Optimization (APO) improves large language model (LLM) performance by refining prompts for specific tasks. However, prior APO methods typically focus only on user prompts, rely on unstructured feedback, …

Code Generation

UMEM: Unified Memory Extraction and Management Framework for Generalizable Memory

2026-02-11 · Yongshi Ye, Hui Jiang, Feihu Jiang, Tian Lan 외 arxiv

Self-evolving memory serves as the trainable parameters for Large Language Models (LLMs)-based agents, where extraction (distilling insights from experience) and management (updating the memory bank) must be tightly coor…

BrainMem: Brain-Inspired Evolving Memory for Embodied Agent Task Planning

2026-03-12 · Xiaoyu Ma, Lianyu Hu, Wenbing Tang, Zixuan Hu 외 arxiv

Embodied task planning requires agents to execute long-horizon, goal-directed actions in complex 3D environments, where success depends on both immediate perception and accumulated experience across tasks. However, most …

Prompt EngineeringKnowledge Graphs

SCOPE: Prompt Evolution for Enhancing Agent Effectiveness

2025-12-17 · Zehua Pei, Hui-Ling Zhen, Shixiong Kai, Sinno Jialin Pan 외 arxiv

Large Language Model (LLM) agents are increasingly deployed in environments that generate massive, dynamic contexts. However, a critical bottleneck remains: while agents have access to this context, their static prompts …