Task-Specific Agent Memory For Continual Learning
Yezhou Cheng, Runjia Du, Zeming Liu, Qibai Chen, Hang Lyu, Yankai Zeng, Yilan Wei, Bojun Lin
Abstract
Language-model agents can learn continually by storing useful instructions in memory and reusing them as new tasks arrive, without changing model weights. This requires both learning from new feedback and retaining earlier gains. However, an instruction learned from one task family can hurt other families when the agent uses the same memory for every task. We introduce task-specific agent memory: proposed skills are checked with execution tests, stored by task family, and retrieved for tasks in that family. We evaluate this design on a 12-round code-repair benchmark with recurring task families, tracking performance throughout learning. Holding proposals, acceptance decisions, and task completions fixed, task-specific retrieval raises average performance from 0.713 to 0.816. Across 27 paired randomized-order streams with Qwen3-Coder-Next, it improves average performance by 0.063 over global memory and by 0.055 over an agent that never updates its memory, accumulating 63 skills with no observed harmful acceptance. Capacity-matched retrieval and cumulative one-shot controls further support the value of task-specific retrieval and sequential skill accumulation. Our contribution is to identify cross-family interference and show how task-specific agent memory supports continual learning through skill accumulation and retention.
Create a lesson
Related papers
Learning What vs. Learning How: Decomposing Task and Interface Competence in Agentic Training
Shared title terminologycs.AIChaeeun Lee, Hossein A. Rahmani, Aryo Pradipta Gema et al.
MMMem: Self-Improving Agents with Task-Aware Multimodal Experience Consolidation
Shared title terminologycs.AIYuxuan Chen, Changwei Lv, Yunfei Li et al.
Agentsensus: Consensus-Compressed Shared Memory for Multi-Agent Story Worlds
Shared title terminologycs.AIYu Pan
LAM: Efficient Lossy Agent Memory Framework With A Retrieval-Score Error Bound
Shared title terminologycs.AIBaixi Sun, Le Chen, Anjir Ahmed Chowdhury et al.
CoMemBench: Benchmarking Collaborative Memory Boundaries across Multi-Agent Workflow Topologies
Shared title terminologycs.AISen Zhao, Ruiqi Kong, Zuyu Zhang et al.
Memory as Middleware for Self-Improving AI Agents
Shared title terminologycs.AIK. R. Jayaram, Vatche Isahagian, Vinod Muthusamy et al.