Three Inference Optimizations That Stack — And How to Test Them This Week
Why This Week Matters
Three open, reproducible inference techniques landed in the same week, all targeting vLLM serving paths most production teams already run. They attack different bottlenecks: compute, memory, forward passes. That separation is what lets their gains compound instead of overlap. AWS raised inference pricing 20% in the same window, which moves the ROI math from theoretical to immediate.
The Three Techniques, Side by Side
| Technique | Mechanism | Best-Case Gain | Best For | License |
|---|---|---|---|---|
| InfoKV | Predictive entropy + layer-wise representation for KV eviction | Keep 12.5% cache, beat full baseline at 64k | Memory-bound long-context (RAG, agents) | Open |
| JetSpec | Causal parallel tree drafting head | 9.64x math, 7x code, 4.58x chat | Structured/predictable generation | Open |
| DeepSpec | MIT training stack for draft models (DSpark/DFlash/Eagle3) | ~1/4 compute, ~1/10 KV at 1M tokens | Self-hosted Qwen/Gemma — train your own draft head | MIT |
Where the Headlines Lie
JetSpec's 9.64x is measured on MATH-500. That is clean reasoning with high token predictability for the draft model. On open-ended chat it falls to 4.58x. Speculative decoding wins are acceptance-rate-dependent, and acceptance rates drop when prompts drift from the draft model's training distribution. Production traffic is messier than MATH-500.
InfoKV is the more surprising result. Standard KV-compression methods trade quality for memory. InfoKV claims quality improves over full-cache while keeping an eighth of it, with the advantage growing at 64k context. That is either a genuinely better information-theoretic eviction criterion or an eval artifact. The thing the topline number doesn't settle is which. The 64k measurement point is at least the bottleneck you actually hit.
Budget for the 4x floor. Anything above it is upside. A 4x reduction across all three is worth the integration cost on its own.
The Stacking Logic
InfoKV + DeepSpec-trained draft head compounds: more sequences per GPU from cache compression, fewer forward passes from speculative decoding. If you self-host Qwen or Gemma, DeepSpec removes the one constraint that kept teams on generic EAGLE checkpoints, which is architecture-matched draft training. JetSpec adds a causal parallel tree head on top.
The combined theoretical case: 75-87% memory reduction (InfoKV) times 4-9x fewer forward passes (JetSpec/DeepSpec), which reads as far more tokens per GPU-hour. The practical case will be smaller. The leaderboard numbers multiply cleanly; production rarely does. But even 4x times 2x memory efficiency reshapes the serving bill.
What to do
Run a one-day spike: benchmark InfoKV at 12.5% and 25% KV retention against your full-cache vLLM baseline on actual long-context traffic (16k, 32k, 64k), measuring both quality and tokens/sec/GPU
Train an architecture-matched draft model using DeepSpec for your primary Qwen/Gemma serving endpoint and A/B against current EAGLE/generic draft head by end of sprint
Profile your production traffic mix for token predictability distribution — what percentage resembles math/code (high acceptance rate) vs. freeform chat (low)