Skip to content

Add memory design space insight and three dr reports - #40

Merged
emilwareus merged 1 commit into
mainfrom
insight/memory-frontier
Sep 5, 2026
Merged

emilwareus merged 1 commit into
mainfrom
insight/memory-frontier

Conversation

@emilwareus

Copy link
Copy Markdown
Owner

What

Sequel insight to #39: brain/insights/llm-memory/memory-is-a-state-placement-and-access-trade.md (~7k words, Codex sol high synthesis over three dr deep-research runs).

Thesis: memory beyond the context window is a state-placement and access trade. A mechanism is defined by three coordinates — where state lives (cache / weights / external), what it costs per token (growing / fixed / zero), and what access it supports (exact random access / learned routing / retrieval).

Coverage across the full design space:

  • Cross-request KV persistence (the production frontier): RadixAttention 6.4x, vLLM APC 254% throughput / 78% TTFT, HiCache 6x + 80% TTFT, CacheBlend 2.2-3.3x with 5-18% selective recompute, SemShareKV 6.25x LSH semantic matching, API caching economics (Anthropic 0.10x reads, March 2026 TTL cut), FP8 quantization
  • Fixed-state models: the S1 theorem (fixed-size state provably cannot solve multi-query joint recall under sub-quadratic time), Mamba exponential channel decay, xLSTM/RWKV-7, Jamba-1.5 256K RULER at 10x less KV with the 1:7 attention ratio
  • Weights as memory: three distinct state types conflated in common usage (context caches vs LoRA cartridges vs Titans online memory >2M NiaH) with different invalidation semantics
  • Latent reasoning: Coconut BFS-in-superposition, LCM/DLCM +2.69% at matched FLOPs, BLT entropy patching
  • Agent memory: Mem0 92.5 / Zep 80.32 / Letta 74.0 on LOCOMO (vendor-bias flagged), sleep-time compute
  • Out-of-the-box synthesis: dual-encoded memory units (text of record + disposable compiled forms), the portable latent memory ABI as the named unsolved gap, segmentation may matter more than the compressor
  • Three archived dr reports under brain/inbox/dr/2026-09-05/ for source-to-insight audit

@emilwareus
emilwareus force-pushed the insight/memory-frontier branch from d84e236 to c9fafa9 Compare September 5, 2026 10:12
@emilwareus
emilwareus merged commit 4a31388 into main Sep 5, 2026
1 check passed
@emilwareus
emilwareus deleted the insight/memory-frontier branch September 5, 2026 10:12
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

🚀 Preview deployed: https://addcommitpush-4oruwbgpt-yield-compiler.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant