Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

MemOnce: a memory architecture that shrinks LLM memory state 1,313x at 1M context

MemOnce caches only a small subset of final-layer hidden states as compact memory and decodes them back into KV caches on demand, instead of storing per-layer token-level KV. Memory sparse attention retrieves relevant memory once per input and shares the…

Published Read the original

Ranked #25 of 30 on Tuesday, November 24

MemOnce: a memory architecture that shrinks LLM memory state 1,313x at 1M context

Why it matters

If it generalizes, it could sharply cut GPU memory costs for long-running agents and persistent conversations.

What happened

1 min read

MemOnce caches only a small subset of final-layer hidden states as compact memory and decodes them back into KV caches on demand, instead of storing per-layer token-level KV. Memory sparse attention retrieves relevant memory once per input and shares the indices across layers. Adapting Qwen3.5-4B with MemOnce cut the memory-state cache 1,313x and prefill latency 6.9x at 1M context, with 3.5x higher throughput.

inscraper analysis

Our analysis

The approach sits between full transformers and fixed-state linear architectures, aiming to keep fine detail at linear cost. The 1,313x figure is for the memory-state cache, not total GPU memory, and the headline result is on a 4B model. The '+5.77% overall memory performance' is loosely defined in the abstract. Worth reading for inference-infrastructure teams, but nothing here is usable in mainstream serving stacks yet.

More in Research