← Back to Paper List

MemoryOS: Memory OS of AI Agent

(China) Jiazheng Kang, Mingming Ji, Zhe Zhao, Ting Bai
Beijing University of Posts, Tencent AI Lab
EMNLP (2025)
Memory Agent P13N Benchmark

📝 Paper Summary

Memory organization Memory recall
MemoryOS provides AI agents with a comprehensive operating system-inspired memory framework, utilizing hierarchical storage (short, mid, long-term) and heat-based paging to maintain long-term coherence and personalization.
Core Problem
LLMs rely on fixed-length context windows, which fail to sustain coherence across long temporal gaps, resulting in fragmented memory, factual inconsistencies, and a lack of personalized continuity.
Why it matters:
  • Current memory solutions operate in isolation (focusing only on storage or retrieval), lacking a unified system for comprehensive management.
  • Long-term coherence is critical for applications requiring persistent user adaptation and stable persona representation over extended interactions.
Concrete Example: In a long conversation where a user mentions a preference early on, a standard LLM with a fixed window might forget this detail after many turns, leading to a later response that contradicts the user's previously stated preference.
Key Novelty
OS-Inspired Hierarchical Memory Management
  • Structures memory like an operating system using a three-tier hierarchy: Short-Term (STM), Mid-Term (MTM), and Long-Term Personal Memory (LPM).
  • Implements a 'Segmented Paging' strategy where dialogue pages are grouped by topic segments, managed via heat-based eviction (frequency, engagement, recency) rather than simple FIFO.
Evaluation Highlights
  • +49.11% average improvement on F1 score compared to baselines on the LoCoMo benchmark using GPT-4o-mini.
  • +46.18% average improvement on BLEU-1 score compared to baselines on the LoCoMo benchmark using GPT-4o-mini.
Breakthrough Assessment
7/10
Strong empirical gains on LoCoMo and a cohesive system design inspired by OS principles. While hierarchical memory is not new, the specific integration of segmented paging and heat-based eviction offers a solid engineering advance.
×