PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
September 20, 20250 citations

Semi-Clairvoyant Scheduling of Speculative Decoding Requests to Minimize LLM Inference Latency

View Full Paper
RLRuixiao LiFCFahao ChenPLPeng Li

Key Points

  • LAPS-SD decreases average inference latency by about 39% compared to traditional methods.
  • The algorithm utilizes dynamic execution metrics, including token acceptance rate and output length, for improved scheduling.
  • Maintaining multiple priority queues allows LAPS-SD to adaptively preempt requests and optimize resource management.
  • Extensive experiments validate LAPS-SD's effectiveness in minimizing latency across diverse inference requests.

Abstract

Speculative decoding accelerates Large Language Model (LLM) inference by employing a small speculative model (SSM) to generate multiple candidate tokens and verify them using the LLM in parallel. This technique has been widely integrated into LLM inference serving systems. However, inference requests typically exhibit uncertain execution time, which poses a significant challenge of efficiently scheduling requests in these systems. Existing work estimates execution time based solely on predicted output length, which could be inaccurate because execution time depends on both output length and token acceptance rate of verification by the LLM. In this paper, we propose a semi-clairvoyant request scheduling algorithm called Least-Attained/Perceived-Service for Speculative Decoding (LAPS-SD). Given a number of inference requests, LAPS-SD can effectively minimize average inference latency by adaptively scheduling requests according to their features during decoding. When token acceptance rate is dynamic and execution time is difficult to estimate, LAPS-SD maintains multiple priority queues and allows request execution preemption across different queues. Once the token acceptance rate becomes stable, LAPS-SD can accurately estimate the execution time and schedule requests accordingly. Extensive experiments show that LAPS-SD reduces inference latency by approximately 39% compared to state-of-the-art scheduling methods.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Li et al. (2025) studied this question.

synapsesocial.com/papers/68d469d631b076d99fa66e80https://doi.org/10.24963/ijcai.2025/951
Ask AI
Helpful
Bookmark
Share
View Full Paper