Jumping the Line: Exploiting Length Predictions in LLM Scheduling
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.
Create a lesson
Metadata
- Comments
- 24 pages, 6 figures
Related papers
PRETZEL: A Benchmark for Cyclic Peptide Structure Prediction
Shared title terminologycs.AIYongchan Hong, Zihang Fang, Mukta Ubale et al.
ContextLure: Exploiting Benign Conversation History for Indirect Prompt Injection
Shared title terminologycs.AIYi Han, Zhen Sun, Zhijie Deng et al.
AeroJEPA: A Two-Stage Framework for Aerosol Forecasting with Joint-Embedding Predictive Learning
Shared title terminologycs.AIZitong Shuai, Zengliang Zang, Chunlei Shi et al.
CI-JEPA: A Counterfactual Analysis of Latent Representations in Joint-Embedding Predictive Architectures for Self-Supervised Learning
Shared title terminologycs.AIMintu Dutta, Ritesh Vyas, Mohendra Roy *
Transcriptome-informed multi-modal AI for predicting neoadjuvant therapy response from breast cancer biopsies
Shared title terminologycs.AIJungkyu Park, Dhruva Biswas, Joseph Cappadona et al.
RASPER: Reward-Aligned Summarization of Clinical Notes for EHR Outcome Prediction
Shared title terminologycs.AIArya Hadizadeh Moghaddam, Mohsen Nayebi Kerdabadi, Chen Chen et al.