ValeroisResearchBifrostHow it works

How Bifrost works

Qwen3.8-27B is already three-quarters constant-memory: 48 of its 64 layers are Gated DeltaNet, which compresses the past into a fixed-size state. Every fourth layer is full attention, which stores a key and a value for every token, so those 16 layers are what grows with context. Bifrost converts 12 of them and keeps 4 (layers 15, 31, 47 and 63) as exact full attention.

A converted layer reuses the original query, key, value and output projections unchanged and splits attention into two branches: exact attention over a 2,048-token window plus 4 sink tokens, and a delta-rule memory with one 256×256 state per KV head. A token is written into memory at the moment it leaves the window, so the two branches never count it twice. A learned gate mixes them per token. Inside the window the layer is identical to the original. Only about 8 small tensors per layer are trained; none of the pretrained weights change. In memory v2 the KV heads forget at different rates, with half-lives from 2,048 to 1M tokens, and one archival head never forgets.

Qwen3.8-27B results →Back to Bifrost

Next

Use Nova today. Or help us measure the next thing.

Nova is free to start, on the desktop and in the browser. The research is open source, and the next experiments need more compute than one GPU.