ValeroisResearchBifrostRetrieval attention

Retrieval attention for the kept layers

The 4 kept layers stay exact, but reading their whole cache every step slows decoding as context grows. Retrieval attention keeps the minimum and maximum of every key dimension per 64-token block, bounds the attention score of every block from them, and reads only the sinks, the window and the top-k blocks per KV head. The softmax over the picked tokens is exact and no training is needed. On Qwen3.5-0.8B it found the pass-key 6 of 6 times where a 512-token window alone found it 0 times, and CPU decode at 32K went from 9.3 to 14.1 tokens per second. It is not yet measured on the 27B or on a GPU.

← Qwen3.8-27B resultsTraining engine →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.