CoMem: Learning to Anticipate Failures from Retrieved Experience
We introduce CoMem (Compounding Memory), which makes retrieved experience an input to the learned memory itself, at training and at inference.
ProofPaper ↗
Key points
- Reflection lets LLM agents improve from their own attempts, but the memory it builds is local to a single task, so an agent reflecting on its own tends to revisit the same explanation for failure.
- Cross-task reflective memory addresses this in two forms: retrieved memory keeps past experience explicit and looks up related cases, which is specific but bounded by the bank, and parametric memory internalizes experience into parameters, which generalizes but is grounded in nothing beyond the task description.
- When both are used, existing agents combine them additively, feeding their outputs to the solver side by side, so retrieved experience never changes what the learned memory produces.
- The agent builds a bank of its own successful and failed reflections, learns from retrieved cases to write failure hypotheses, candidate explanations of how an attempt is likely to go wrong, and at test time reasons from newly retrieved cases to guide each attempt.
Sources (1)
- [1]CoMem: Learning to Anticipate Failures from Retrieved ExperiencearXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 19, 04:54 AM
We introduce CoMem (Compounding Memory), which makes retrieved experience an input to the learned memory itself, at training and at inference.
Reflection lets LLM agents improve from their own attempts, but the memory it builds is local to a single task, so an agent reflecting on its own tends to revisit the same explanation for failure.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 19, 2026AdaExploreBench: Benchmarking LLM Agents for Proactive Exploration and Test-time Adaptation in Evolving Environments
- Oct 19, 2026Ropedia W0: Scaling Loco-Manipulation World Models across Embodiments with Human Experience
- Oct 18, 2026Elevatormusic/DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark: DeepSeek-V4.1-Flash-1017 EXL3 2.9bpw on 2x NVIDIA DGX Spark (GB10) with TensorFold: 2.1-2.3x the vLLM kit's decode speed.
- Oct 17, 2026Refuse the Harm, Complete the Task via Graph-of-Rules Planning for LLM-Enabled Robots
- Oct 17, 2026Hippo: Training-Free Agent Self-Evolution via Hippocampal Replay
- Oct 16, 2026Hugging Face ❤️ TorchTPU: TPUs, Natively