Memory consolidation
Memories aren't saved when they're made. They're rebuilt, offline, while you sleep.
Contested — How consolidation works long-term is actively debated — standard systems consolidation vs. multiple-trace theory.
- 9:10acoffee with Sarah — she's stressed about the launch
- 11:30ahallway: Sarah again, still the launch
- 12:40pthe taqueria was packed
- 3:15pSarah's launch slipped a week
- 4:00pemailed the contractor about the fence
In the brain
A memory isn’t fixed the moment it forms. Over hours to years it’s reorganized: the hippocampus captures an episode fast, then replays it — especially during slow-wave sleep, carried on sharp-wave ripples — to the neocortex, which slowly integrates it into long-term knowledgeDiekelmann 2010.
Whether the hippocampus ever fully hands off, or is always needed to replay a detailed memory, is still debatedNadel 1997.
The model
The Complementary Learning Systems account: a fast hippocampal learner and a slow neocortical one. Interleaving replay of old and new lets the slow system extract structure without catastrophically overwriting what it already knewMcClelland 1995 — the reason sleep matters for memory at all.
In AI
In practice: an offline “sleep” pass that merges redundant memories and extracts patterns. engram (now Counterparts) runs a consolidation cycle between sessions (merge duplicates, distill old episodics to gist); Microsoft filings cluster a vector store with DBSCAN/HDBSCAN and select by age and effectiveness. engram’s two-pass design — a cheap model finds merge candidates, a stronger one rewrites them — mirrored the fast/slow split directly; Counterparts keeps the split: arithmetic merges exact duplicates, and a nightly dream merges near-copies in better words, keeping the originals, so a whole dream can be undone.
The map
Two-pass consolidation — anticipated (WO2025147358A1, US20250021474A1).
13 prior-art references
- Modulus AI~2023Preserves salient entities/facts under high-compression summarizationpatentGoogle Patents ↗
- Alai Vault LLC (Smith Lewis, Harlow)2023Biologically-inspired memory: power decay of salience, episodic/semantic tiers, agent memory toolpatentGoogle Patents ↗
- Snap2023Chatbot long-term memory: summarize → store → semantic-search → augment promptpatentGoogle Patents ↗
- Microsoft2023Extract memories via generative model → DBSCAN/HDBSCAN cluster into memory bankspatentGoogle Patents ↗
- Packer, et al.2023MemGPT: Towards LLMs as Operating SystemspaperarXiv ↗
- Escendant Ltd2024Hierarchical topic manager; session boundaries before context window fillspatentGoogle Patents ↗
- Microsoft2024Layered working/episodic/collective memory; embedding-compressed historypatentGoogle Patents ↗
- Microsoft~2024Semantic memory vector-DB consolidation; DBSCAN clustering; age/effectiveness selectionpatentGoogle Patents ↗
- Rasmussen, et al.2025Zep / Graphiti — temporal knowledge-graph memoryossarXiv ↗
- Xu, et al.2025A-MEM: Agentic Memory for LLM AgentspaperarXiv ↗
- DeWix Co., Ltd.2025Memory-curve context maintenancepatentGoogle Patents ↗
- Taranjeet, et al.2025Mem0 — scalable long-term memory for AI agentsossarXiv ↗
- Wei, Peng, Dong, Xie, Wang2026FadeMem: Biologically-Inspired Forgetting for Efficient Agent MemorypaperarXiv ↗
4 post-priority (field context, not prior art)
- SleepGate2026SleepGate — proactive interference + sleep consolidationpaperarXiv ↗
- SCM~2026SCM — multi-dimensional importance + dual-phase consolidationpaperarXiv ↗
- YourMemory~2026YourMemoryossGitHub ↗
- Mike LaPeter2026CounterpartsossSite ↗
Consolidation is heavily patented for the single-session case. The open ground is long-horizon consolidation: what should distill over months and years, not one night.