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.
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.
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.
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.