# Keep or Preempt? Termination-Aware Scheduling for LLM Serving with Speculative Decoding

*Ziyu Cheng, Songtao Guo, Mingyan Li, Chang Han, Hongyu Xu, Xu Luo*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152245) · [OpenReview](https://openreview.net/forum?id=UVkupZzqjJ) · [Open on the map](../papers.html#p152245)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Speculative Decoding Optimization](../pgroup/529.md) · Type: new method · Keywords: speculative decoding, LLM serving, task scheduling, preemption, latency optimization

## Summary
The paper introduces a termination-aware scheduling framework that predicts near-completion requests in speculative decoding-based LLM serving and decides when to preempt tasks, achieving substantial reductions in TTFT and E2E latency.

## Explained to a 5-year-old
When you ask a big AI model a question, you want to get the answer quickly. The AI uses a trick called speculative decoding that sometimes guesses the answer before checking it. Because of this trick, it is hard to know which question will finish first. The researchers created a new way to look at how close each question is to being finished and decide whether to stop a slower question to help a faster one. This helps the AI answer questions faster for people who use it.

## Explained to a 5-year-old, longer
When you talk to a big AI assistant, it needs to think a lot before giving you an answer. To make this faster, the AI sometimes makes a quick guess about what the answer might be. After guessing, it checks the guess carefully to see if it is correct. Because of this guessing and checking, it is not easy to know which question will be finished first. The researchers noticed that the time a question needs also depends on how many guesses were accepted and how many checks were done. They built a simple tool that looks at how the guessing and checking are going for each question. This tool can tell which questions are almost done soon. Then the system decides whether it is worth stopping a question that is taking a long time to help the almost-done ones finish faster. By doing this, the AI can give answers more quickly for the people who ask questions. The new method works better than the old ways of scheduling questions. It also works better than a special method that only looks at the length of the answer. Overall, this makes the AI assistant feel faster and more responsive for users.

## For a technical reader
In speculative decoding for LLM serving, the remaining time for a request cannot be estimated solely from output length because it also depends on draft acceptance and verification rounds. The paper proposes a termination-aware scheduling framework that uses a lightweight predictor on runtime draft-and-verify states to identify near-completion requests. It then applies a switching-aware online policy to decide when preemption is beneficial, approximating SRPT scheduling. Evaluations on the vLLM system show up to 3.8× improvement in TTFT and 2.3× reduction in E2E latency over default schedulers. The approach also outperforms an oracle length-based baseline, achieving up to 2.0× lower mean TTFT and 1.3× lower mean E2E latency.

## Problem
Scheduling requests in speculative decoding-based LLM serving is challenging because the remaining processing time cannot be accurately estimated from output length alone; it also depends on draft acceptance and verification steps.

## Method
The approach uses a lightweight predictor built from runtime draft-and-verify states to estimate remaining service time, identifies requests that are almost done, and applies a switching-aware online policy to decide when preemption is worthwhile, approximating SRPT scheduling.

## Results
The approach reduces mean and median TTFT by up to 3.83× and 3.39×, and mean and median E2E latency by up to 1.39× and 2.33× compared to default schedulers, and still outperforms the TRAIL+ baseline with up to 2.0× lower mean TTFT and 1.3× lower mean E2E latency.

## Contributions
The paper shows that remaining service time in speculative decoding depends on draft acceptance and verification rounds, proposes a termination-aware scheduling framework that predicts near-completion requests and decides preemption via a switching-aware policy, and demonstrates significant latency improvements over existing schedulers and an oracle baseline.

## Practical relevance
Improving scheduling for speculative decoding can significantly enhance user experience in interactive LLM services by lowering latency and making inference more efficient.

## Research questions this paper is counted under

- [How can we estimate remaining processing time for LLM serving under uncertain workloads and speculative decoding?](../q/693.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152245)
