Large language models write text one token at a time. Each new token requires streaming all of the model's weights from memory, so the GPU's arithmetic units mostly sit idle. Speculative decoding works around this. A cheap "drafter" guesses several future tokens, often arranged as a tree of alternatives, and the large model checks all of them in a single pass. Because the output distribution is provably unchanged (A Theoretical Perspective for Speculative Decoding Algorithm), the gain is speed at no cost in quality. Systems that size the draft tree to the hardware, notably Sequoia and CAST, choose tree size to minimize latency at whatever clock speed the GPU happens to run. Separately, systems work on power management shows that lowering a GPU's core clock during memory-starved work saves large amounts of power at little cost in speed (Adámek et al.; LithOS).
This proposal claims that these two choices should not be made separately. How many draft tokens are worth verifying depends on the clock speed, and the best clock speed depends on how many tokens are being verified. Lowering the core clock moves the point at which verification stops being "free" (memory-bound) and starts costing compute time. So the tree that minimizes energy per accepted token at a low clock is smaller than the latency-optimal tree at full clock. We will build a controller that jointly picks the draft-tree budget and the GPU core clock to minimize energy per accepted token under a per-token latency target. We will test whether this joint choice beats the obvious approach of tuning each knob on its own.
Core Claim
The coupling can be stated with a simple roofline-style model. Let $n$ be the number of draft tokens verified per step and $f$ the core clock. The target model's verification time is roughly
$$t(n,f) \approx \max\!\left(\frac{W}{\beta},\; \frac{n\,c}{f}\right),$$
where $W$ is the bytes of weights streamed, $\beta$ is memory bandwidth, and $c$ is the compute cycles needed per verified token. Verification stays memory-bound, so extra tokens add almost no time, until the knee $n^*(f) = W f/(\beta c)$. That knee scales linearly with $f$. Energy per accepted token is
$$J(n,f) = \frac{P(f,n)\,t(n,f) + E_{\text{draft}}(n,f)}{A(n)},$$
where $P$ is board power, $E_{\text{draft}}$ is drafter energy, and $A(n)$ is the expected number of accepted tokens, which grows ever more slowly with $n$. The minimizer of $J$ over $n$ shifts with $f$. The latency-optimal tree from CAST or Sequoia, computed at the default clock, therefore generally sits past the knee once the clock is lowered. That wastes compute time at reduced frequency, and leakage then accumulates over a longer step.
The point that would be new is the treatment of energy, not latency, as the objective of tree construction, with the clock as a co-decided variable. It is a testable empirical claim. The joint optimum must lie measurably off the path traced by "pick the latency-optimal tree, then pick the best clock for it." If it does not, the claim fails, and the experiments are designed to show this either way.
Relation to Prior Work
Several papers motivate the gap. CAST and Sequoia both build hardware-aware trees from latency profiling tables. CAST prunes tree width by marginal utility and keeps more than 2x speedup at batch 32. Neither measures power or changes hardware operating points. We reuse their profiling-table approach and add power and clock dimensions. LithOS shows that driver-level clock scaling for memory-bound kernels saves an average of 26% of energy on production ML traces. It acts reactively per kernel, though, and has no notion of draft and verify phases, and it cannot change how much work speculation creates. Our controller can, which matters because tree size is what decides whether verification is memory- or compute-bound.
A second group targets energy through algorithm or deployment choices. MTAD reports 1.54x less energy than vanilla speculative decoding by reducing the number of target-model memory passes, but it keeps clocks fixed. PipeSD cuts cloud server energy by 14.3% to 25.3% by overlapping edge drafting with network transfer. sd.npu reports up to 4.71x energy savings on mobile NPUs by padding drafts to the NPU's roughly 32-token saturation point. That "constant-cost trap" is a fixed-hardware version of our knee. Our version moves with the clock on server GPUs.
Other work constrains the design. Mei et al. find that lowering memory clocks during memory-bound work lengthens runtime and increases net energy, while Tang et al. find memory downclocking safe only for compute-bound work. We therefore keep memory clocks high by default and treat memory downclocking as a guarded ablation during large-tree verification. LithOS also flags clock-transition overhead, and this rules out the tempting design of switching clocks at every draft/verify boundary. Those phases alternate on millisecond timescales. Our controller changes clocks only once per decision window spanning many decoding steps. It exploits the phase structure through tree size rather than through per-phase switching.
Research Program
The first stage is a characterization study on an A100, the platform used by LithOS and Sequoia. Using locked core clocks across the supported range and high-rate on-board power sampling, we will profile verification time and energy as functions of tree size, batch size (1 to 32), and clock. We will do this for two drafter types. One is an EAGLE feature head on the same GPU; the other is a SAM suffix automaton that drafts on the CPU. Target models are Llama-2 7B/13B and an 8B reasoning model from SpecTTS-Bench. This stage directly tests whether the knee moves in proportion to clock, as the model predicts. It also measures the actual cost of a clock transition, which decides how long decision windows must be.
The second stage builds the controller. It extends CAST's offline latency tables with power and clock axes, so each entry records time and joules for a given tree shape and clock. It also keeps an online estimate of the token acceptance rate, which varies by task and drifts within a conversation; SpecTTS-Bench documents acceptance rising across reasoning turns. At each window the controller chooses a clock and a tree budget that minimize the estimated $J$ subject to a per-token latency target. Inside the window, tree construction is CAST's, with energy rather than time as the marginal cost. Because verification is lossless, greedy outputs must match the baseline token for token, and we will check this exactly.
Baselines
The naive reference is plain autoregressive decoding at the driver's default clock policy. All energy-per-token and latency figures are reported relative to it.
The strongest speed baseline is CAST at default clocks, run from its released profiling procedure on the same GPU, models, and prompts, with its trees re-profiled on our hardware. The reported figure to match is a peak speedup of 5.2x over autoregressive decoding on HumanEval (CAST). No reported result was found on Lacuna for the energy consumption of CAST or Sequoia, so we measure it ourselves. Sequoia at default clocks is a second tree baseline. Its reported figure is up to 4.04x speedup on Llama2-7B.
The baseline that most directly threatens the proposal is the separable one: CAST's latency-optimal tree combined with the single best static core clock, found by grid search with the same search budget our controller's offline profiling uses. Beating it is the core result. We will count the proposal as succeeding only if the joint controller reaches at least 10% lower joules per accepted token at matched latency target on most Spec-Bench categories. A second strong baseline is CAST plus LithOS-style reactive per-kernel downclocking of memory-bound kernels, which approximates what an existing driver-level manager would do without knowing about speculation. LithOS's own reported average is 26% energy savings, on generic production traces rather than speculative decoding.
The ablations isolate each ingredient: clock-only control with a fixed latency-optimal tree, tree-only energy-aware pruning at default clock, and the full joint controller. A further ablation compares per-phase clock switching against windowed switching to show directly whether transition overhead erases per-phase gains.
Why not just…?
Why not just tune the tree for latency and then cap the clock? This is the most serious alternative, and it may work nearly as well. If the knee shifts only slightly over the useful clock range, or if acceptance curves are flat near the optimum, the separable path will land close to the joint optimum. The characterization stage measures the knee shift directly, and the separable baseline above is tuned with equal effort. If the gap is under a few percent, we will report that, and the contribution shrinks to an energy-measured characterization of speculative decoding.
Why not just let a LithOS-style power manager handle it? A reactive manager sees memory-bound kernels and lowers their clocks, but it cannot change the tree. With large trees, verification becomes compute-bound, and a reactive manager correctly keeps clocks high, so speculation's extra compute is never questioned. The CAST-plus-reactive-DVFS baseline tests exactly this case.
Why not just run at maximum clock and finish fast? Race-to-sleep assumes idle time can be spent in deep sleep. A serving GPU decoding back-to-back tokens rarely gets that idle time. During memory-bound drafting and verification below the knee, higher clocks buy little speed, consistent with the Mittal survey and Basireddy et al.. The default-clock baselines quantify this cost.
Why not just quantize the target model? Quantization (QuickSilver) shrinks $W$, but each token still requires a full weight stream. It is complementary rather than competing. Shrinking $W$ also lowers the knee, which our model predicts makes the joint choice matter more. We will repeat the main comparison with an INT4 target to test this.
Proposed Experiments
Evaluation uses Spec-Bench for breadth across conversation, translation, summarization, QA, math, and RAG, plus MT-Bench, HumanEval, and GSM8K for comparability with CAST, Sequoia, and EAGLE. SpecTTS-Bench is used for long reasoning traces, where acceptance drifts and adaptive windows should matter most. Metrics are joules per accepted token from board power, mean and P99 per-token latency, accepted tokens per step, and exact output match under greedy decoding.
Three checks decide the outcome. First, the measured verification knee must scale with core clock. If it does not, the premise fails and we stop. Second, the joint controller must beat the separately tuned tree-plus-clock baseline in energy at matched latency. Third, windowed clock control must beat per-phase switching once transition overhead is counted, which would confirm that the gain comes from co-choosing tree size and not from finer-grained clock scaling. A secondary analysis compares the SAM and EAGLE drafters under the joint controller. A CPU-side suffix automaton puts no drafting load on the GPU, so its best operating point may differ, which speaks directly to the open question from SpecTTS-Bench about which drafter is cheaper on memory-bound hardware.
References
- A Theoretical Perspective for Speculative Decoding Algorithm
- Sequoia: Scalable, Robust, and Hardware-aware Speculative Decoding
- Inference-Cost-Aware Dynamic Tree Construction for Efficient Inference in Large Language Models
- Efficiency Near the Edge: Increasing the Energy Efficiency of FFTs on GPUs for Real-Time Edge Computing
- LithOS: An Operating System for Efficient Machine Learning on GPUs
- Optimized Multi-Token Joint Decoding With Auxiliary Model for LLM Inference
- PipeSD: An Efficient Cloud-Edge Collaborative Pipeline Inference Framework with Speculative Decoding
- Accelerating Mobile Language Model via Speculative Decoding and NPU-Coordinated Execution
- A survey and measurement study of GPU DVFS on energy conservation
- The Impact of GPU DVFS on the Energy and Performance of Deep Learning: an Empirical Study
- EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
- SAM Decoding: Speculative Decoding via Suffix Automaton
- A Survey of Methods for Analyzing and Improving GPU Energy Efficiency
- ITMD: run-time management of concurrent multi-threaded applications on heterogeneous multi-cores
- QuickSilver - Speeding up LLM Inference through Dynamic Token Halting, KV Skipping, Contextual Token Fusion, and Adaptive Matryoshka Quantization