Mnemosyne
A sparse memory substrate that lets language models learn continuously — without retraining.
Transformer attention is a local-context operator being misused as a global-memory operator. Mnemosyne splits the two primitives: sparse content-addressable retrieval with an async consolidation loop, mimicking the hippocampal-neocortical division that biological brains evolved half a billion years ago.
Attention is the wrong primitive for memory.
Dense self-attention scales O(n²) with context length, which is why context windows are measured in thousands of tokens rather than millions of pages. Attention is also stateless — every inference forgets everything outside the window. And it cannot distinguish what was just perceived from what was consolidated long ago.
The industry response has been to scale: longer context, larger models, more RAG. This treats the symptom, not the disease. The disease is that attention is being asked to do a job it was never designed for.
Split the two primitives.
Biological brains solved this half a billion years ago. The hippocampus uses sparse, content-addressable episodic memory for recent experience and a separate consolidation pass to migrate episodic traces into semantic neocortical memory during sleep.
Mnemosyne makes the same split: attention stays local and dense, memory is sparse and content-addressable with async consolidation. The two communicate through a learned gate. The "context window" is no longer the unit of memory — the buffer is.
"Transformer attention is a local-context operator being misused as a global-memory operator; Mnemosyne splits the two primitives and demonstrates that lifelong-learning language models are computationally tractable without retraining."
Architecture
Three differentiable stages: encode (sparse projection + episodic write), retrieve (MIPS over key-value pairs + async consolidation pass + gated read), generate (context fusion + frozen LM head + lifelong update). The decoder is frozen — only the sparse projection and retrieval gate are trained.
Try Mnemosyne in your browser
Write memories, query them, and watch the consolidation pass collapse episodic traces into semantic prototypes. The sparse key visualization shows the 6.25% active dims per entry.
Benchmark: sparse vs dense retrieval
Head-to-head against a vanilla bag-of-words attention baseline. Both systems query the same buffer of 8 seed memories across 8 long-context QA questions. The benchmark runs live in your browser — click "Run benchmark" to see it.
The Moonshot Paper
The paper is the central intellectual artifact. Below is its outline — ~4,200 words across 8 sections plus references. The full paper PDF is included in the submission package.
| Section | Words | Key arguments |
|---|---|---|
| Abstract | 200 | Thesis statement. Problem (attention is wrong memory primitive), insight (split the two), architecture (sparse retrieval + consolidation), implication (civilization-scale shift). |
| 1. Problem Humanity Misunderstood | 500 | Attention is misused as memory. Three structural limitations. Biological brains solved this 500M years ago. |
| 2. Why Existing Solutions Are Insufficient | 400 | RAG, sparse attention, memory-augmented networks, long-context transformers — each addresses one symptom, none addresses the disease. |
| 3. First-Principles Insight | 500 | Memory and attention are different primitives. Memory is sparse, content-addressable, append-only, with async consolidation. |
| 4. Scientific & Technical Foundations | 800 | Kanerva 1988, Rolls & Treves 1998, Vaswani 2017, Lewis 2020, Rae 2016, Graves 2014. |
| 5. Architecture & Method | 600 | Three stages: encode, retrieve, generate. Only projection and gate trained; decoder frozen. |
| 6. Preliminary Results | 400 | Comparison against vanilla attention on long-context QA. Even modest wins are reportable because the claim is the principle, not the benchmark. |
| 7. Long-Term Implications | 500 | Personal AI. 10–100× cost reduction. Alignment partially dissolves via preference stability. |
| 8. The Future We Attempt to Create | 300 | The future is not bigger transformers. The future is models that remember. |
| References | — | APA. 8+ cited works. |