SpecZip: training speculative-decoding drafters on a 16x-compressed hidden-state cache
Offline training of drafters such as EAGLE-3 and DFlash needs 2-3x less GPU time than online training, but the BF16 hidden-state cache runs to 34-55 TB and won't fit on one 8-GPU node. SpecZip compresses it with PCA and reverse water-filling, allocating bits…
Why it matters
Teams building custom speculative-decoding drafters can do cheaper offline training on a single node instead of shared storage.
What happened
1 min readOffline training of drafters such as EAGLE-3 and DFlash needs 2-3x less GPU time than online training, but the BF16 hidden-state cache runs to 34-55 TB and won't fit on one 8-GPU node. SpecZip compresses it with PCA and reverse water-filling, allocating bits by variance and optionally projecting out dropped components to reduce train-serve mismatch. A 16x-compressed cache of 2.2-3.4 TB fits on a single node, and DFlash drafters trained on it keep 99-101% of the BF16 acceptance length across four targets, including a 122B MoE model.
Our analysis
This targets an infrastructure bottleneck rather than accuracy: cache size kept offline drafter training out of reach for many teams. The insight that a drafter cache is training data, unlike a KV cache, and that uniform quantization hurts acceptance length is genuinely new. Results are shown only for DFlash drafters, and the abstract doesn't say whether code is released. Mostly of interest to inference-infrastructure teams.