Jumping the Line: Exploiting Length Predictions in LLM Scheduling
cs.AI
Submitted: 2026-10-02
Updated: 2026-10-02
Comments: 24 pages, 6 figures
License: http://creativecommons.org/publicdomain/zero/1.0/
The gist: Efficient request scheduling is increasingly important for reducing completion time in large language model (LLM) serving.
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.
Sources
- Predictive Scheduling for Efficient Inference-Time Reasoning in Large Language Models
- ELIS: Efficient LLM Iterative Scheduling System with Response Length Predictor
- Efficiently Scaling LLM Reasoning with Certaindex
- Denial-of-Service Poisoning Attacks against Large Language Models
- Intra-request branch orchestration for efficient LLM reasoning
- ThinkTrap: Denial-of-Service Attacks against Black-box LLM Services via Infinite Thinking
- Scheduling with Predictions and the Price of Misprediction
- Efficient Interactive LLM Serving with Proxy Model-based Sequence Length Prediction
- SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks
- OUTLETS: Output-Length Prediction from Speculative Decoding Backbones
- Scheduling LLM Inference with Uncertainty-Aware Output Length Predictions
- Universal and Transferable Adversarial Attacks on Aligned Language Models
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems