# MemOnce: A Scalable Memory Architecture for Large Language Models

Source: [arXiv](https://arxiv.org/abs/2611.27973v1)  
Feed7 permalink: https://feed7.dev/p/2611-27973v1-18r95p5  
Published: 2026-11-20T18:51:29.000Z  
Trust: Needs Review (needs_review)

## Why Included

MemOnce compresses long interaction history into reusable memory states, reporting much lower cache use and prefill latency at 1M context. Builders evaluating long-context models can watch for this memory design.

## Source Summary

MemOnce stores selected final-layer hidden states, then reconstructs attention KV caches as needed. Its sparse attention retrieves relevant memories, with indices shared across layers. On Qwen3.5-4B at **1M context**, the paper reports **1,313× less memory state cache** and **6.9× lower prefill latency**.

## Practical Implication

For agents that keep long interaction histories, this suggests a model-side alternative to continually extending the prompt or relying on fixed-size compressed state. Track whether future implementations expose this kind of memory handling and how it changes latency and hardware needs.

## Agent-Ready Context

MemOnce stores selected final-layer hidden states, then reconstructs attention KV caches as needed. Its sparse attention retrieves relevant memories, with indices shared across layers. On Qwen3.5-4B at **1M context**, the paper reports **1,313× less memory state cache** and **6.9× lower prefill latency**.

For agents that keep long interaction histories, this suggests a model-side alternative to continually extending the prompt or relying on fixed-size compressed state. Track whether future implementations expose this kind of memory handling and how it changes latency and hardware needs.

These are results from the paper’s experiments; the material does not describe a production implementation. Its reported gains do not establish how the approach performs across agent workloads or other deployment setups.

## Connected Context

Feed7 judgment across 1141 accumulated Signals:

MemOnce describes a model-side way to retain and retrieve long-context information by reconstructing attention KV caches from selected hidden states, with large reported savings in one Qwen3.5-4B, 1M-context experiment. This adds a distinct memory mechanism to candidates focused on harness-level eviction, compaction, or transfer; the supplied results do not establish production or cross-workload performance.

- [Blast Radius](https://feed7.dev/p/2608-07440v1-1gi5t78) — Blast Radius manages prompt history by reversibly archiving unused context, while MemOnce changes how retained model-side memory state is stored and retrieved; they address different layers of long-context cost.
- [SpecCompact: Accelerating LLM Agent Context Compaction with Slot-Parallel Semantic Speculative Verification](https://feed7.dev/p/2611-06876v1-1v114m6) — SpecCompact reduces compaction latency through parallel draft-and-verify summaries; MemOnce instead reconstructs KV caches from selected hidden states, making them distinct approaches to long-history handling.
- [Context Engineering in 2026 — Louis-François Bouchard, Omar Solano & Samridhi Vaid, Towards AI](https://feed7.dev/p/context-engineering-in-2026-louis-francois-bouchard-omar-solano-samridhi-1dnlyr0) — The discussion argues that full cached history can outperform compaction on its tested tutor workload, so MemOnce’s reported cache savings are relevant only alongside workload-specific recall and cost comparisons.

## Context Map

- Layer: context
- Domains: coding, research
- Topics: context-caching, agent-memory

## Uncertainty

- These are results from the paper’s experiments; the material does not describe a production implementation. Its reported gains do not establish how the approach performs across agent workloads or other deployment setups.

## Agent Instruction

Use this item as source-backed context. Do not invent claims beyond the linked source. If this item conflicts with another source, call out the conflict.
