inference-efficiency · 2026-12-02 · Tier 1

SpecZip, DMTP, UBTree and DFly2: speculative decoding moves to the drafter's training data and first token

SpecZip, DMTP, UBTree and DFly2

TL;DR. Four drafter results in one window. SpecZip fixes the cost of training drafters. Offline training of EAGLE-3 or DFlash drafters caches the target's hidden states once (2-3x less GPU time than recomputing them), but a BF16 cache is 34-55 TB. Equal-bit quantizers shorten acceptance. SpecZip finds 99% of hidden-state variance in 32% of principal components, so it compresses with PCA plus reverse water-filling (bits by variance, no per-token scales) and projects removed components out of the drafter's first layer to avoid a train-serve mismatch. A 16x cache (2.2-3.4 TB) fits on one node; drafters keep 99-101% of BF16 acceptance across four targets including a 122B MoE, with 1.95-3.25x the throughput of online training. DMTP lets the target's native MTP head (multi-token prediction) propose the first token of each block and DFlash draft the rest in parallel: up to +35.64% accepted length over DFlash2 on long context and +17.1-23.75% serving throughput over DFlash on Qwen3.6/3.8 models. UBTree (inclusionAI) links unigram candidates into a tree with a trainable bigram selector: acceptance 6.548 and 845 tok/s versus DFlash2's 4.520 and 661 tok/s on Qwen3.8-27B. DFly2 (Tencent) reuses the sparse target's KV cache and position selection, keeping no drafter cache: +10-31.5% acceptance and 62-81% higher throughput at 64K.

The drafter's training data is a compressible cache
SpecZip treats target hidden states like a KV cache, but remembers they are training data.
flowchart LR
  T["Target model<br/><small>hidden states</small>"] --> C["PCA + water-filling<br/><small>bits by variance</small>"]
  C --> D["16x cache<br/><small>2-3 TB, one node</small>"]
  D --> G["GPU decode<br/><small>kept components only</small>"]
  G --> DR["Drafter training<br/><small>first layer projected</small>"]
  DR --> S["Serving<br/><small>99-101% acceptance</small>"]
  C -.->|equal bits| E["Short acceptance<br/><small>naive KV quantizer</small>"]
  classDef input fill:#d0ebff,stroke:#1971c2,color:#1b1b1b,stroke-width:2px
  classDef core fill:#e5dbff,stroke:#6741d9,color:#1b1b1b,stroke-width:2px
  classDef loop fill:#fff3bf,stroke:#f08c00,color:#1b1b1b,stroke-width:2px
  classDef exit fill:#d3f9d8,stroke:#2f9e44,color:#1b1b1b,stroke-width:2px
  classDef err fill:#ffe3e3,stroke:#e03131,color:#1b1b1b,stroke-width:2px
  class T input
  class C loop
  class D,G,DR core
  class S exit
  class E err
Blue is the source, amber the compression decision, purple the pipeline, green the outcome, red the naive path.

Key findings

  • SpecZip: two properties of the hidden-state cache. Like a KV cache, variance is concentrated (99% in 32% of components). Unlike a KV cache, it is training data, so dropping low-variance components creates a train-serve mismatch unless the drafter's first layer is told about it. Decompression is overlapped with training, adding almost no step time.
  • DMTP: strict left-to-right verification throws away a whole block when the first token is rejected. MTP heads have the best first-token accuracy but are serial. Conditioning the parallel block on a concrete MTP token both inherits that accuracy and shifts the rest of the block one step forward.
  • UBTree: 1.842B draft, 5 parallel attention layers, block 16, 32-node tree, warm-started from DFlash. One run per dataset, so treat as a release claim.
  • DFly2: positions selected one step early still cover ~90% of later selections, so the drafter can borrow them.

Relation to prior wiki

  • Extends the 11-17 to 11-25 run of drafter papers (MMFlash, DNeo, NarrowSpec, G-MTP, LoopCache, DFlash2) that converged on "acceptance is set by what the drafter can see of the target." DMTP and DFly2 are two more: one sees the target's own MTP prediction, the other the target's sparse cache.
  • Partly answers the 11-22 prediction that built-in MTP heads would displace separate drafters: DMTP says the winning layout is both, MTP for token one and a parallel drafter for the rest.
  • SpecZip is new territory: the first paper in the wiki treating drafter training cost as the bottleneck, and it reuses KV-cache compression thinking (variance-aware bit allocation) in a new place.

See speculative-decoding, kv-cache, quantization.