Context Windows
Everything re-read, re-attended, re-processed every call. Quadratic cost. Signal degrades as relevant facts sink beneath noise — the "lost in the middle" problem.
FHRR Holographic Memory
Not a longer context window. Not a better search index. Native long-term memory — algebraic, content-addressable, and sub-millisecond at 30 Hz.
The Problem
Context windows are scratch pads. RAG is a prosthetic. Fine-tuning overwrites the past. None of them are memory.
Everything re-read, re-attended, re-processed every call. Quadratic cost. Signal degrades as relevant facts sink beneath noise — the "lost in the middle" problem.
Retrieves text chunks by embedding similarity. Cannot bind structured relationships. No partial-cue recall. No temporal continuity. 100ms–1s latency per query.
Updates weights to encode new facts, but catastrophic forgetting degrades old knowledge. Offline, batch-oriented, expensive. Cannot happen at conversation speed.
The Solution
Bind, recall, cleanup. Algebraic operations in Fourier space — not similarity search.
Element-wise complex multiplication in FFT domain. Role-filler associations superpose in a single D-dimensional vector.
F_trace = F_key ⊙ F_valuePhase-conjugate unbinding: one multiply to recall. Probe from Kuramoto state, conjugate multiply against stored trace.
F_recalled = F_trace ⊙ conj(F_probe)Correlate noisy recalled vector against the 744-entry codebook. Snap to nearest concept. Partial cues work by design.
k* = argmax cosine(codebook, recalled)WAL writer, ETS hot tables, Mnesia metadata, Postgres audit trail. Merkle BLAKE3 integrity chain per recall.
Crash-safe holographic tracesCapacity
At N=744 bindings, D=16,384 dimensions. Partial cues with as little as 30% overlap still reconstruct the correct concept via phase-coherent recovery.
Compression
Quantized phase FHRR uses discrete cyclic group Z_K with K=16 phase bins. Integer-only arithmetic. 128 KB → 8 KB per vector. 0.987 fidelity retained.
Memory Palace
Memory is partitioned by domain. Each room is a GenServer under a DynamicSupervisor — crash one, others survive.
Audit logs, access rules, threat models
Transcripts, skills, session context
Specs, CI outputs, validation evidence
White paper, monograph, architecture
Deployment configs, mesh topology
NIR exports, spiking weights
Coherence aggregates, introspection
Head to Head
| Dimension | Trinity FHRR | Context Window | RAG | Fine-Tuning |
|---|---|---|---|---|
| Persistence | WAL + Merkle | Session only | Index-dependent | Weight overwrite |
| Recall Mechanism | Phase-conjugate | Re-attention | Embedding search | Forward pass |
| Compositional | Role-filler binding | Implicit | None | Implicit |
| Partial-Cue Recall | Native cleanup | Approximate | ||
| Latency @ 30 Hz | <132 μs | Prohibitive | 100ms–1s | Offline |
| Inspectability | Merkle + coherence | Transcript | Chunks | Opaque weights |
| LLM Coupling | Orthogonal substrate | Same model | External | Same weights |
Seven rooms. 16,384 dimensions. One conjugate multiply to recall.