TL;DR
MemOS introduces a dedicated "Memory Operating System" for Large Language Models (LLMs) that treats memory as a first-class, schedulable system resource rather than a static parameter set or a stateless retrieval hack. By unifying plaintext, activation-based (KV-cache), and parameter-level memories into standardized units called MemCubes, it provides unprecedented controllability, plasticity, and evolvability for long-context reasoning and personalization.
What Problem Does This Paper Address?
Current LLMs are largely stateless during inference or rely on rigid, static parameters. While Retrieval-Augmented Generation (RAG) helps inject external knowledge, it acts as a stateless, on-the-fly workaround lacking lifecycle control, versioning, or deep integration with the model's internal representations.
This structural gap leads to "memory islands," high computational overhead for long contexts, and an inability to handle continuously evolving knowledge or robust cross-platform personalization. The authors argue that AI needs to move away from tool-based memory patches and transition into systematic memory governance.
Methods
The authors propose MemOS, structured around a three-layer architecture mimicking traditional operating systems:
- Interface Layer: Contains
MemReader(parses natural language into structured memory calls), a unifiedMemory API, and aMemory Pipelinefor chaining operations. - Operation Layer: Contains
MemOperator(organizes memory logically and semantically via graphs and tags),MemScheduler(dynamically selects and transforms memory types based on task constraints), andMemLifecycle(manages state transitions: Generated, Activated, Merged, Archived, Expired). - Infrastructure Layer: Enforces security and storage via
MemGovernance(access control, privacy, auditing),MemVault(unified storage abstraction),MemLoader/Dumper, andMemStore(open-access publishing/subscription).
The core data abstraction is the MemCube, which encapsulates the memory payload along with rich metadata (timestamps, origin signatures, access control lists, and version chains). MemOS enables cross-type memory transformations, such as converting frequent plaintext memory into fast-access activation (KV-cache) memory, or distilling stable knowledge into parameter patches like LoRA.
Datasets
The system was evaluated across four major memory-intensive and personalization benchmarks:
- LoCoMo: For long-context, long-range memory and contextual integration.
- LongMemEval: For testing chat assistants on long-term interactive memory and knowledge updates.
- PreFEval: For evaluating personalized preference-following and response consistency.
- PersonaMem: For dynamic user profiling and personalization.
Key Insights and Ideas
- Memory as a Schedulable Resource: Instead of treating memory as a passive text cache, MemOS treats it like RAM/disk management in a computer OS, allowing dynamic "hot-swapping" and cache eviction as context shifts.
- The "Mem-training" Paradigm: Moving beyond data-centric pretraining and alignment-centric post-training, the authors advocate for runtime memory evolution where models continuously collect, restructure, and propagate knowledge without expensive full-parameter updates.
- Cross-Modality Memory Transformation: Knowledge flows through a lifecycle—starting as explicit plaintext, accelerating into activation states (KV-caches) when frequently used, and consolidating into implicit parameters (adapters) for long-term stability.
Key Results
- MemOS (specifically the MemOS-1031 variant) achieved state-of-the-art performance across all evaluated benchmarks, consistently ranking first or second against strong baselines like Mem0, Zep, and MIRIX.
- In the PreFEval benchmark, MemOS recorded the highest personalized response rate (77.2% with 0 turns, 71.9% with 10 turns) and the lowest preference-unaware error.
- For memory retrieval robustness, MemOS maintained a 100% success rate and low latency even under heavy request pressures up to 100 Queries Per Second (QPS).
- KV-cache injection yielded massive Time-to-First-Token (TTFT) reductions; for instance, Qwen2.5-72B achieved a 91.4% reduction in TTFT under long-context, short-query conditions compared to direct prompt injection.
Limitations and Future Work
- Cross-LLM Memory Sharing: Currently, sharing activation or parametric memories across completely different foundation model architectures remains a challenge. The authors plan to develop a Memory Interchange Protocol (MIP) to standardize formats and compatibility rules.
- Self-Evolving MemBlocks: Future work aims to make memory units fully autonomous in self-optimization and reconstruction based on user feedback loops without manual supervision.
- Scalable Memory Marketplace: The authors envision a decentralized memory marketplace (MemStore) supporting asset-level transactions and distributed evolution, which will require robust security and verification mechanisms.
Summary updated