DualPM:用成功与失败双极性记忆实现工具使用智能体的持续适配
Failure Broadens, Success Sharpens: Continual Adaptation of Tool-Use Agents Across Diverse Tasks with Dual-Polarity Memory
DualPM 是一种无需检索的记忆工作流,可从每条轨迹中的局部成功与失败生成反思和程序性记忆,并在给定记忆容量下对长任务流做周期性记忆整合,防止记忆爆炸。在线预序评估显示,失败记忆更能拓宽覆盖范围,成功记忆更能精简执行流程,两者结合可同时获得两种收益。外部评估显示 DualPM 具备跨域记忆泛化与持续记忆适配能力。
arXiv:2611.33612v1 Announce Type: new Abstract: Large language model agents can self-improve over time by utilizing procedural memory derived from prior task trajectories, yet the distinct utilities of memories derived from local successes and failures remain underexplored. This work studies this question in a realistic setting with heterogeneous streams of multi-domain tool-use tasks and various environment constraints common in real-world scenarios. We develop \emph{Dual-Polarity Memory with Periodic Maintenance} (DualPM), a simple, retrieval-free memory workflow characterized by (1) customizable reflection and procedural memory generation from both local successes and failures within each trajectory, and (2) periodic memory consolidation over long task streams under a given memory capacity, preventing memory explosion. Online prequential evaluation with fine-grained metrics reveals that failure memory more strongly broadens coverage, success memory better streamlines execution, while combining both polarities effectively integrates both benefits. Further studies demonstrate that DualPM enables cross-domain memory generalization and continual memory adaptation, while external evaluation on EvoMemBench reveals the portability and effectiveness of DualPM as a general long-term procedural memory method.
来源:arXiv (AI + Vision + Imaging) · arxiv.org