REMORY uses learned memory to fill in what summaries forget during long tasks
REMORY adds learned memory to a textual summary without changing the main model; it improves success on long tasks while reducing repeated tool use and errors.
REMORY: Learning Residual Memory for Context Compaction — arXiv:2610.11287
When will it reach products?
3–6 mo — If you run your own model, you are likely to see REMORY piloted in long-task assistants within the next three months. Its initial form will be a memory layer added to the existing summarization step; adoption by widely used closed services will depend on provider support.
What happened?
REMORY adds a learned memory, separate from the summary, to AI assistants that summarize their history during long tasks. This add-on, used without changing the main language model, helps the assistant make more accurate decisions after summarization.
Why it matters
Code development, web research, and multi-step workflow automation depend on retaining details of prior actions. REMORY may reduce repeated actions and the recurrence of earlier mistakes in these processes. In experiments, task success improves while the calculated cost of text generation also falls in most comparisons. However, this is not proof that the overall system is cheaper to run.
Technical summary
REMORY is an auxiliary neural network that supplements a textual summary with residual memory. Using the history and summary, it generates continuous soft memory tokens in the frozen model’s input space. These vectors are appended after the summary, with the aim of approximately preserving the response the main model would produce from the full history. Training first teaches the network to reconstruct the source text, then to close the prediction gap left by the summary. The main model’s parameters remain unchanged; only the memory network is updated.
Contribution
The core contribution is to frame learned compression not as an alternative to textual summaries, but as a complement conditioned on the summary. Rather than trying to reconstruct the entire history, the memory is trained to reduce the gap left by the summary in the frozen main model’s continuation predictions. Controlled comparisons within the same model support the contribution of this design to source attribution and long-task success.