Preprint
Large Language Models

An Operating System for Memory-Augmented Generation in LLMs Introduces a unified operating system for managing memory LLMs, addressing a key limitation in

Zhiyu Li, Shichao Song, Hanyu Wang, Simin Niu, Ding Chen, Jiawei Yang, Chenyang Xi, Huayi Lai, Jihao Zhao, Yezhaohui Wang, Junpeng Ren, Zehao Lin, Jiahao Huo, Tianyi Chen, Kai Chen, Ke-Rong Li, Zhiqiang Yin, Qingchen Yu, Bo Tang, Hongkang Yang, Zhiyang Xu, Feiyu Xiong
May 28, 2025arXiv.org50 citations

50

Citations

5

Influential Citations

arXiv.org

Venue

2025

Year

Abstract

Large Language Models (LLMs) have emerged as foundational infrastructure in the pursuit of Artificial General Intelligence (AGI). Despite their remarkable capabilities in language perception and generation, current LLMs fundamentally lack a unified and structured architecture for handling memory. They primarily rely on parametric memory (knowledge encoded in model weights) and ephemeral activation memory (context-limited runtime states). While emerging methods like Retrieval-Augmented Generation (RAG) incorporate plaintext memory, they lack lifecycle management and multi-modal integration, limiting their capacity for long-term knowledge evolution. To address this, we introduce MemOS, a memory operating system designed for LLMs that, for the first time, elevates memory to a first-class operational resource. It builds unified mechanisms for representation, organization, and governance across three core memory types: parametric, activation, and plaintext. At its core is the MemCube, a standardized memory abstraction that enables tracking, fusion, and migration of heterogeneous memory, while offering structured, traceable access across tasks and contexts. MemOS establishes a memory-centric execution framework with strong controllability, adaptability, and evolvability. It fills a critical gap in current LLM infrastructure and lays the groundwork for continual adaptation, personalized intelligence, and cross-platform coordination in next-generation intelligent systems.

Analysis

Why This Paper Matters

Large Language Models (LLMs) have become foundational in AI, yet their memory handling remains fragmented. Current LLMs rely on parametric memory (weights) and ephemeral activation memory (context), which are static and limited. Retrieval-Augmented Generation (RAG) adds plaintext memory but lacks lifecycle management and multi-modal integration. MemOS addresses this by proposing a unified operating system for memory, elevating memory to a first-class resource. This is significant because it provides a structured framework for long-term knowledge evolution, which is crucial for continual adaptation and personalized AI.

The paper fills a critical gap in LLM infrastructure by introducing a standardized abstraction (MemCube) that can track, fuse, and migrate heterogeneous memory types. This enables structured, traceable access across tasks and contexts, overcoming the limitations of existing methods. The memory-centric execution framework offers controllability, adaptability, and evolvability, which are essential for next-generation intelligent systems.

Technical Contributions

  • MemOS Architecture: A unified operating system for memory management in LLMs, treating memory as a first-class operational resource.
  • MemCube Abstraction: A standardized memory unit that enables tracking, fusion, and migration of parametric, activation, and plaintext memory.
  • Lifecycle Management: Mechanisms for representation, organization, and governance across memory types, supporting long-term knowledge evolution.
  • Multi-modal Integration: Unlike RAG, MemOS supports multi-modal memory, enhancing its applicability.
  • Memory-Centric Execution: A framework with strong controllability, adaptability, and evolvability, enabling structured and traceable access.

Results

The paper does not provide quantitative results or experimental evaluations. It is a conceptual and architectural proposal, presenting the design of MemOS and its components. The authors claim it fills a critical gap in current LLM infrastructure, but no concrete metrics or comparisons are given. This limits the ability to assess its practical effectiveness.

Significance

MemOS has the potential to reshape how LLMs handle memory, moving from static, context-limited approaches to a dynamic, unified system. This could enable continual adaptation, personalized intelligence, and cross-platform coordination, which are key for AGI progression. By providing a standardized abstraction, MemOS could serve as a foundation for future memory-centric AI systems, influencing both research and industry practices. However, without empirical validation, its real-world impact remains to be seen.