# Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets

수락된 토큰만 센다: 지연 시간 목표 하에서 speculative decoding의 에너지 회계

Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein · arXiv · 2026년 10월 29일

- **연구 문제** 배치를 키울 수 없는 지연 목표 아래에서 speculative decoding이 토큰당 에너지를 얼마나 줄이는지 측정합니다.
- **연구 방법** 11개 모델과 5종 드래퍼를 CUDA 그래프 캡처를 켠 상태에서 같은 배치의 비추측 기준선과 쌍으로 비교합니다.
- **주요 결과** 단일 스트림에서는 대부분의 모델이 에너지를 절감하지만, 배치가 커지면 절감이 줄고 블록 드래퍼는 손실로 바뀔 수 있습니다.

## 배치와 지연 목표 사이의 에너지 문제

LLM 서빙은 시설 전력에 제약을 받으며, 토큰당 에너지는 데이터센터가 서빙할 수 있는 토큰 수를 결정합니다. 동시에 사용자는 토큰 사이의 시간이라는 지연 목표도 체감합니다. 디코드 단계에서는 토큰 하나를 만들 때마다 모델 가중치 전체를 메모리에서 읽으므로, 에너지와 토큰 간 시간이 모두 메모리 읽기량에 따라 움직입니다. 배칭은 여러 요청이 하나의 가중치 읽기를 나누어 쓰게 하여 토큰당 에너지를 낮추지만, 개별 사용자의 토큰 간 시간은 줄이지 못합니다. 이 논문은 지연 목표가 빡빡해서 배치를 키울 수 없을 때 speculative decoding이 에너지에 어떤 영향을 주는지 묻습니다.

