ValeroisResearchHeimdall-Bit1-bit training
Latent-free 1-bit training
Question tested: can a model whose feed-forward weights are 1-bit match a dense model with half as many parameters? Validation loss in nats per token at equal data, lower is better.
| Scale (bit model vs dense half-size) | Dense, N/2 params | Bit model, N params |
|---|---|---|
| 6M vs 3M (2 seeds) | 2.056 / 1.937 | 1.842 / 1.764 (ternary), 1.840 / 1.752 (binary) |
| 46M vs 23M (20M tokens) | 1.646 / 1.635 | 1.651 / 1.656 |
| 98M vs 52M (40M tokens) | 1.309 | 1.330 |
At small scale the bit model is clearly ahead; around 50M it ties; at about 100M it is slightly behind (+0.02 nats). We do not claim the target is met at scale. Binary and ternary FFN weights were equally good in these tests.
Training throughput on one 16 GB GPU
| Model | Tokens | Speed | Memory | Wall-clock |
|---|---|---|---|---|
| Heimdall-Bit 98M | 800M | 47.4K tok/s | 13.3 GB | 4.7 h, no crash |
| Heimdall-Bit 337M | 3.7B | ~11.2K tok/s | 11.3 GB | ~92 h, resumed from checkpoints |
torch.compile on the ROCm 10.1 and PyTorch 2.14 stack gave 2.9× faster training and 2.4× lower memory than eager mode on a 5.8M model (90K to 264K tok/s, 3.1 to 1.3 GB) with unchanged validation loss.
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.