Skip to content
NewA calmer, faster ZeroHour

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

arXiv cs.AI / cs.LG / cs.CLby Zijian Wen ()1 min read1 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

LLM-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.

arXiv cs.AI / cs.LG / cs.CL

By Zijian Wen · arxiv.org

Read the full article at arXiv cs.AI / cs.LG / cs.CL

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.