1. ECTD
  2. AI News
  3. News
  4. MemOnce: A Scalable Memory Architecture for Large Language Models

arXiv cs.CL · 21 Nov 2026, 04:51 AEST

MemOnce: A Scalable Memory Architecture for Large Language Models

normalaitech

MemOnce is a proposed architecture for language models that caches compact final-layer hidden states and decodes them back into KV caches for attention. The paper reports a 1313x smaller memory state cache and 6.9x lower prefill latency at 1M context when adapting Qwen3.5-4B, plus competitive zero-shot results on representation tasks.

Key facts

  • Standard Transformers accumulate layer-wise, token-level KV caches, incurring linear GPU memory growth and quadratic computational complexity as the context expands.
  • MemOnce is based on two core designs: (a) Memory encoder-decoder: it caches only a small subset of final-layer hidden states as compact memory representations and dynamically decodes them back into KV caches for attention layers; (b) Memory sparse attention: for each continual input, MemOnce adaptively retrieves relevant memory representations, with the sparse indices computed only once across layers.
  • In particular, adapting Qwen3.5-4B with MemOnce reduces memory state cache by 1313x and prefill latency by 6.9x at 1M context, and improves throughput by 3.5x and overall memory performance by +5.77%.
  • MemOnce generalizes zero-shot to downstream representation tasks, achieving competitive results against specialized models.

Read aloud

MemOnce is a proposed architecture for language models that caches compact final-layer hidden states and decodes them back into KV caches for attention. The paper reports a 1313x smaller memory state cache and six.9x lower prefill latency at 1M context when adapting Qwen3.five-4B, plus competitive zero-shot results on representation tasks. Standard Transformers accumulate layer-wise, token-level KV caches, incurring linear G P U memory growth and quadratic computational complexity as the context expands. MemOnce is based on two core designs: a Memory encoder-decoder: it caches only a small subset of final-layer hidden states as compact memory representations and dynamically decodes them back into KV caches for attention layers; b Memory sparse attention: for each continual input, MemOnce adaptively retrieves relevant memory representations, with the sparse indices computed only once across layers. In particular, adapting Qwen3.five-4B with MemOnce reduces memory state cache by 1313x and prefill latency by six.9x at 1M context, and improves throughput by three.5x and overall memory performance by +five point seven seven percent. MemOnce generalizes zero-shot to downstream representation tasks, achieving competitive results against specialized models.

Sources in this cluster

Free daily email

Get AI news, checked against sources

One short email each morning with the day's model launches, price changes and research. Unsubscribe any time.

We email a confirmation link first. Pro and API plans