MemOnce introduces scalable memory states for long-context language models
ResearchPublished: Source: Hugging Face Daily Papers
TL;DR:Researchers introduce MemOnce, an architecture that stores a compact subset of final-layer hidden states and reconstructs attention KV caches when needed.
Researchers introduce MemOnce, an architecture that stores a compact subset of final-layer hidden states and reconstructs attention KV caches when needed. Its sparse attention retrieves relevant memory once across layers. In tests adapting Qwen3.5-4B at a 1-million-token context, it reduced cached memory by 1,313× and prefill latency by 6.9×, while improving throughput by 3.5× and overall memory performance by 5.77%.
Key points
- MemOnce stores compact representations drawn from a subset of final-layer hidden states and decodes them into KV caches on demand.
- Sparse attention selects relevant memories once across layers, aiming to reduce memory use and computation for continual interactions.
- With Qwen3.5-4B at 1M context, the reported reductions were 1,313× in memory-state cache and 6.9× in prefill latency.
- The experiments also report 3.5× higher throughput and a 5.77% improvement in overall memory performance.
Why it matters
If the reported results hold across real deployments, MemOnce could make million-token, continual interactions less costly in GPU memory and faster to process, relevant to teams building long-context language-model systems.
Companies and models mentioned
- MemOnce
- Qwen3.5-4B
- Hugging Face Daily Papers