Jumping the Line: Exploiting Length Predictions in LLM Scheduling
Yuyang Dai, Rana Shahout, Mahmood Sharif
Key points
From the paper's conclusion- Introduced JIL, an attack on prediction-based LLM schedulers that manipulates the scheduling signal to obtain higher priority and reduce completion time.
- JIL reduces predicted output lengths by up to 83.4 percent, and adversarial requests complete up to 1.53 times faster on average in end-to-end serving experiments.
- Response utility varies across models and tasks, exposing a trade-off between scheduling advantage and response quality, and grouping length predictions into coarse intervals reduces JIL's scheduling advantage and mitigates delays to benign requests.
Abstract
Efficient request scheduling is increasingly important for reducing completion time in large language model (LLM) serving. Size-based policies such as Shortest Job First prioritize shorter requests, but output lengths are unknown before generation, so practical schedulers rely on predicted lengths. We introduce JIL, an attack on prediction-based LLM schedulers that manipulates the scheduling signal to obtain higher priority and reduce completion time. Using TRAIL as a case study, JIL optimizes an adversarial suffix that causes a lightweight output-length probe to underestimate a request's length. We evaluate JIL on two datasets and four LLMs across varied request profiles and deployment configurations. JIL reduces predicted output lengths by up to 83.4 percent, and adversarial requests complete up to 1.53 times faster on average in end-to-end serving experiments. The reduction in predicted length is substantially larger than the change in actual output length, revealing a mismatch between the scheduler's estimate and the request's realized size. Response utility varies across models and tasks, exposing a trade-off between scheduling advantage and response quality. We also evaluate scheduler-side defenses and find that grouping length predictions into coarse intervals reduces JIL's scheduling advantage and mitigates delays to benign requests.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Introduced JIL, an attack on prediction-based LLM schedulers that manipulates the scheduling signal to obtain higher priority and reduce completion time.
- JIL reduces predicted output lengths by up to 83.4 percent, and adversarial requests complete up to 1.53 times faster on average in end-to-end serving experiments.
- Response utility varies across models and tasks, exposing a trade-off between scheduling advantage and response quality, and grouping length predictions into coarse intervals reduces JIL's scheduling advantage and mitigates delays to benign requests.
Readers' thoughts
No reader thoughts yet.
Related papers
- Uncertainty-aware offline reinforcement learning for LLM inference serving with heterogeneous SLOsScientific Reports · 2026
- LLM-Driven Adaptive Cloud Resource Scheduling: Bridging Reasoning Intelligence With Optimization GuaranteesIEEE Open Journal of the Computer Society · 2026
- Optimal Scheduling Algorithms for LLM Inference: Theory and PracticeProceedings of the ACM on Measurement and Analysis of Computing Systems · 2025
- Pathwise-Budgeted LLM Routing: Online Allocation with K-Bit Tail-Cost LearningarXiv · 2026
- Dynamic Budget Allocation for LLM Evaluation under Hard Resource ConstraintsarXiv · 2026
- Queuing for Inference: Dynamic Memory Footprints and Costly PreemptionarXiv · 2026