JS2 jointly schedules agents and speculative decoding for faster LLM serving
Original title: JS$^2$: Joint Scheduling and Speculative Decoding for Efficient Agentic LLM Inference
Implemented on vLLM and SGLang, JS2 reports up to a 2.10× lower average job completion time versus the best baselines.
The paper presents JS2, a bottleneck-aware serving system that jointly controls speculative decoding and agent-level scheduling for LLM agents whose calls interleave with tool execution. It switches between native speculative and non-speculative paths with separate CUDA Graphs and estimates remaining steps from plans, prompts, and historical trajectories. Evaluated on three LLMs, four workloads, three workflows, two GPU platforms, and two serving traces, the authors report up to a 2.10× average JCT speedup with comparable tail latency and throughput. Code is at github.com/Wenz0101/JS2.
- The bottleneck shifts from decoding latency to queueing as concurrency rises.
- Remaining-step scheduling is meant to shorten high-batch periods and create SD opportunities.
- JS2 uses offline profiling and near-future load estimates to choose SD.
- The paper says disabled-SD overhead is minimized while staying compatible with adaptive SD.
From the original article
1 min read at arxiv.orgLLM-powered agents execute tasks through interdependent LLM calls interleaved with tool executions, making end-to-end Job Completion Time (JCT) a central serving objective. Our measurements reveal that the dominant LLM inference bottleneck shifts from decoding latency at low concurrency to queueing delay at high concurrency. Speculative Decoding (SD) accelerates decoding but may degrade performance under heavy load.
By Zijian Wen · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.