Skip to content
NewA calmer, faster ZeroHour

MemOnce caches sparse hidden states to shrink LLM memory use

Original title: MemOnce: A Scalable Memory Architecture for Large Language Models

arXiv cs.AI / cs.LG / cs.CLby Chang Nie ()1 min read
Part of a story covered by 2 sourcesMemOnce paper reports large efficiency gains on Qwen3.5-4BMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

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

arXiv cs.AI / cs.LG / cs.CL

By Chang Nie · arxiv.org

Read the full article at arXiv cs.AI / cs.LG / cs.CL

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.