The team behind REMORY presents a method that supplements summaries of long agent histories with a bounded sequence of learned memory tokens. The goal is to help a frozen language model produce better continuations without keeping the entire history in its context window.
REMORY uses the history and its summary as input. A neural memory network generates so-called soft memory tokens conditioned on the summary, then appends them to it. The approach is intended to preserve information that a text-only summary may not adequately represent for later decisions.
On SummHay, REMORY reportedly improved attribution of statements to their sources while keeping insight coverage nearly unchanged. Its joint score for the two measures approached the result achieved with full context, using 5.2% of the original input positions. Tests with long-horizon agents also showed consistent gains for Qwen3.8-27B and GLM-5.3-Flash.
Both models also produced substantially fewer repeated tool outputs and tool errors on BrowseComp and Terminal-Bench 2.1. The source describes the method and reported benchmark results, but the supplied text does not provide more detailed measurements or experimental procedures. Original source: REMORY on Hugging Face