TL;DR
Running Large Language Models (LLMs) on laptops and phones is painfully memory-bound: compute engines sit idle waiting for model weights to stream in one token at a time. Pando supercharges on-device generation by teaching ultra-fast "parallel" draft models to build branching trees of candidate tokens, and introduces a clever trick—rolling the random sampling dice before drafting—so the tree keeps the exact paths the target model is about to choose. The result is a lossless $5.3\times$ speedup and $4.2\times$ energy reduction over standard decoding, without retraining a single weight.
What Problem Does This Paper Address?
Standard autoregressive (AR) decoding generates one word at a time, reloading the entire multi-gigabyte LLM from memory for every single token. On edge devices—where memory pins are scarce, battery is precious, and only one user is asking a question—your silicon's matrix multipliers spend most of their time twiddling their thumbs waiting on memory.
Speculative decoding puts that idle compute to work: a tiny "drafter" model guesses upcoming tokens, and the big target model verifies them all in a single memory-streaming pass. Historically, you had two imperfect choices for drafters:
- Autoregressive drafters (like EAGLE) can build rich draft trees covering multiple alternative continuations, but require a separate forward pass for every level of tree depth—burning precious time and battery.
- Parallel drafters (like DSpark) spit out an entire block of draft tokens in one cheap pass. However, because positions are predicted independently, they are normally restricted to single linear chains capped at their trained block size (e.g., 7 tokens), leaving most of an edge device's idle verification compute unused.
Worse yet, when temperature sampling ($T>0$) is enabled, standard tree pruning keeps branches with the highest average draft probability. If the target model happens to randomly sample a slightly less probable token (say, "Hong Kong" instead of "New York"), a pruned tree will likely have thrown that branch away, wasting the round.
Methods
The authors introduce three clean ideas that require zero model retraining:
- Pando (Parallel Draft Trees): While DSpark's parallel backbone predicts token distributions independently per position, it includes a tiny sequential Markov head that scores how well adjacent tokens fit together. Pando runs the parallel backbone once, then sweeps the lightweight Markov head level-by-level to expand parent-conditioned branches, pruning them down to a budget of $N$ nodes. You get dynamic trees at virtually the same cost as a single parallel chain.
- Noise-Coupled Pruning (
Pando+NC): Using the Gumbel-max trick, random sampling from a probability distribution can be rewritten as adding pre-drawn Gumbel random noise to log-probabilities and taking the deterministicargmax. Because this noise depends only on the text prefix—not the model's output—Pando draws the noise before drafting and uses it twice: first to rescore and prune the draft tree toward branches favored by that specific noise draw, and second to sample the target model. Because the target model still makes the final mathematical draw, the output distribution is 100% lossless.
- Normalized Roofline Cost Model: Rather than profiling devices one by one, the authors count operator arithmetic and memory bytes and divide by the cost of a single AR decode step. Peak compute and bandwidth cancel out, reducing any hardware platform to a single number: its ridge point (the ratio of peak FLOPs to memory bandwidth).
Datasets
No new datasets are introduced, and no training is performed (the authors use off-the-shelf Qwen3-8B checkpoints from DeepSeek's DeepSpec release). Single-stream decoding is evaluated across nine standard benchmarks averaged equally: AIME25, Alpaca, Arena-Hard, GSM8K, HumanEval, LiveCodeBench, MATH500, MBPP, and MT-Bench.
Key Insights and Ideas
- Peek at the dice before placing your bets: Standard tree pruning bets on modes ("what happens on average"). Conditioning pruning on shared Gumbel noise lets small trees spend their limited node budget on the specific continuation this exact random draw favors.
- Adding more NPU/GPU compute won't make edge decoding faster: Across modern AI edge chips (ridge points of 100–1000 FLOP/byte), the speed-optimal tree budget saturates around $N=64$ nodes ($\approx 64$ FLOP/byte) because deeper tree levels yield diminishing acceptance returns. Thus, optimal speculative decoding remains weight-bound on every modeled edge device—only higher memory bandwidth helps.
- Speed and energy want different tree sizes: Extra tree nodes up to $N=128$ are nearly "free" in latency because compute is otherwise idle, but every extra arithmetic operation still burns battery. Smaller trees ($N=16$) maximize energy efficiency, while larger trees ($N=64$) maximize raw speed.
Key Results
Evaluated on Qwen3-8B:
- Acceptance Length: Lifting the 8-node block cap lets Pando reach an average acceptance length $\tau$ of $7.65$ tokens at $N=128$ ($T=0$), a 55% jump over DSpark's chain. At $T=1$, noise coupling (
Pando+NC) boosts acceptance across all tree sizes—up to +8.4% at $N=8$ and +5.8% at $N=16$—with zero wall-clock overhead. - End-to-End Speed & Energy: At greedy decoding ($T=0$), a 16-node Pando tree hits $5.27\times$ speedup and $4.22\times$ energy reduction over AR decoding (25% faster than DSpark's chain, and 27% faster / 72% more energy-efficient than a 64-node EAGLE-3 tree). Pushing to 64 nodes reaches $5.95\times$ speedup, though energy savings drop to $3.07\times$. At $T=1$, 16-node
Pando+NCachieves $5.17\times$ speedup and $4.13\times$ energy reduction.
Limitations and Future Work
- Short-memory branching: Because DSpark's Markov head only looks at the immediate parent token rather than the full path history, two branches ending in the same word get identical child predictions, causing deeper levels to add less value than full-prefix drafters like EAGLE-3.
- Unexpanded noise approximation: During noise-coupled scoring, unexpanded vocabulary tokens are grouped into a single aggregate category with an independent Gumbel draw rather than exact per-token target noise.
- Analytical hardware modeling: Latency and energy conclusions across devices rely on an idealized operator-level roofline model (assuming sequential operators, perfect compute/memory overlap, and fixed bf16/LPDDR5X energy coefficients), which underpredicts real A100 latency by 5–18% on larger trees. Future hardware designs are pointed toward cutting memory traffic (e.g., keeping activations on-chip) rather than adding matrix compute or dedicated drafting accelerators.
Summary updated