SpecZip trains speculative drafters on compressed hidden-state caches
Original title: SpecZip: Efficient Speculative Drafter Training on Compressed Hidden-State Caches
A 16x cache of 2.2-3.4 TB fits one node and keeps 99-101% of BF16 acceptance length.
SpecZip is a system for offline training of speculative-decoding drafters such as EAGLE-3 and DFlash on compressed target-model hidden-state caches. Equal-bit quantizers cut acceptance length; PCA and reverse water-filling allocate bits by variance and can drop removed components from the drafter's first layer. The authors report a 16x cache of 2.2-3.4 TB on one node, 99-101% of BF16 acceptance length across four targets including a 122B MoE model, and 1.95-3.25x higher throughput than online training.
Unconfirmed: Acceptance-length and throughput figures are the authors' reported measurements.
- An uncompressed BF16 corpus cache takes 34-55 TB.
- Offline training uses 2-3x less GPU time than online recomputation.
- 99% of hidden-state variance sits in 32% of principal components.
- Decompression overlaps training and adds almost no step time.
- Results cover four targets, including a 122B MoE model.
From the original article
1 min read at huggingface.coRecent speculative-decoding drafters such as EAGLE-3 and DFlash learn from the hidden states of the target model. Offline training computes and caches these hidden states once, and therefore needs 2-3x less GPU time than online training, which recomputes the hidden states at every step. For a standard training corpus, however, the BF16 cache takes 34-55 TB and does not fit on the local disk of an 8-GPU node.
By Minsub Kim, Jaeeun Kil, Sungjae Lee · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.