MemOS:面向大型语言模型中记忆增强生成(MAG)的操作系统
MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models
AI总结:
针对LLM缺乏统一记忆架构的问题,提出记忆操作系统MemOS,通过标准化抽象MemCube实现参数化、激活和纯文本记忆的统一治理与跨任务追溯,填补了LLM基础设施空白。
摘要:
大型语言模型(LLM)已成为追求通用人工智能(AGI)的基础设施。尽管其在语言感知和生成方面具备卓越能力,但当前LLM从根本上缺乏处理记忆的统一结构化架构。它们主要依赖参数化记忆(编码在模型权重中的知识)和短暂的激活记忆(受限于上下文的运行时状态)。尽管检索增强生成(RAG)等新兴方法引入了纯文本记忆,但缺乏生命周期管理和多模态集成,限制了其长期知识演化能力。为此,我们提出MemOS,一个专为LLM设计的记忆操作系统,首次将记忆提升为一等操作资源。它为参数化、激活和纯文本三种核心记忆类型构建了统一的表示、组织和治理机制。其核心是MemCube,这是一种标准化的记忆抽象,能够实现异构记忆的追踪、融合和迁移,同时跨任务和上下文提供结构化、可追溯的访问。MemOS建立了一个以记忆为中心的执行框架,具备强可控性、适应性和可演化性。它填补了当前LLM基础设施的关键空白,为下一代智能系统中的持续适应、个性化智能和跨平台协同奠定了基础。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。