TL;DR
Running massive Large Language Models (LLMs) on a single workstation usually means constantly shuttling weights between your CPU and GPU, leaving one processor twiddling its thumbs while the other works. STeP (Speculative Tensor Parallelism) fixes this by slicing each layer's weight matrices by importance: the GPU holds the most critical slice to rapidly "draft" upcoming words, and then both the GPU and CPU compute their respective slices simultaneously to verify them. You get exact, lossless full-model quality at speeds up to 2.2× faster than existing offloading tricks—with zero extra model training required.
What Problem Does This Paper Address?
Once open-weight LLMs hit around 24 billion parameters, they spill over the memory (VRAM) of most consumer GPUs and single-GPU cloud instances. Unlike quantization—which shrinks models at the cost of permanently degrading reasoning quality—speculative decoding accelerates generation losslessly. In this setup, a small, fast "draft" model guesses a few tokens ahead, and the massive "verifier" model checks them all in parallel.
However, applying this to a split CPU–GPU setup hits what the authors call the heterogeneity gap, caused by three structural inefficiencies in current methods:
- Sequential execution: Devices take turns—either streaming weights over PCIe from CPU storage to the GPU, or alternating layers—meaning at any given millisecond, either your GPU or your multi-core CPU is sitting idle.
- Wasted VRAM on separate drafts: Keeping a separate draft model on the GPU eats up precious memory that sits completely unused during the verification phase.
- Rigid memory footprints: Existing self-speculative substitutes have fixed sizes and cannot dynamically scale up to fill whatever VRAM budget you actually have.
Methods
STeP bridges this gap by combining structured pruning concepts with tensor parallelism (splitting individual matrix operations across devices), unfolding in two stages:
- Offline Saliency Reordering: Rather than training a draft model, STeP uses an existing structured pruning heuristic (ModHiFi) to score and sort the intermediate channels of each Feed-Forward Network (FFN) layer from most to least predictive. Nothing is deleted; the columns and rows are simply reordered once offline so the "heavy lifters" sit at the front.
- Runtime Concurrent Execution: At deployment, you pick a split point $k$ to pack ~90% of your available GPU VRAM. All attention layers and the top-$k$ FFN channels live on the GPU; the remaining "tail" FFN channels live on the CPU.
Each generation step then dances in two phases:
- Draft Phase: The GPU runs solo using only its top-$k$ prefix to quickly propose a tree of candidate tokens.
- Verify Phase: Both devices fire in step. For each FFN layer, the GPU computes the prefix while the CPU concurrently computes the remaining channels. Because FFN projections decompose additively, summing the GPU and CPU outputs recovers the exact mathematical output of the original model. Standard rejection sampling then guarantees lossless generation.
Datasets
Because STeP is entirely training-free (requiring only forward-pass calibration data for ModHiFi's channel ordering), no training datasets are used, and no new benchmarks are introduced. Evaluation is conducted across five standard benchmarks from the Spec-Bench suite—MT-Bench (chat), HumanEval (coding), GSM8K (math reasoning), Alpaca (instruction following), and CNN/DailyMail (summarization)—averaging throughput over 20 samples per benchmark at 128 generated tokens each.
Key Insights and Ideas
- Pruning without throwing anything away: Structured pruning usually Permanently lobotomizes a network to make it fit in memory. STeP's cleverness is realizing that pruning orderings give you a "free" draft model inside the verifier: the top-$k$ channels approximate the full layer well enough to guess tokens, while keeping the "pruned" tail on the CPU restores 100% of the model's intelligence during verification.
- Theoretical link between layer error and token acceptance: The authors prove mathematically (Theorem 3.2) that the speculative rejection rate is upper-bounded by the square root of a layer's local $\ell_2$ reconstruction error. This explains why pruning heuristics like ModHiFi—which explicitly minimize local reconstruction error—naturally yield high-acceptance draft models.
- The whole beats the sum of its parts: Across every tested hardware tier, STeP beats both pure CPU–GPU tensor parallelism (no speculation) and pure heterogeneous speculation (GPU draft + CPU-only verify). Every byte of VRAM pulls double duty, never sitting idle.
Key Results
Tested across dense models from 1B to 123B parameters (Llama-3.1/3.2, Qwen2.5, Qwen3-VL, Devstral, Gemma-4) on both consumer desktop (Ryzen 9950X + 32 GB GPU) and server (EPYC 9755 + MI355X capped from 32 to 192 GB VRAM) setups:
- Outperforming peers: On 24B–123B models, STeP outperforms leading heterogeneous speculative baselines (SpecExec and SubSpec) by up to 1.6× under greedy decoding ($t=0$) and up to 2.2× at sampling temperature $t=0.6$.
- Massive speedups over CPU/offloading: At realistic VRAM budgets, STeP achieves 4.40× to 7.42× decode speedups over CPU-only baselines, handily beating llama.cpp-style layer-splitting (2.04×–3.83×) and FlexGen-style weight-streaming (0.58×–1.46×).
- Graceful degradation: Draft token acceptance tracks the GPU channel ratio $r$ smoothly—saturating near 2.90/3 accepted tokens per step on Llama-3.1-70B ($r=0.85$), and still holding 1.63/4 even when squeezed down to $r=0.35$.
Limitations and Future Work
- Per-layer communication overhead: Because GPU and CPU sum their partial FFN results at every transformer layer, intermediate activations must cross the CPU–GPU interconnect repeatedly, adding latency proportional to model depth and hidden dimension.
- Low-VRAM cliff: When the GPU can hold less than 30% of the FFN channels ($r < 0.30$), draft quality degrades enough that speculation loses steam (though plain tensor parallelism still helps).
- Calibration sensitivity: Channel saliency orderings depend on calibration data; a domain mismatch at inference time can lower acceptance rates (speed), though output quality remains exact.
- Dense, single-GPU focus: STeP currently targets dense transformers on single-GPU setups; adapting it to Mixture-of-Experts (MoE) architectures and multi-GPU heterogeneous clusters remains future work.
Summary updated