![Figure 4: Energy per token against per-user throughput with CUDA graph capture enabled, one panel per attention family, with each trace running from a batch of…](https://refivu.com/papers/85d77e47-8039-4550-ab10-cf964e096268/figures/figure-26ee7435188105127d5ffded6dfb6723.png?thumb=512)

**Fig. 4** . Energy per token against per-user throughput with CUDA graph capture enabled, one panel per attention family, with each trace running from a batch of 1 (hollow marker) to a batch of 64 or to the batch given in its label, shaded over the range of its three seeds.

[원문](https://arxiv.org/abs/2610.40287v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein · Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

## speculative decoding의 검증 구조와 드래퍼

speculative decoding에서 드래퍼는 여러 미래 토큰을 제안하고, 대상 모델은 이를 한 번의 순전파로 검증합니다. 수락된 토큰은 같은 가중치 읽기를 나누어 얻지만, 거부된 드래프트 토큰도 검증 과정에서 계산되므로 에너지를 씁니다. 따라서 중요한 양은 드래프트 토큰 중 수락 비율이 아니라 검증당 수락된 토큰 수입니다. 논문은 n-gram drafting, MTP 헤드, EAGLE3, DFlash, DSpark의 다섯 방식을 비교합니다. n-gram은 학습 없이 최근 문맥을 대조하고, MTP 헤드와 EAGLE3는 토큰을 하나씩 순차적으로 예측하며, DFlash와 DSpark는 한 패스에서 블록을 드래프트합니다. 엔진의 기본 모드는 요청마다 전체 토큰 수를 검증하므로, 검증 패스의 모양은 매 단계 동일합니다.

![Table 1: Drafters per model, given as the number of tokens each verifies per request and step and marked by who trained it (c with the model, v by the model’s…](https://refivu.com/papers/85d77e47-8039-4550-ab10-cf964e096268/figures/figure-c7cef7da54840143f46487fdbb2a81d7.png?thumb=512)

**Table 1** . Drafters per model, given as the number of tokens each verifies per request and step and marked by who trained it (c with the model, v by the model’s vendor afterwards, as Google’s assistant for the gemma models, t by a third party), with the GPU each model’s batch sweep runs on, and asterisks marking Mixture-of-Experts models.

[원문](https://arxiv.org/abs/2610.40287v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein · Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 배치별 에너지 절감과 절감이 끝나는 지점

측정은 SGLang에서 CUDA 그래프 캡처를 켠 상태로 H100과 H200에서 수행되었습니다. 각 추측 실행은 같은 모델, 배치 크기, 프롬프트 풀, GPU 설정의 비추측 기준선과 쌍으로 비교되었습니다. 단일 스트림에서는 모든 모델에 에너지를 절감하는 방식이 있었으며, 최대 절감의 중앙값은 디코드 에너지의 54%였습니다. 다만 n-gram drafting은 Mixture-of-Experts 모델에서 단일 스트림에서도 에너지를 소비했습니다. 배치가 커지면 절감은 줄어들어, 배치 64에서도 모든 측정 가능한 모델에서 최대 절감 방식은 15에서 52% 사이의 에너지를 절감했습니다. 조밀한 Qwen3 모델에서는 일부 드래퍼가 배치 64에서 에너지를 소비했습니다.

![Table 2: Largest energy saving among the schemes (%) per model and batch with CUDA graph capture enabled, on the GPU given in Table 1, as the median over repea…](https://refivu.com/papers/85d77e47-8039-4550-ab10-cf964e096268/figures/figure-dcf3e7e890376d5a0e5368862e5d40b4.png?thumb=512)

**Table 2** . Largest energy saving among the schemes (%) per model and batch with CUDA graph capture enabled, on the GPU given in Table 1, as the median over repeated runs± half their range, the scheme that achieves it (DF DFlash, DS DSpark, MTP an MTP head or gemma’s assistant), and a dash where no speculative run held the batch.

[원문](https://arxiv.org/abs/2610.40287v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein · Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Figure 2: Energy per output token against batch with CUDA graph capture enabled for 9 of the 11 models, grouped by attention family and labelled where the pane…](https://refivu.com/papers/85d77e47-8039-4550-ab10-cf964e096268/figures/figure-070abfd7be5382c4cc7794a5c2e34534.png?thumb=512)

**Fig. 2** . Energy per output token against batch with CUDA graph capture enabled for 9 of the 11 models, grouped by attention family and labelled where the panel ran on the H200, with the non-speculative baseline in grey, asterisks marking Mixture-of-Experts models, crosses at batches the engine ran below the requested concurrency, and lines that stop short ending where the engine could not start.

[원문](https://arxiv.org/abs/2610.40287v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein · Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 검증과 초안의 에너지 분할

초안의 에너지 몫은 추측 실행에서 초안 패스를 제거하고 같은 단계를 유지한 채 측정하여 나눕니다. 이 방식으로 조밀 모델에서는 검증이 모든 드래퍼와 배치에서 디코드 에너지의 대부분을 차지함을 확인했습니다. 가장 큰 드래퍼의 초안 몫도 45%를 넘지 않았고, 블록 드래퍼는 최대 23%였습니다. 따라서 드래퍼 비용을 절반으로 줄여도 디코드 에너지는 최대 12% 정도만 낮아진다고 저자들은 해석합니다. 이 분할은 조밀 모델에서 확인되었으며, Mixture-of-Experts 모델에서는 검증 토큰이 라우팅된 전문가에 따라 달라 분할을 보고하지 않았습니다.

![Figure 5: Energy saving against accepted tokens per verification for every model, scheme and batch that has a baseline run at the same batch size, coloured by…](https://refivu.com/papers/85d77e47-8039-4550-ab10-cf964e096268/figures/figure-604b94574a0a2a37f0b650eb1c324e89.png?thumb=512)

**Fig. 5** . Energy saving against accepted tokens per verification for every model, scheme and batch that has a baseline run at the same batch size, coloured by batch (a), and the share of decode energy spent drafting and verifying at 𝐵=1and 𝐵=64with capture enabled for every dense model and scheme, measured by removing the draft (b).

[원문](https://arxiv.org/abs/2610.40287v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein · Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## 수락 토큰 수와 배치에 따른 드래퍼 순위 변화

드래퍼의 순위는 단일 스트림과 서빙 배치에서 달라집니다. 단일 스트림에서는 블록 드래퍼가 수락 토큰을 가장 많이 얻어 에너지를 가장 많이 줄이는 경우가 많습니다. 배치가 커지면 블록 드래퍼는 한 번에 16개 같은 많은 토큰을 검증하므로, 검증 비용이 수락 이득을 넘어설 수 있습니다. 수락 토큰 수는 배치에 따라 크게 변하지 않아서 이 전환을 설명하지 못합니다. 대화 텍스트에서도 모든 드래퍼가 코드보다 검증당 수락 토큰이 적었으며, 특화된 드래퍼는 손실이 더 컸습니다.

## 측정 범위와 적용 한계

에너지 카운터는 GPU 보드만 포함하며, 호스트 프로세서, 호스트 메모리, 네트워크, 냉각은 포함하지 않습니다. 이 점은 호스트에서 매칭을 수행하는 n-gram drafting에 유리하게 작용할 수 있습니다. roofline의 하드웨어 카운터 측정은 Qwen3-4B에만 적용되었으며, 배치는 64까지만 측정되었습니다. 지연은 생성 시간 평균으로 측정되었고 토큰별 백분위수는 기록되지 않았습니다. 이 결과는 짧은 프롬프트와 특정 모델·GPU 조건에서 얻은 것입니다.

![Table 4: Mean time between output tokens per user in milliseconds with CUDA graph capture enabled on the code pool, for the non-speculative baseline and for th…](https://refivu.com/papers/85d77e47-8039-4550-ab10-cf964e096268/figures/figure-449a7ca7d71c7e6081e629da546f5f7b.png?thumb=512)

**Table 4** . Mean time between output tokens per user in milliseconds with CUDA graph capture enabled on the code pool, for the non-speculative baseline and for the speculative scheme with the shortest time at each batch, with a dash where the engine did not hold the batch and a dagger where prefill time is not subtracted.

[원문](https://arxiv.org/abs/2610.40287v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein · Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

![Figure 6: Arithmetic intensity of a decode step on Qwen3-4B against batch, with the balance point of each GPU as a horizontal line (a), and the energy saving o…](https://refivu.com/papers/85d77e47-8039-4550-ab10-cf964e096268/figures/figure-e35811f0fd8faf9340690b673a092f12.png?thumb=512)

**Fig. 6** . Arithmetic intensity of a decode step on Qwen3-4B against batch, with the balance point of each GPU as a horizontal line (a), and the energy saving of the same drafters with capture enabled on each GPU, filled where the step at that batch is past the balance point of that GPU (b), shaded in (a) from the batch at which the DFlash-16 step crosses each balance point and in (b) from the batch at which its saving turns negative on each GPU.

[원문](https://arxiv.org/abs/2610.40287v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein · Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 10월 29일
- **등록일**: 2026년 11월 1일
- **수정일**: 2026년 10월 29일
- **버전**: v1
- **arXiv**: 2610.40287
- **분류**: cs.DC · cs.AI · cs.LG · cs.PF
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2610.40287v1) · [원문 PDF ↗](https://arxiv.org/pdf/2610.40287v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Large language model serving is limited by facility power. Energy per token determines how many tokens a datacenter can serve, while a latency target bounds how quickly each user receives them. During decode, every weight is read from memory for every generated token. Batching amortizes this read across users but makes no individual user faster. Speculative decoding does: a drafter proposes several future tokens, and the target model verifies them in a single forward pass that reuses the same weight read. Because every drafted token must be verified whether or not it is accepted, the energy speculation saves depends on how many drafted tokens are accepted. This saving is hard to pin down. It varies across target models from different attention families and across drafting schemes, and it depends on the text being served. Every drafter we evaluate accepts fewer tokens on conversation than on code, and every trained drafter accepts fewer on Romansh, a low-resource language, than on English. We measure speculative decoding under production serving conditions (SGLang, CUDA graphs enabled) on H100 and H200 GPUs, at batch sizes up to 64 across 5 corpora. On dense models, verification, not drafting, dominates the energy cost. The saving shrinks as the batch grows, because batching has already shared the weight read that speculation would divide among the accepted tokens. At large batch sizes, block drafters push verification past the balance point between arithmetic and memory traffic into the compute-bound regime, where the saving becomes a loss, and a drafter with low acceptance raises energy per token. Meeting a tighter latency target with speculation then costs additional energy. Larger batches lower energy per token without speculation. Speculation adds to that saving only when acceptance is high, and on the model we tested it leaves little headroom for latency-preserving DVFS.

## 원문 인용

Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein (2026). Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets. arXiv:2610.40287v1. https://arxiv.org/abs/2610.40287v1

**BibTeX**

```
@misc{ma2026only,
  title = {{Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets}},
  author = {Bole Ma and Ayesha Afzal and Jan Eitzinger and Harald Koestler and Gerhard Wellein},
  year = {2026},
  eprint = {2610.40287},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.40287v1}
}
```

## 이 논문의 용어

- [Speculative decoding](https://refivu.com/terms/2496d9bbec40-speculative-decoding)
- [Mixture-of-Experts](https://refivu.com/terms/2e4496944f4c-mixture-of-experts)
- [Gated DeltaNet](https://refivu.com/terms/867332aa385b-gated-deltanet)
- [CUDA graphs](https://refivu.com/terms/894f62de89fe-cuda-graphs)
- [DFlash](https://refivu.com/terms/0534e73d6967-dflash)
- [GLM-4.7-Flash](https://refivu.com/terms/505c7639390e-glm-4-7-flash)
- [Batching](https://refivu.com/terms/c7fae058b064-batching)
- [gemma-4-31B-it](https://refivu.com/terms/8c00ea6d884d-gemma-4-31b-it)
- [recurrent state](https://refivu.com/terms/704c50e81f39-recurrent-state)
- [추측 디코딩](https://refivu.com/terms/d95a5e2977f5)

## 다른 논문 해설

- [Efficient Quantization Training with Stochastic Rounding via Structured Subspace Randomness](https://refivu.com/papers/dd1ff416-5a97-4796-abca-ffb646fab63f-efficient-quantization-training-with-stochastic-rounding-via.md)
- [Optimal Regret for Communication-Efficient Decentralized Online Learning](https://refivu.com/papers/0a7cc72f-1a1d-4a04-921a-f0715cb84e1c-optimal-regret-for-communication-efficient-decentralized.md)
- [Addressing Imbalanced Domain-Incremental Learning through Dual-Balance Collaborative Experts](https://refivu.com/papers/67007668-b220-4a2a-94e9-d2cb4c1d6646-addressing-imbalanced-domain-incremental-learning-through.md)
- [Sparse Causal Discovery with Generative Intervention for Unsupervised Graph Domain Adaptation](https://refivu.com/papers/d8a2312a-d929-4f6e-9670-27e7b383b111-sparse-causal-discovery-with-generative-intervention-for.md)
- [Improving Transformer World Models for Data-Efficient RL](https://refivu.com/papers/bf0a569b-7476-4cd0-91b8-a28e0935c805-improving-transformer-world-models-for-data-efficient-rl.md)
- [Beyond Self-Repellent Kernels: History-Driven Target Towards Efficient Nonlinear MCMC on General Graphs](https://refivu.com/papers/d16c4679-29d3-4e63-a1e7-44b911331f3f-beyond-self-repellent-kernels-history-driven-target-towards.md)
- [PAPERBENCHX: Can AI Reproduce Science Across Disciplines?](https://refivu.com/papers/40332f60-fa1b-42a6-8b6d-91e68bf75d16-paperbenchx-can-ai-reproduce-science-across-disciplines.md)
- [Gym-Anything for Robotics: Scaling physical simulations with digital agents](https://refivu.com/papers/bd6018c8-7e86-43e6-bd76-05c57194149c-gym-anything-for-robotics-scaling-physical-simulations-with.md)
- [Testimony from Timelines: Evidence-Grounded Significance Testing of Temporal Clinical Hypotheses](https://refivu.com/papers/a4d2efe3-a20d-4061-8195-c02bbb80e510-testimony-from-timelines-evidence-grounded-significance.md)
- [Pre-Crime for Agents, at the Last Second: Probing When a Recruited Agent Gives In](https://refivu.com/papers/bc98eaff-2923-46cf-ba1a-6894522628a0-pre-crime-for-agents-at-the-last-second.md)
- [Surprise Alone Learns Lies: Evidence-Gated Continual Learning for LLMs from Streaming Claims](https://refivu.com/papers/fa5643b8-a357-4203-bd88-f84f7c2636ea-surprise-alone-learns-lies-evidence-gated-continual-learning.md)
- [Does the Citation Matter? Quality, Grounding, and Physician-Rubric Accuracy of Google's AI Overviews for Medical Information](https://refivu.com/papers/8a6fb29a-3437-4d12-a2ce-f4bb525f90a4-does-the-citation-matter-quality-grounding-and-physician.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/85d77e47-8039-4550-ab10-cf964e096268-only-accepted-tokens-count-an-energy-accounting-of)
