ProcMEM: Learning Reusable Procedural Memory from Experience via Non-Parametric PPO for LLM Agents
Qirui Mi, Zhijian Ma, Mengyue Yang, Haoxuan Li, Yisen Wang, Haifeng Zhang, Jun Wang
TL;DR
ProcMEM tackles the inefficiency of re-deriving solutions in recurring tasks by learning reusable procedural memory for LLM agents. It introduces a Skill-MDP formalism to organize decision-making around executable Skills and employs Non-Parametric PPO to evolve the Skill pool without updating the LLM, using Semantic Gradients and a PPO-style PPO Gate for safe verification. Key contributions include a structured Skill representation, a non-parametric optimization loop, and online score-based maintenance that yields high reuse and extreme memory compression. Empirical results on TextArena and ALFWorld demonstrate superior reuse rates, enhanced task performance, and substantial memory efficiency, supporting long-horizon, autonomous operation of LLM-driven agents.
Abstract
LLM-driven agents demonstrate strong performance in sequential decision-making but often rely on on-the-fly reasoning, re-deriving solutions even in recurring scenarios. This insufficient experience reuse leads to computational redundancy and execution instability. To bridge this gap, we propose ProcMEM, a framework that enables agents to autonomously learn procedural memory from interaction experiences without parameter updates. By formalizing a Skill-MDP, ProcMEM transforms passive episodic narratives into executable Skills defined by activation, execution, and termination conditions to ensure executability. To achieve reliable reusability without capability degradation, we introduce Non-Parametric PPO, which leverages semantic gradients for high-quality candidate generation and a PPO Gate for robust Skill verification. Through score-based maintenance, ProcMEM sustains compact, high-quality procedural memory. Experimental results across in-domain, cross-task, and cross-agent scenarios demonstrate that ProcMEM achieves superior reuse rates and significant performance gains with extreme memory compression. Visualized evolutionary trajectories and Skill distributions further reveal how ProcMEM transparently accumulates, refines, and reuses procedural knowledge to facilitate long-term autonomy.
