REMORY: Learning Residual Memory for Context Compaction
We introduce REMORY, a neural memory network that supplements the summary with a bounded sequence of soft memory tokens.
ProofPaper ↗
Key points
- Long-horizon agents compact their history to continue within a finite context window, but a textual summary alone may not support every subsequent decision.
- Given the history and summary, the network learns to generate tokens that help a frozen LLM approximate the continuation it would produce with the full history.
- On SummHay, REMORY improves source attribution at nearly unchanged insight coverage and approaches the full-context joint score using only 5.2% of the input positions.
- Across long-horizon agent benchmarks, Qwen3.8-27B and GLM-5.3-Flash show consistent gains with residual memory.
Sources (2)
- [1]REMORY: Learning Residual Memory for Context CompactionHugging Face Daily Papers · Oct 8, 12:00 AM
We introduce REMORY, a neural memory network that supplements the summary with a bounded sequence of soft memory tokens.
Long-horizon agents compact their history to continue within a finite context window, but a textual summary alone may not support every subsequent decision.
- [2]REMORY: Learning Residual Memory for Context CompactionarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 8, 05:50 AM · same content
Extractive summary: sentences quoted from the sources.
Before this
- Oct 7, 2026How Narrative Wrapping Affects LLM Refusal: A Cross-Language Benchmark and Defense
- Oct 7, 2026Cache the Encoder Within:Compact, Reusable Memory across LLM Queries
- Oct 6, 2026Socio-Foundation: A Model for Generalizable Individual Behavior Simulation via Hierarchical Capability Distillation
- Oct 6, 2026unslothai/unsloth v0.1.903-beta: New Browser + Voice Cloning
- Oct 6, 2026Image Bitstream Fine-grained Understanding for Privacy-Friendly AIoT
- Oct 6, 2026Harness Engineering for Software Engineering via Modular Executable Dev-Primitives