Open Source

Fractale-350M-base replaces long context with fast-weight memory bank

386M-param model uses 8 learned vectors to remember across 512-token chunks.

Deep Dive

Solo researcher kkuette has open-sourced Fractale-350M-base, a 386M-parameter base model pretrained from scratch on 10B tokens of code and English web text. The core innovation replaces traditional long-context mechanisms (like attention over past tokens) with a learned fast-weight memory bank. The model writes one gist vector per 512-token chunk into a bank of 8 slots, evicting the oldest (FIFO). Each slot expands via a hypernetwork into a small low-rank MLP that the token stream passes through. This makes memory part of the forward pass—no retrieval, no attention over stored text.

Measured performance is striking: GAP (cross-entropy difference between reset and carried bank) reached +9.4 nats on code and +7.3 nats on web, with the gap widening during training. At smaller scales, memory persists for 2000+ steps under eviction, and a single 13-token presentation can install a never-trained rule at 0.79–1.00 accuracy on unseen queries, outperforming test-time training by 138x in cost. The model is a base model only—no instruction tuning, no chat capabilities—but demonstrates a fundamentally different approach to memory in neural networks.

Key Points
  • Replaces long context windows with a 8-slot fast-weight memory bank written per 512-token chunk
  • GAP of +9.4 nats on code and +7.3 nats on web at final checkpoint, with no FIFO cliff
  • Solo researcher on one RTX 3090; fully open weights and research logs on GitHub

Why It Matters

Challenges the assumption that long context is necessary—shows learned fast weights can replace retrieval for memory.

📬 Get the top 10 AI stories daily