Omodaka9375 releases MemoChain, verifiable LLM memory with SP1
Nov 30 find · published Nov 24Omodaka9375 released MemoChain, a system that compresses an LLM's entire memory history into a fixed 22 KB state updated in O(1) time. The state never grows regardless of how much document history is folded in. Memory writes are verified using SHA-256 receipt chains or SP1 zkVM proofs. A 200-document fold compresses to a STARK provable in approximately 24 minutes on DGX Spark hardware, with verification taking about 28 milliseconds. The system uses integer-only arithmetic so the same inputs produce identical state digests across Python, native Rust, and the SP1 zkVM. MemoChain includes a trainable student model with a differentiable 22 KB state and a memory proxy for OpenAI, Anthropic and Gemini APIs. This enables LLMs to maintain verifiable, constant-size memory without growing storage requirements.
Comments
Sign in to join the conversation.