MemOnce caches sparse hidden states to shrink LLM memory use
Original title: MemOnce: A Scalable Memory Architecture for Large Language Models
On Qwen3.5-4B at 1M context, the authors report a 1313x smaller state cache and 6.9x lower prefill latency.
MemOnce is a language-model memory design that stores a small subset of final-layer hidden states and decodes them back into KV caches. Sparse attention indices are computed once across layers so relevant memory is loaded on the fly, aiming for linear-time complexity. The paper reports gains over Transformers across sizes, context lengths and pretraining or post-training adaptation. Adapting Qwen3.5-4B is the headline measurement, and the authors also claim competitive zero-shot results on representation tasks.
Unconfirmed: Speed and accuracy figures are the authors' reported results, not independently verified.
- Reported Qwen3.5-4B gains include 3.5x throughput and +5.77% memory performance.
- Sparse memory indices are computed once and reused across layers.
- The design targets long-horizon and continual interactions rather than a fixed context window.
- Products
- MemOnce
- AI models
- Qwen3.5-4B
From the original article
1 min read at arxiv.orgDeploying large language models (LLMs) in long-horizon and continual interactions requires maintaining reusable memory states for future inference, posing challenges for existing architectures. Standard Transformers accumulate layer-wise, token-level KV caches, incurring linear GPU memory growth and quadratic computational complexity as the context expands.
By Chang Nie · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.