Research ·
REMORY: Learning Residual Memory for Context Compaction
REMEMORY is a neural memory network that adds learned soft tokens to an agent's textual history summary, letting a frozen LLM approximate full-context behavior using only 5.2% of input positions.

Long-horizon agents compact their history into summaries to fit finite context windows, but summaries alone may not support every later decision. REMORY supplements the summary with a bounded sequence of soft memory tokens generated from the history and summary, trained so a frozen LLM produces continuations close to what it would with the full context. The tokens are appended after the summary, described as an analogue of a residual connection along the sequence dimension.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz