ValeroisResearchBifrostFirst test

First Bifrost test: SmolLM2-135M

Before the Qwen work. SmolLM2-135M (30 layers), sliding window of 64 tokens plus 4 attention-sink tokens plus a delta-rule memory, 0.8M training tokens (about 4 minutes on the GPU). WikiText perplexity at 2K context:

StagePerplexity
Original (full attention)14.09
Window only, no memory25.76
Converted, untrained26.70
After layer-wise attention transfer22.43
After end-to-end distillation17.61

About 70 % of the gap between window-only and the original is closed, with a 5.7 MB cache at any length (the original needs 180 MB at 8K tokens and about 22 GB at 1M). It is not at parity (+25 % perplexity) and long-context retrieval has not been established. 4-bit teacher weights cost +7 % perplexity on Qwen3-0.6B at 318 MB. Our reimplementation of the teacher matches Hugging Face transformers logits exactly on SmolLM2-135M and Qwen3-0.6B.

← Training engineLimitations →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.