Abstract
Retrieving past experiences has become a common strategy to enhance large language model agents. However, most existing memory-augmented agents treat retrieved experiences as static records to be replayed verbatim, injecting them into the context regardless of whether they align with the agent's current situation. This ``replay'' paradigm ignores the gap between the abstract, general nature of stored experience and the concrete, ever-changing states encountered at decision time, frequently causing negative transfer. In contrast, humans rarely recall past experiences verbatim; instead, they reorganize and adapt retrieved memories to fit the present context. Inspired by this, we propose MemHarness, a framework that equips LLM agents to actively harness and reconstruct past experiences based on the present context. At each decision step, a unified policy model critiques and reconstructs the retrieved experience conditioned on the current state, producing context-grounded guidance before acting. This reconstructive ability emerges naturally through end-to-end training with GRPO. Experiments on ALFWorld and WebShop show that MemHarness substantially outperforms pure RL and static memory-augmented baselines, demonstrating strong robustness in out-of-distribution (OOD) scenarios. Furthermore, our analyses reveal that this reconstruction objective not only prevents negative transfer but also serves as latent guidance during training, fundamentally improving the agent's intrinsic reasoning capabilities.
Community
Most memory-augmented LLM agents follow a retrieve-and-replay paradigm, directly inserting retrieved trajectories into the context. This conflates retrieval relevance with action-level applicability: a memory may be semantically related yet inappropriate for the current state, since it was formed under different conditions. Inspired by the reconstructive nature of human memory—recall reorganizes past experience using present cues rather than reproducing it verbatim—we recast memory-guided decision-making as a five-stage process: observation, retrieval, critique, reconstruction, and action. We introduce MemHarness, which inserts explicit memory critique and reconstruction between retrieval and action, turning static records into context-sensitive guidance while retaining their traceability. Crucially, this reconstructive ability requires no human annotation: it emerges end-to-end via GRPO by optimizing for task success. On ALFWorld and WebShop, MemHarness consistently outperforms both pure RL and static memory-augmented baselines, and ablations confirm that adaptive reconstruction—not retrieval alone—is the primary driver of the gains.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- AdaMEM: Test-Time Adaptive Memory for Language Agents (2026)
- Organize then Retrieve: Hierarchical Memory Navigation for Efficient Agents (2026)
- ECHO: Prune To Act, Trace To Learn With Selective Turn Memory In Agentic RL (2026)
- RRM: Experience-Driven Reflective Retrieval Memory for Long-Horizon Multimodal Reasoning (2026)
- Memory is Reconstructed, Not Retrieved: Graph Memory for LLM Agents (2026)
- Procedural Memory Distillation: Online Reflection for Self-Improving Language Models (2026)
- Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2607.28272 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper