TL;DR
MindMemOS introduces a portable, self-evolving memory operating layer for AI agents that organizes open-world information into a unified entity-property-time graph. By combining offline memory consolidation ("dreaming"), user feedback integration, and automated schema/skill evolution algorithms, it allows agents to continuously adapt their knowledge and capabilities over long-term interactions. The system achieves state-of-the-art performance across multiple long-term memory benchmarks and significantly improves task execution success rates.
What Problem Does This Paper Address?
For Large Language Model (LLM)-based agents to effectively handle long-horizon tasks and maintain personalization, they require external memory systems. However, existing agent memory architectures suffer from three core limitations:
- Rigidity: Memory extraction policies and schemas are typically fixed after deployment, making them brittle when the target domain or user context shifts.
- Clutter and Contradictions: As agents continuously interact with the world, their memory stores accumulate redundancies, outdated information, and conflicting statements.
- Siloed Capabilities: Factual memory content and procedural skills are managed separately, preventing agents from transforming past execution trajectories into refined, reusable capabilities.
MindMemOS addresses these challenges by decoupling the memory layer from the underlying foundation model and introducing self-evolution mechanisms that optimize both memory schemas and procedural skills over time.
Methods
MindMemOS adopts a layered architecture that separates agent integration from memory algorithms and structures.
Its core components include:
- Three-Dimensional Memory Structure: Memories are organized into a 3D graph defined by entity, property, and time. This allows the system to capture semantic relations between entities and track temporal changes (e.g., changing user preferences) without overwriting historical context.
- Dual Ingestion Pathways: The system supports both schema-free ingestion (
MindVanilla) for open-domain text and schema-guided extraction (MindSchema) for structured, scenario-specific data. - Compact Search Module: Rather than exhaustively expanding the memory graph, a retrieval engine utilizes hybrid sparse-dense matching (BM25 + embeddings) and bidirectional graph traversal to fetch task-relevant paths efficiently.
- MindMemEvolve: An LLM-guided evolutionary search algorithm that automatically optimizes memory schemas for new scenarios. It uses validation-driven signals to perform error-informed mutations, crossovers, and selections on entity and property definitions.
- Dreaming: An offline consolidation mechanism that runs during agent downtime. It clusters recent memories, detects conflicts or low-value records, and archives obsolete data while preserving the lineage of consolidated information.
- Feedback Loops: Integrates both explicit user corrections and implicit signals (inferred from natural dialogue adjustments) to revise inaccurate memories.
- MindSkillEvolve: A trajectory-driven algorithm that analyzes agent execution traces to identify successful strategies and recurring failures, converting them into versioned skill updates.
Datasets
The authors evaluated MindMemOS across four distinct benchmarks:
- LOCOMO: A long-term conversational memory benchmark consisting of long multi-session dialogues to test information extraction, multi-hop reasoning, and temporal associations.
- PersonaMem: A long-range personalization benchmark featuring 20 different personas to evaluate user profiling and preference tracking.
- MemoryAgentBench (FactConsolidation subset): Used specifically to evaluate the "dreaming" mechanism's capability in selective forgetting and resolving temporal conflicts.
- SpreadsheetBench (SpreadsheetBench-Verified): A 400-task verified subset used to evaluate procedural skill evolution on cell-level and sheet-level spreadsheet manipulations.
Key Insights and Ideas
- Memory as an OS Layer: By treating memory as an independent operating layer with standardized APIs, the architecture remains highly portable across different foundation models and agent runtimes.
- Proactive Offline Consolidation: Rather than forcing the agent to resolve memory contradictions during online query time (which clutters the context window), MindMemOS pushes conflict resolution to an offline "dreaming" phase. This converts temporal contradictions into a clean, persistent memory state.
- Autonomous Discovery of Higher-Order Properties: Through
MindMemEvolve, the system autonomously synthesizes higher-order properties (e.g., discovering a user's "social energy management style" from multiple distinct interaction episodes) without requiring manual annotation. - Bounded Skill Evolution: The paper demonstrates that while unsupervised trace analysis helps agents avoid basic errors, adding task scores as supervision (
MindSkillEvolve-Sup) prevents the agent from overgeneralizing lazy shortcuts (like hardcoding values to pass a test) at the expense of user intent.
Key Results
- LOCOMO:
MindSchemaachieved a state-of-the-art 94.03% overall accuracy, outperforming competitive baselines like EverOS (93.05%) and Zep (85.22%). Even the schema-freeMindVanillamode achieved a strong 87.60%. - PersonaMem:
MindSchemaled with 70.63% accuracy, representing a 3.06 percentage point gain over EverOS, driven primarily by superior performance in tracking user-shared facts and suggestions. - Dreaming Performance: On MemoryAgentBench, the dreaming mechanism compressed active memory volume by 22.5% (Active Memory Compression Ratio) while simultaneously boosting overall fact consolidation accuracy from 54.5% to 58.5% when using GPT-5-mini.
- Skill Evolution: On SpreadsheetBench,
MindSkillEvolve-Supachieved a 57.2% success rate, a notable improvement over the unevolved initial skill baseline (48.0%) and the no-skill baseline (51.3%).
Limitations and Future Work
The authors note that the accuracy gains on the PersonaMem benchmark were somewhat modest. This is largely because PersonaMem relies heavily on complex inferential reasoning rather than pure historical data analysis. To better demonstrate the potential of schema evolution, they plan to target more sensitivity-demanding scenarios in the future.
Two primary directions are outlined for future work:
- Experience-to-Skill Evolution: Deepening the connection between experiential memory and the skill registry to synthesize tool-use records, failures, and user corrections directly into reusable skills.
- File-System-Level Memory Management: Incorporating files and documents as first-class memory artifacts to support cross-file reasoning, incremental indexing, and traceable updates between source files and derived agent memories.
Summary updated