NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Speculate Deep and Accurate: Lossless and Training-Free Acceleration for Offloaded LLMs via Substitute Speculative Decoding

Pei-Shuo Wang, Jian-Jia Chen, Chun-Che Yang, Chi-Chih Chang, Ning-Chi Huang, Mohamed S. Abdelfattah, Kai-Chiang Wu

Large Language Models (LLMs) are becoming increasingly difficult to run on standard consumer hardware. A typical 7B parameter model requires 14–16GB of VRAM, while many consumer GPUs are limited to 8GB or 12GB.

To bridge this gap, practitioners typically rely on two strategies: model compression (like quantization), which shrinks the model but often degrades output quality, or parameter offloading, which keeps the full-precision model in system RAM and streams layers to the GPU as needed. While offloading preserves the model's original quality, it is painfully slow. The PCIe bus creates a massive data-transfer bottleneck, frequently reducing generation speeds to a sluggish 1–2 tokens per second.

While Speculative Decoding (SD) is a proven method to accelerate inference by using a small "draft" model to guess tokens for a larger "target" model to verify, it comes with its own hurdles. Existing SD methods require either a pre-trained smaller model from the exact same family or expensive additional training to align the draft and target models.

Introducing SubSpec: Self-Drafting for Zero-Training Alignment

To solve this, researchers introduce Substitute Speculative Decoding (SubSpec), a training-free, plug-and-play method that turns the target model's own architecture into its draft model.

SubSpec operates on a few core mechanical innovations:

  • Substitute Layers: Instead of relying on a separate, smaller draft model, SubSpec identifies which layers of the target model are offloaded to the CPU. It then creates 4-bit quantized "substitute" versions of those specific layers and keeps them permanently resident on the GPU.
  • Layer & KV-Cache Sharing: The layers that do fit on the GPU in full precision are shared seamlessly between the draft and target passes. They also share the same KV-Cache, ensuring the draft model has the exact same contextual memory as the target.
  • Deep Tree Speculation: Standard speculative decoding usually guesses 5–10 tokens at a time. Because the cost of offloading weights for verification is so high, SubSpec speculates much deeper—up to 48 tokens at a time—using a tree-based structure.
  • Probability Sharpening: To prevent the draft model from wandering off-track during these deep speculations, SubSpec applies a low temperature (0.2) to the draft model's outputs, making its guesses more confident and aligned with the target's likely path.

Key Insights: Alignment Over Speed

In traditional speculative decoding (where all weights fit on the GPU), the draft model needs to be lightning-fast. However, in offloading scenarios, the primary bottleneck is the PCIe weight transfer.

The authors realized a critical trade-off: it is better to have a slightly slower, "deeper" draft model that is highly accurate (aligned) than a fast but inaccurate one. Every extra token accepted by the target model saves an expensive, time-consuming trip across the PCIe bus. By using quantized versions of the actual target layers, the SubSpec draft model inherently mimics the target's behavior, making it highly aligned without any fine-tuning.

Performance and Key Results

SubSpec was evaluated across a wide range of benchmarks (including MT-Bench, GSM8K, HumanEval, and GPQA) using models like Qwen2.5 (7B to 32B) and Llama-3.1 (8B). The results demonstrate that SubSpec turns "unplayable" offloading into a smooth, interactive experience.

Speedup and latency breakdown comparing SubSpec to baseline and other speculative decoding methods. SubSpec peaks at a 9.1x speedup by minimizing memory transfer overhead.
  • Massive Speedups: SubSpec achieved a 9.1× speedup for Qwen2.5 7B under a strict 8GB VRAM limit. For larger models, it delivered a staggering 12.5× average speedup for Qwen2.5 32B on a 24GB VRAM limit.
  • Real-world Throughput: On a single consumer GPU (RTX 4090), SubSpec pushed Qwen2.5 7B to 25 tokens per second while staying within an 8GB VRAM budget—fast enough for real-time reading.
Performance metrics across varying draft depths. SubSpec achieves an average acceptance length of nearly 30 tokens, maximizing throughput under strict VRAM constraints.

Crucially, the average acceptance length ($\tau$) reached nearly 30 tokens per iteration. For comparison, standard speculative methods usually hover around 4–7 accepted tokens. The paper notes that as speculation depth increases, the speedup eventually plateaus; for SubSpec, the "sweet spot" was around a depth of 48 tokens, where the time spent speculating perfectly balanced the time spent verifying.

Limitations and Future Directions

While SubSpec drastically reduces the latency of offloading, it still requires a minimum VRAM floor to hold the 4-bit substitute layers (roughly 7.1GB for a 7B model). Users with older 4GB or 6GB cards may still face out-of-memory errors. Future work may explore 2-bit or 3-bit quantization for the substitute layers to lower this floor, though this risks degrading the draft model's crucial alignment. Additionally, adapting this architecture for Mixture-of-Experts (MoE) models remains an open challenge.

Summary updated

BibTeX
@inproceedings{wang2025speculate,
  author = {Pei-Shuo Wang and Jian-Jia Chen and Chun-Che Yang and Chi-Chih Chang and Ning-Chi Huang and Mohamed S. Abdelfattah and Kai-Chiang Wu},
  title = {{Speculate Deep and Accurate: Lossless and Training-Free Acceleration for Offloaded LLMs via Substitute Speculative Decoding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=ZDpPfg9pDc},
}
Figure