ValeroisResearchHeimdall-BitArchitecture
Training from scratch with 1-bit feed-forward layers
Heimdall-Bit combines three ideas. First, a hybrid backbone: three Gated DeltaNet layers, which keep a fixed-size recurrent memory, for every one global-attention layer, so the inference cache is about 12× smaller than a same-size Transformer’s (by calculation). Second, a latent-free 1-bit and 1.58-bit training engine: binary (±1) or ternary weights are the only copy of the weights, with no fp32 shadow weights and no Adam state, and a custom optimizer called BitFlip flips the strongest-gradient weights directly. Third, Triton kernels and an OpenAI-compatible inference server. The largest model trained from scratch has 337M parameters and saw 3.7B tokens.
Architecture
Every fourth layer is global attention; the other three are Gated DeltaNet. A DeltaNet layer reads and writes a fixed-size matrix memory with the delta rule, so its state does not grow with the sequence. Only the attention layers keep a key-value cache.
Measured on the 337M model: the cache is 18.7 MB at 512 tokens and 109 MB at 8,192 tokens, growing about 11.8 KB per token because only the attention layers grow. The DeltaNet layers are constant. On a toy associative-recall task (MQAR, about 100K parameters, 8 CPU-minutes, one seed) trained at gaps up to 64 tokens and tested up to 16K, attention-only fell from 15.6 % to 0.8 %, pure DeltaNet reached about 14.8 %, and the hybrid scored 99.9 to 100 %. Small and noisy, but consistent with the design.
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.