TL;DR
Commit-on-Evidence Memory (CoEM) is a new recurrent memory framework that prevents Large Language Models (LLMs) from losing critical details during long-context reasoning. By maintaining a "pending set" of verbatim source excerpts and using reinforcement learning to decide exactly when to compress them into committed facts, CoEM achieves a massive 10.4–11.4 F1 point improvement over state-of-the-art memory agents on tasks involving thousands of documents.
What Problem Does This Paper Address?
As we feed LLMs increasingly massive contexts, their performance often falls off a cliff. To handle this, researchers developed "recurrent memory" agents that process text chunk-by-chunk, summarizing important bits into a small, fixed-size memory buffer.
However, these agents suffer from premature compression. When an agent sees a piece of information in Chunk 1, it has to decide immediately whether to keep it or discard it. The problem is "delayed relevance": a detail that looks like useless noise in Chunk 1 might be the "smoking gun" needed to answer a question posed in Chunk 100. If the agent summarizes or discards that detail too early, the reasoning chain is broken forever. The authors found that nearly 45% of multi-hop questions exhibit this kind of delayed relevance.
Methods
CoEM introduces a two-tier memory system to solve the "summarize now or lose it forever" dilemma:
- Committed Memory ($M$): A set of compact, verified facts.
- Pending Set ($P$): A buffer for verbatim source excerpts whose relevance isn't clear yet.
As the model reads new chunks, a learned policy makes three possible decisions for every item in the pending set:
- PROMOTE: Convert the verbatim excerpt into a compact fact and move it to Committed Memory.
- KEEP: Hold the excerpt in the pending set for another round, waiting for more context.
- DROP: Discard the excerpt to save space.
To ensure the agent doesn't just hallucinate "facts," CoEM uses a frozen NLI (Natural Language Inference) verifier (specifically a calibrated DeBERTaV3-small). Before any fact is promoted to committed memory, the verifier must confirm that the verbatim source text actually supports it.
The system is trained using Reinforcement Learning (PPO). Crucially, the reward isn't just based on the final answer; the authors use "step-level evidence rewards" to give the model immediate feedback on whether its promotion and retention decisions were valid and supported by the source.
Datasets
The authors evaluated CoEM against several competitive baselines (MemAgent, GRU-Mem, ReMemR1) across three major multi-hop reasoning benchmarks:
- HotpotQA: Used for training and in-distribution evaluation.
- 2WikiMultiHopQA: Used for out-of-distribution (OOD) testing.
- MuSiQue: Another OOD benchmark focused on complex reasoning chains.
Testing spanned context lengths from 50 documents all the way up to a staggering 6,400 documents (roughly 600k to 800k tokens).
Key Insights and Ideas
- The Power of "Wait and See": The core "aha" moment is that memory management isn't just about what to remember, but when to commit to a representation. By keeping raw text in the pending set, the model preserves the ability to re-evaluate evidence once the "bridge" information arrives later in the stream.
- Verification as a Gatekeeper: Using a small, fast NLI model as a verifier allows the system to be much more aggressive and accurate. It prevents the "memory rot" that occurs when summarized facts slowly drift away from the truth over many steps.
- Efficiency via Specialization: Despite the extra steps, CoEM is actually faster than some baselines (like MemAgent) because it manages its memory budget more intelligently, avoiding the need for massive, repeated context processing.
Key Results
- Superior Scaling: On the 6,400-document HotpotQA task, CoEM with a Qwen3.5-9B backbone outperformed the strongest baseline by 11.4 F1 points.
- Robustness to Gaps: In experiments where the "evidence" and the "bridge" were separated by 128 chunks of text, CoEM maintained high accuracy while baselines collapsed, proving its ability to hold onto unresolved evidence for long periods.
- Generalization: Even though it was only trained on HotpotQA, CoEM's performance gains held steady on the OOD datasets (2Wiki and MuSiQue), suggesting it learns a general strategy for evidence management rather than just memorizing dataset patterns.
Limitations and Future Work
- Fixed Budgets: The memory budget is still strictly bounded. If a document is extremely "dense" with relevant facts, the model might still be forced to drop something important to make room for new arrivals.
- Verifier Errors: While the NLI verifier is highly accurate, it isn't perfect. False rejections can prevent the model from committing valid evidence.
- Domain Expansion: The current work focuses on natural language QA. The authors suggest that extending this "pending vs. committed" logic to code repositories or massive scientific literature reviews is the next logical step.
Summary updated