HomeNews

MemOnce Cuts LLM Memory Cache 1313x at 1M Context Window

Devansh
Devansh
•
Nov 23, 2026 5:21 PM
•
0
 min read
Select Emergent as your Preferred news source
MemOnce Cuts LLM Memory Cache 1313x at 1M Context Window

💡 TL;DR

  • MemOnce reduces Qwen3.5-4B memory state cache by 1313x at 1M context, dropping footprint from 32 GB to 25 MB.
  • The architecture delivers 6.9x faster prefill, 3.5x higher throughput, and +5.77 point memory benchmark gain over full-context baseline.
  • Memory encoder-decoder caches only final-layer hidden states and decodes them into per-layer KV caches on demand during inference.

A research team from Nanjing University and the University of Science and Technology of China has released MemOnce, a memory architecture that compresses the state cache of a Qwen3.5-4B model by 1313x at a 1-million-token context window. Officially released on November 23, 2026 in a paper titled 'MemOnce: A Scalable Memory Architecture for Large Language Models' on Hugging Face, the design pairs the compression with 6.9x faster prefill at that length, 3.5x higher throughput, and a +5.77-point lift in overall memory-benchmark scores versus the full-context Qwen3.5-4B baseline.

How the Memory Encoder-Decoder Works

MemOnce caches only a small subset of final-layer hidden states as compact memory representations and dynamically decodes them back into per-layer KV caches during attention operations. The paper describes two core mechanisms: a memory encoder-decoder that stores compressed representations, and memory sparse attention that adaptively retrieves relevant memory across layers with indices computed only once. At 1M tokens the GPU cache footprint measures roughly 25 MB, down from 32 GB in a vanilla Transformer architecture.

The team swept pretraining scales from 150M to 1.0B parameters on 8 NVIDIA H100 GPUs. End-to-end memory retrieval runs in 64.2 milliseconds, which the paper positions as 12x faster than M+ and 17x faster than typical RAG pipelines. The design targets long-context scenarios where full KV cache storage becomes prohibitive.

Memory Benchmark Performance

On the paper's five-benchmark memory suite (MemBench, LoCoMo, LongMemEval, and two PersonaMem splits), MemOnce 4B averages 60.07 versus 54.30 for the full-context Qwen3.5-4B baseline. The 3.5x throughput improvement and 6.9x prefill speedup at 1M tokens position the architecture as a potential solution for applications requiring extremely long contexts, such as document analysis, multi-turn conversations with extensive history, and retrieval-augmented generation workflows.

  • 1313x reduction in memory state cache at 1M-token context
  • 6.9x faster prefill latency at the same scale
  • 3.5x higher throughput compared to full-context baseline
  • +5.77 point gain across five memory benchmarks
  • 64.2 ms end-to-end retrieval versus multi-second RAG pipelines

Training and Reproducibility

The team trained foundation models ranging from 150M to 1.0B parameters to validate the approach, then adapted the 4B Qwen3.5 model. The paper reports that the native MemOnce models surpass full-context baselines, marking the first time a compressed-memory design has exceeded standard Transformer performance on these benchmarks. The headline 1313x multiplier is a single-team preprint with no independent reproduction yet, and it arrives amid ongoing long-context efficiency research including LightningMoBA's generation-time reductions over FlashMoBA.

Release Date and Availability

Officially released on November 23, 2026 as a Hugging Face paper, MemOnce joins a wave of long-context optimization techniques addressing memory bottlenecks in large language models. The design's reliance on final-layer hidden states and on-demand decoding distinguishes it from prior approaches that compress or prune KV caches uniformly across layers.

What This Means

MemOnce demonstrates that extreme compression of LLM state caches is achievable without sacrificing benchmark performance, opening the door to multi-million-token contexts on consumer hardware. The architecture's 1313x reduction and faster retrieval could enable real-time applications that were previously memory-bound, though independent validation and production deployment remain necessary next steps. If the results hold under broader testing, MemOnce may reshape how developers architect long-context inference pipelines.

About the writer

Devansh is a marketing enthusiast, keeps himself updated about the evolving startup ecosystem. He likes problem solving and does so by writing content; directly affecting reader's intent and decision making. Working at Emergent, he covers areas like AI workflows, use cases, automation and more. Interested in consumer psychology, he enjoys blending creativity with strategic thinking to provide impactful brand experiences.

Start Building
on Emergent today
Try Emergent