Open Brain
arXivPaperNeeds Review

MemOnce: A Scalable Memory Architecture for Large Language Models

MemOnce compresses long interaction history into reusable memory states, reporting much lower cache use and prefill latency at 1M context. Builders evaluating long-context models can watch for this memory design.

arXiv · Nov 20, 2026
Open Source Open MarkdownOpen JSON
Source Summary

MemOnce stores selected final-layer hidden states, then reconstructs attention KV caches as needed. Its sparse attention retrieves relevant memories, with indices shared across layers. On Qwen3.5-4B at **1M context**, the paper reports **1,313× less memory state cache** and **6.9× lower prefill latency**.

Practical Implication

For agents that keep long interaction histories, this suggests a model-side alternative to continually extending the prompt or relying on fixed-size compressed state. Track whether future implementations expose this kind of memory handling and how it changes latency and hardware needs.

Agent-Ready Context
MemOnce stores selected final-layer hidden states, then reconstructs attention KV caches as needed. Its sparse attention retrieves relevant memories, with indices shared across layers. On Qwen3.5-4B at **1M context**, the paper reports **1,313× less memory state cache** and **6.9× lower prefill latency**.

For agents that keep long interaction histories, this suggests a model-side alternative to continually extending the prompt or relying on fixed-size compressed state. Track whether future implementations expose this kind of memory handling and how it changes latency and hardware needs.

These are results from the paper’s experiments; the material does not describe a production implementation. Its reported gains do not establish how the approach performs across agent workloads or other deployment setups.
Connected Context · Feed7 Judgment

MemOnce describes a model-side way to retain and retrieve long-context information by reconstructing attention KV caches from selected hidden states, with large reported savings in one Qwen3.5-4B, 1M-context experiment. This adds a distinct memory mechanism to candidates focused on harness-level eviction, compaction, or transfer; the supplied results do not establish production or cross-workload performance.

Blast RadiusBlast Radius manages prompt history by reversibly archiving unused context, while MemOnce changes how retained model-side memory state is stored and retrieved; they address different layers of long-context cost.SpecCompact: Accelerating LLM Agent Context Compaction with Slot-Parallel Semantic Speculative VerificationSpecCompact reduces compaction latency through parallel draft-and-verify summaries; MemOnce instead reconstructs KV caches from selected hidden states, making them distinct approaches to long-history handling.Context Engineering in 2026 — Louis-François Bouchard, Omar Solano & Samridhi Vaid, Towards AIThe discussion argues that full cached history can outperform compaction on its tested tutor workload, so MemOnce’s reported cache savings are relevant only alongside workload-specific recall and cost comparisons.
Context Map
contextcodingresearch#context-caching#agent-memory
Uncertainty
These are results from the paper’s experiments; the material does not describe a production implementation. Its reported gains do not establish how the approach performs across agent workloads or other deployment setups.