[论文解读] MemTrust: A Zero-Trust Architecture for Unified AI Memory System
MemTrust 提供硬件-backed 的零信任架构,五层 AI 内存系统通过 TEEs 实现跨应用上下文共享,开销低于 20%。
AI memory systems are evolving toward unified context layers that enable efficient cross-agent collaboration and multi-tool workflows, facilitating better accumulation of personal data and learning of user preferences. However, centralization creates a trust crisis where users must entrust cloud providers with sensitive digital memory data. We identify a core tension between personalization demands and data sovereignty: centralized memory systems enable efficient cross-agent collaboration but expose users' sensitive data to cloud provider risks, while private deployments provide security but limit collaboration. To resolve this tension, we aim to achieve local-equivalent security while enabling superior maintenance efficiency and collaborative capabilities. We propose a five-layer architecture abstracting common functional components of AI memory systems: Storage, Extraction, Learning, Retrieval, and Governance. By applying TEE protection to each layer, we establish a trustworthy framework. Based on this, we design MemTrust, a hardware-backed zero-trust architecture that provides cryptographic guarantees across all layers. Our contributions include the five-layer abstraction, "Context from MemTrust" protocol for cross-application sharing, side-channel hardened retrieval with obfuscated access patterns, and comprehensive security analysis. The architecture enables third-party developers to port existing systems with acceptable development costs, achieving system-wide trustworthiness. We believe that AI memory plays a crucial role in enhancing the efficiency and collaboration of agents and AI tools. AI memory will become the foundational infrastructure for AI agents, and MemTrust serves as a universal trusted framework for AI memory systems, with the goal of becoming the infrastructure of memory infrastructure.
研究动机与目标
- 解决统一 AI 内存系统中的个性化与数据主权之间的矛盾。
- 提出一个五层架构,将 TEEs 贯穿所有层以保护 AI 内存。
- 通过 cryptographic attestation 与隐私保护,实现跨应用上下文共享。
- 提供一个实用的、硬件支持的零信任框架,能够适配多种 TEEs 与后端。
提出的方法
- 定义五层抽象(存储、提取、学习、检索、治理),并将实现映射到 TEEs(SGX、SEV-SNP、TDX、Nitro、CCA)。
- 设计安全的内存生命周期:在 TEEs 内进行加密、鉴定和受限密钥管理。
- 引入 Sealed Segment 向量存储和 oblivious graph 存储,以在不可信后端保护数据。
- 开发 MemTrust 协议中的 Context,使跨应用、带鉴定的对共享上下文的访问成为可能。
- 原型与 Qdrant、SurrealDB、Gemini 2.5、Qwen 3 8B 的集成,支持端到端的安全工作流。
- 评估在企业工作负载上的性能,展示开销和安全属性。
实验结果
研究问题
- RQ1如何在保持云原生优势的同时,使统一 AI 内存对不可信云运营商具备安全性?
- RQ2多TEEs 硬件支持的体系结构能否为 AI 内存生命周期提供端到端的机密性、完整性和可用性?
- RQ3如何通过带鉴定的访问令牌实现跨应用上下文安全共享?
- RQ4基于 TEEs 的内存系统对企业级工作负载的性能影响有多大?
- RQ5将 TEEs 与内存系统集成的实际挑战与未来方向(如 GPU TEEs、同态 RAM 等)有哪些?
主要发现
- 零信任的 MemTrust 架构为五层统一 AI 内存系统提供机密性、完整性和可用性。
- 在企业工作负载的评估中,使用 SEV-SNP 时开销小于 20%。
- 通过带鉴定的令牌和审计日志实现跨应用上下文共享,而不会将明文数据暴露给内存提供者。
- 一个实际原型集成了多种 TEEs(SGX、SEV-SNP、TDX、Nitro、CCA)与向量数据库和知识图谱。
- 性能在水平扩展时近线性,因哈希和安全磁盘 I/O 技术而降低了 I/O 负成本。
- 该设计通过 HYOK 类密钥管理和硬件密封实现跨设备的连续性与用户控制的数据治理。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。