Skip to content

JIL: Manipulating LLM request scheduling priority via adversarial suffixesJIL: Adversarial Manipulation of LLM Request Scheduling

Paper Tracker· arXiv:2610.03430· Yuyang Dai, Rana Shahout, Mahmood Sharif·Indexed by this site · 2026-10-05· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

JIL lowers TRAIL length predictions; on Alpaca with Llama-3-8B the mean decrease is 83.4%, and target completion at 16 slots is 1.53×.

Threat modelThe attacker can only append an m-token suffix to their own requests. The construction phase has white-box access to the target model and length probe, with gradients reaching layer ℓ and probe gθ. The model, probe, scheduling policy, and other user requests are fixed. At deployment, the modified request is submitted. Transfer of the source model's suffix to the receiving model is also tested.

Questions
Size-prioritized LLM scheduling requires output lengths that are unknown in advance, so it uses predictions derived from user prompts. An attacker can lower these predictions to gain higher priority while responses remain long.
Methods
JIL optimizes a suffix with GCG after its own request so that the TRAIL length probe underestimates the output length, thereby increasing priority in SRPT-style scheduling. Experiments also include early stopping, cross-model transfer, and prediction floors and interval grouping.
Experiments and results
Predictions can be reduced across four models, with Alpaca's Llama-3-8B showing an average relative reduction of 83.4%. In a paired service with 16 sequence slots, the mean target completion speedup is 1.53×, with larger benign tail latency. Coarse grouping diminishes this scheduling advantage.
Limitations and future work
The paper does not specifically discuss limitations. Prediction manipulation covers four models; end-to-end scheduling and defenses are mainly on TRAIL/vLLM with Llama-3-8B, with transfer being bidirectional between Llama-3-8B and Mistral-7B.
Experimental setupLlama-3-8B-Instruct、Qwen2.5-7B-Instruct et al. · Alpaca、UltraChat et al. · relative prediction reduction、completion-time speedup et al.
Evaluated models
Llama-3-8B-InstructQwen2.5-7B-InstructMistral-7B-Instruct-v0.3Llama-3.1-70B-Instruct
Benchmarks
AlpacaUltraChatARC-ChallengeHellaSwagTRAIL/vLLM paired workloads
Metrics
relative prediction reductioncompletion-time speedupTTFT speedupnormalized completion position changebenign slowdownAlpaca win rateUltraChat judge scoremultiple-choice accuracy
AI summaryThe researchers propose JIL, an attack against LLM schedulers based on length prediction, which optimizes an adversarial suffix so that a lightweight output-length probe underestimates the request length, thereby obtaining higher scheduling priority and shorter completion time. Using TRAIL as a case study, they evaluate on 2 datasets and 4 LLMs under various request distributions and deployment configurations; predicted output length decreases by up to 83.4%, and in end-to-end serving experiments adversarial requests complete on average up to 1.53 times faster. The decrease in predicted length is clearly larger than the change in actual output length, indicating a mismatch between the scheduler's estimate and the request's true size; response quality varies by model and task, reflecting a trade-off between scheduling advantage and answer quality. The authors also evaluate scheduling-side defenses and find that grouping length predictions into coarse intervals weakens JIL's scheduling advantage and mitigates latency for normal requests.

The researchers propose JIL, an attack against LLM schedulers based on length prediction, which optimizes an adversarial suffix so that a lightweight output-length probe underestimates the request length, thereby obtaining higher scheduling priority and shorter completion time. Using TRAIL as a case study, they evaluate on 2 datasets and 4 LLMs under various request distributions and deployment configurations; predicted output length decreases by up to 83.4%, and in end-to-end serving experiments adversarial requests complete on average up to 1.53 times faster. The decrease in predicted length is clearly larger than the change in actual output length, indicating a mismatch between the scheduler's estimate and the request's true size; response quality varies by model and task, reflecting a trade-off between scheduling advantage and answer quality. The authors also evaluate scheduling-side defenses and find that grouping length predictions into coarse intervals weakens JIL's scheduling advantage and mitigates latency for normal requests.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Predictive scheduling turns user prompts into priority; JIL uses a suffix to lower the length prediction and cut in line.

    Predictive LLM scheduling maps user-controllable prompts to priorities, and attackers can suppress length predictions to cut in line.

    • Scenario: In applications such as conversational assistants and coding agents, completion time is the time from submission to receiving the complete response, which the authors believe directly affects experience. Under concurrency, FCFS suffers head-of-line blocking; SJF and SRPT minimize average completion time under standard assumptions, but request size mainly depends on output length, which is unknown at arrival.
    • Existing approaches: Recent systems predict request size from the input prompt and then schedule. TRAIL estimates length from intermediate representations and uses it for SRPT-style scheduling; LTR predicts the relative order of lengths. The authors believe that because predictions come from user-controllable prompts, a new attack surface emerges.
    • Core observation: Unlike attacks that increase computational demand, the goal is to create a mismatch between predicted length and actual generated length: the scheduler treats the request as a short job and gives it high priority, while the model still generates a significantly longer response.
    • This paper's approach: Proposes JIL. It appends an adversarial suffix to the request, causing the length predictor to underestimate the output length. The case is TRAIL: a lightweight probe maps internal representations to length estimates; the attacker does not modify the serving system, scheduler, or other user requests.
    • Threat model:
      • Goal: Reduce the predicted output length of one's own request, thereby increasing scheduling priority and shortening completion time.
      • Knowledge: White-box access to the target model and length probe when constructing the suffix; gradients pass through the model up to layer ℓ and through the probe gθ.
      • Capability: Can only append an m-token suffix to one's own request. Model parameters, probe parameters, scheduling policy, and other user requests remain fixed; modified requests are submitted at deployment. The suffix is optimized separately for each request.
      • Transfer: Suffixes are constructed using the source model and its probe, then submitted with the corresponding requests to the receiving model; the receiving probe and generation results are used to measure transferability.
  2. What related research exists?

    Related work is divided into predictive scheduling, adversarial and resource-consumption attacks, and content-safety-oriented defenses.

    LLM serving and predictive scheduling

    • Systems such as continuous batching, KV-cache management, and prefill-decode separation mostly schedule based on runtime state such as queue occupancy, cache pressure, and generated tokens (Yu et al., 2022; Kwon et al., 2023, etc.).
    • Qiu et al. (2024) use a surrogate model to predict output length before generation; Fu et al. (2024b)'s LTR learns the relative order of request lengths.
    • TRAIL (Shahout et al., 2025) obtains an initial length estimate from the target LLM's intermediate representation, updates it during generation, and uses it for SRPT-style scheduling with limited preemption. ELIS (Choi et al., 2025) uses a separate encoder predictor and periodically updates the remaining length in iterative scheduling. The authors study TRAIL because the user request determines the internal representation, the probe maps it to a length estimate, and the scheduler directly uses that estimate to assign priority.

    Adversarial suffixes and resource-consumption attacks

    • HotFlip (Ebrahimi et al., 2018) and GCG (Zou et al., 2023) perform gradient-guided discrete optimization over token sequences; later work improves stealth, transferability, and universality (Liu et al., 2024; Ben-Tov et al., 2026). The authors state that these attacks mainly change generation behavior, e.g., eliciting harmful or non-compliant completions; JIL uses related discrete optimization, but the loss is defined only on the scheduler-facing length predictor.
    • Sponge examples (Shumailov et al., 2021) and LLM attacks that induce extremely long, repetitive, or non-terminating generation (Gao et al., 2024; Zhang et al., 2025b; Li et al., 2025; 2026) increase actual computational demand. The authors state that JIL does not attempt to increase the number of generated tokens; instead, it makes the scheduler underestimate the number of tokens that will be generated, and examines whether this changes scheduling position and the impact on benign requests in the same queue.

    Defenses and robust scheduling

    • Adversarial-suffix defenses mostly target content safety: random input perturbation and aggregation (Robey et al., 2023), back-translation verification (Wang et al., 2024), robust prompt optimization (Zhou et al., 2024), and representation-level jailbreak detection (Zhang et al., 2025a). The authors state that their goal is to prevent unsafe completions, whereas this paper protects the integrity of scheduler-side predictions.

    • Robust scheduling with predictions (Mitzenmacher, 2019; Zheng et al., 2026) assumes service-time predictions contain ordinary errors and does not consider users deliberately modifying inputs to mislead the predictor. Wu et al. (2022) show that the GNN cluster scheduler Decima is not always strategy-proof: users can sometimes be scheduled earlier by reporting misleading job attributes. The authors state that this paper studies a similar problem in LLM serving, with the difference that the attacker modifies the request text.

    • Baselines and benchmarks: The main comparison is paired clean and attacked execution of the same workload, with the serving system being TRAIL/vLLM. As a mechanism control, the predictive policy is also compared with FCFS in the same engine. Requests come from Alpaca, UltraChat, ARC-Challenge, and HellaSwag. On the utility side, two concise-response instructions are also used as prompt baselines (Table 16).

    The authors distinguish JIL from latency attacks that "lengthen actual generation," and treat TRAIL as a case exposing the trust boundary of "user request—internal representation—probe—priority."

  3. How does the paper address this problem?

    JIL uses GCG to minimize the predicted length of TRAIL probes, thereby raising SRPT-style scheduling priority.

    JIL appends a suffix after the user request, minimizing the predicted length given by the TRAIL length probe, so that SRPT-style scheduling gives it higher priority.

    Problem setup and formalization

    • Request x is the complete user-controllable input for one model response. The server takes the hidden state of transformer layer ℓ, mean-pools it over input tokens, and obtains hℓ(x).
    • The probe gθ maps this representation to a distribution over K response-length bins. ck is the representative length of bin k. The predicted length is

    n̂(x)=∑k=1Ksoftmax(gθ(hℓ(x)))k ck i.e., the weighted sum of bin representative values by probe probabilities. The scheduler uses it as the initial service-time estimate; the smaller the estimate, the higher the priority.

    • The attack objective is

    Lsched(x,δ)=n̂(x⊕δ) i.e., minimizing the predicted length after appending the suffix over an m-token suffix. The user can modify x to lower the prediction while the model continues generating more tokens.

    Suffix optimization

    • The optimizer uses GCG. At each step, it computes the gradient of L_sched with respect to the token embedding at each suffix position, selects replacement tokens accordingly, evaluates the resulting suffixes, and keeps the candidate with the lowest predicted length. The gradient flows through the model up to layer ℓ and through the length probe, so the optimization targets the prediction seen by the scheduler, not the generation distribution itself.
    • The main experimental configuration is a 20-token suffix, 30 GCG steps, and 64 candidate suffixes per step (Sec. 4.1). A separate suffix is optimized for each request.
    • RQ4 additionally selects suffixes early by absolute prediction decrease: for each request, it takes the first saved suffix that reduces the clean prediction by 20, 40, or 60 tokens; if the trajectory does not reach the threshold, it uses the last-step suffix.

    Probe and scheduling usage

    • Appendix A.1: a probe is trained separately for each model, with a 512-unit hidden layer, 10 output bins, and input being the mean-pooled representation of layer 11, whose dimension matches that model's hidden dimension. Training uses 2,000 Alpaca reference responses, with 500 for validation; bins are defined by deciles of training response lengths, and the representative value is the mean length within the bin. In the main text, ℓ and K correspond to layer 11 and 10 bins in this experimental protocol.
    • The end-to-end service uses TRAIL/vLLM. The runner applies the model chat template, submits token IDs through AsyncLLMEngine, and passes the initial predicted length via the remain length field of SamplingParams. The scheduling policy is LRPSPRPT with chunked prefill enabled; a capacity guard checks the active-sequence budget before admitting the next running group.
    • Scheduling-side defenses do not modify the model or probe weights; instead, they modify the prediction given to the scheduler, and they are applied to both clean and attacked, target and benign requests. The prediction floor raises overly low estimates to a lower bound; prediction grouping rounds estimates up into fixed-width token intervals.

    How success is determined

    • Prediction: The absolute change is the attacked prediction minus the clean prediction; a negative value means the prediction became shorter. The relative decrease is that difference divided by the clean prediction.
    • Service: Each workload is run as a paired clean and attacked execution. The speedup is the clean group mean time divided by the attacked group mean time, computed separately for completion and TTFT, and for target and benign groups; greater than 1 means faster under attack. Times are measured from actual submission.
    • Order and benign latency: Completion rank starts at 1; the normalized position is the rank divided by the number of workload requests; the position change is attacked minus clean, multiplied by 100, in percentage points; a negative value means earlier completion. Benign slowdown is the attacked completion latency divided by the clean completion latency; each workload reports the proportion greater than 1 and the 95th percentile, then averages over workloads.
    • Utility: Compares the actual number of generated tokens. Alpaca uses an LLM judge to compare the generated answer with the corresponding dataset answer; UltraChat scores 1–5 and does paired preference in random order; ARC-Challenge and HellaSwag use parsed option accuracy. Repetition, malformed outputs, and hitting the cap are also recorded.
  4. What experiments did the paper conduct?

    Predictions can be lowered on four models; at 16 slots the mean target completion speedup for Llama-3-8B is 1.53×.

    Experimental setup

    • Models: Llama-3-8B-Instruct, Qwen2.5-7B-Instruct, Mistral-7B-Instruct-v0.3, Llama-3.1-70B-Instruct. Each has a length probe trained separately under the same architecture and training protocol.
    • Request sets: 200 Alpaca, 200 UltraChat, 100 ARC-Challenge, and 100 HellaSwag requests per model. The abstract says "two datasets, four LLMs"; Sec. 4.1 lists the four request sets above. Alpaca uses a fixed seed, with reference responses of at least 60 tokens; UltraChat takes the first user turn of the selected conversation. Open generation uses greedy decoding with a 512-token cap; multiple-choice uses a 16-token cap followed by answer parsing.
    • Attack configuration: 20-token suffix, 30 GCG steps, 64 candidates per step. RQ4 selects suffixes early on Llama-3-8B's 200 Alpaca requests by prediction decreases of 20/40/60 tokens.
    • Scheduling: TRAIL/vLLM, only Llama-3-8B-Instruct, on one NVIDIA B200. Five workloads, each with 20 benign requests plus 5 target requests. Clean and attacked runs keep identity, role, submission order, and planned arrival time; the planned arrival interval is 10 ms. The same 25 requests are run with 64 and 16 sequence slots. The authors call 64 low pressure and 16 constrained capacity.
    • Statistics: Prediction and utility use request-level paired bootstrap 95% intervals. Scheduling aggregates five workloads with 95% t-intervals and 4 degrees of freedom. Grouping defenses first average over three repetitions within each workload, then aggregate over five workloads.
    • Evaluation: Alpaca win rate is the proportion of wins relative to the matched dataset answer, with ties kept in the denominator. UltraChat mean score is 1–5, comparing clean and attacked in random order. Appendix A.2: UltraChat evaluations for Mistral, Qwen, and 70B use gpt-5-mini (via OpenRouter); the recovered Mistral and 70B Alpaca logs record gpt-5-mini with seed 42. The paper does not state in one place the evaluation model names for each Llama-3-8B task.

    Main results

    Prediction decreases are from Table 5 (200 pairs per cell, in percent). The last column is the end-to-end target completion speedup, from Table 9; that experiment reports only Llama-3-8B-Instruct.

    Swipe horizontally to read the table

    ModelAlpaca meanAlpaca medianUltraChat meanUltraChat median16-slot target completion speedup
    Llama-3-8B-Instruct83.4%88.3%25.3%18.2%1.53×
    Qwen2.5-7B-Instruct72.6%89.2%6.9%0.6%not reported
    Mistral-7B-Instruct-v0.376.6%83.5%25.4%23.2%not reported
    Llama-3.1-70B-Instruct79.3%83.2%32.7%32.9%not reported
    • The authors state that predicted lengths drop substantially on Alpaca for all four models, and the effect extends to Llama-3.1-70B; UltraChat separates more by model. For Qwen2.5-7B, the UltraChat median is 0.6%, and the authors state that its mean comes from a smaller subset. On multiple-choice, all eight model–benchmark cells in Table 15 show decreased mean predicted length.
    • The authors state that in Fig. 2(a), target completion is faster in every paired workload at both capacities. Table 9: the mean target completion speedup at 16 slots is 1.53× (1.13–1.93), and at 64 slots 1.33× (1.03–1.62). Target position changes are −17.92 and −17.12 percentage points, and benign are +4.48 and +4.28 percentage points.
    • The authors state that the prediction decrease is larger than the actual output-length change. In Table 13, Llama-3-8B's mean Alpaca generation length goes from 454.72 to 448.14 tokens. The authors also state that at both capacities targets generate fewer tokens after attack, so the measured speedup mixes prediction change with response-length change; the appendix does not give the number of generated tokens for that serving batch.

    Scheduling impact and mechanism controls

    • Table 9: at 16 slots the mean benign completion speedup is 1.05× (0.86–1.25), with 43.0% slowed and tail slowdown 1.45×; at 64 slots the corresponding values are 1.07× (0.97–1.17), 6.0%, and 0.97×. Splitting by clean completion rank, at 16 slots 52% of the first half and 34% of the second half are slower under attack; at 64 slots, 8% and 4% (App. D.4). The authors state that in Fig. 2(d,e) most benign completion and TTFT speedups are near 1; Table 9's mean benign TTFT is 3.82 at 64 slots and 1.10 at 16 slots. Mean target TTFT is 5.22 at 64 slots and 3.66 at 16 slots; the authors state that the higher mean at 64 slots is driven by one workload, while at 16 slots all five workloads have target TTFT speedups greater than 1.
    • The control batch is not the same set of numbers as the main paired runs. Table 11, natural outputs, predictive policy: target completion speedup at 16 slots is 1.43× (0.99–1.88), and at 64 slots 1.31× (1.00–1.62); the same text under FCFS is 1.22× and 1.27×. After fixing 512 generated tokens per request, under the predictive policy it is 1.05× and 1.00×.
    • Signal control keeps clean text and uses attacked predictions: target completion speedup at 16 slots is 1.10× (1.01–1.19), and at 64 slots 0.99× (0.97–1.01). Text control appends the suffix and keeps clean predictions: 1.18× (0.93–1.43) at 16 slots and 1.32× (0.97–1.67) at 64 slots. With clean text and fixed 512 tokens, the target position difference relative to FCFS is −3.84 (16 slots) and −3.47 (64 slots) percentage points, and completion speedup differences are near 1 (Table 12).

    Response length and utility

    • Table 1: Alpaca win rates are Llama-3-8B 84.0%→23.0%, Qwen2.5-7B 93.5%→63.0%, Mistral-7B 89.0%→74.0%, Llama-3.1-70B 80.5%→55.5%. All four win-rate change intervals in Table 14 are below 0, with Llama-3-8B at −61.0 percentage points (−68.0 to −54.0). The authors state that this model's mean output length is nearly unchanged, but utility drops.
    • UltraChat mean scores are 3.42→3.09, 3.49→3.23, 3.35→3.17, and 3.23→2.43. In Fig. 3(a), the median attacked-minus-clean across the four models is −1. Mistral's mean score change is −0.18 (−0.37 to 0.01), with the interval crossing 0. Multiple-choice aggregate accuracy: Qwen 82.5%→83.0%, Mistral 71.5%→62.5%; in Table 15, Mistral's ARC-Challenge is 76%→66% and HellaSwag 67%→59%, while Qwen's ARC is 89%→90%.
    • After attack, open-ended answers still average several hundred tokens (Table 13). On the same 200 Llama-3-8B Alpaca requests, both concise instructions have reference win rates of 90.5% (181/200), with mean lengths of 344.99 and 314.72 tokens; clean is 454.72, JIL is 448.14, with a win rate of 23.0% (Table 16).

    Scheduling-side defenses

    • The floor and grouping in Table 3 each use their own batch's original-prediction baseline; do not compare directly with Table 9's 1.53×. At 16 slots: floor 80/120 reduces target completion speedup from 1.43× to 1.36× / 1.20×, position gain from 14.24 to 12.96 / 10.88 percentage points, and benign tail from 1.35× to 1.26× / 1.22×. The proportion slowed goes from 37.0% to 27.0% (floor 80) and 59.0% (floor 120). The authors state that a higher floor simultaneously gives a smaller tail slowdown and more delayed benign requests.
    • The grouping baseline target speedup is 1.42×. Interval 32/64/128 gives 1.42× / 1.35× / 1.25×; position gains are 15.68 / 12.96 / 8.80, with baseline 15.25. Interval 32's position gain is higher than that batch's baseline. Benign tail goes 1.43× → 1.38× / 1.21× / 1.13×; the proportion slowed goes 55.3% → 50.7% / 40.3% / 44.0%. The authors state that at 64 slots the target completion speedups across groupings are close; Table 23 gives 1.27×, 1.27×, 1.27×, 1.25×.
    • These rules act on the predictions used by the scheduler. The authors additionally write about probe adversarial training, cross-perturbation consistency checks, and incorporating waiting time or service share into scheduling; these are not measured results.

    Other ablations and analyses

    • Early stopping (Table 17, Llama-3-8B Alpaca, 16 slots): the mean relative decreases at 20/40/60-token thresholds are 28.8%/46.3%/62.2%, reference win rates 10.5%/14.0%/13.5%, and target completion speedups 1.34×/1.50×/1.46×; the full 30 steps give 83.4%, 23.0%, and 1.53×. The authors state that earlier stopping gives lower win rates.
    • Cross-model (Table 2, Table 6, 200 pairs): Llama→Mistral mean/median decrease 58.8%/60.7%, with output 396.33→345.16 tokens; Mistral→Llama is 25.2%/21.4%, with 426.24→377.60. Direct optimization on Mistral gives a mean relative decrease of 74.8%.
    • Next-token term (Tables 18–19, 200 requests): λ=0 and 0.05 both give a mean relative decrease of 85.8%; λ=0.5 and 5 give a mean prediction of 153.21 versus clean 104.64, with a mean per-request decrease of −74.9%. Target completion speedup at 16 slots: λ=0 is 1.53×, λ=0.5 is 0.90×.
    • Prefix (Fig. 5 main text, 141 pairs all reaching 256 tokens): on raw input, the mean clean-minus-attacked prediction difference at positions 0/64/128/256 is 94.98/45.25/29.56/19.92 tokens; in chat format, 89.67/38.67/26.48/18.71. The authors state that the gap shrinks as the prefix grows longer. Of the 200 pairs, 38 reach position 512.
    • After retraining the probe with Llama-3-8B's own generation lengths (Table 8), the mean prediction on 200 attacked requests goes from 415.65 to 47.83, with mean relative decrease 86.3% and median 90.4%; mean generation length goes 426.24→346.01. That probe's test MAE is 48.76 tokens, versus 174.32 for a constant-training median predictor.
    • The clean probe trained on reference lengths is biased short relative to generation lengths under the 512-token cap (Table 7, 200 requests): Alpaca mean bias goes from −350.08 to −309.13, and UltraChat from −347.20 to −277.50. Alpaca Spearman is 0.153–0.477, and UltraChat 0.320–0.718.
  5. What are some points that can be further explored?

    The paper does not have a dedicated limitations section; it only writes manipulating other predictive optimizations as future direction in the introduction.

    Limitations and future directions noted by the authors

    The paper does not specifically discuss limitations. The Conclusion (Sec. 5) summarizes the attack's effectiveness and two scheduling-side mitigations, without listing shortcomings or follow-up experiments item by item. The last paragraph of Sec. 1 calls "whether user-controllable inputs can manipulate prediction-driven optimizations such as allocating inference compute or orchestrating inference branches" future work; that sentence is not in Limitations, the Conclusion, or the appendix.

    Experimental coverage

    • Length prediction is measured on four instruction models, with a separate probe per model; 200 Alpaca, 200 UltraChat, 100 ARC-Challenge, and 100 HellaSwag requests per model (Sec. 4.1).
    • End-to-end scheduling is run on TRAIL/vLLM, serving Llama-3-8B-Instruct on one NVIDIA B200, with five workloads (20 benign plus 5 target requests) and sequence slots of 16 and 64 (Sec. 4.1, App. A.3).
    • Sec. 3.1 treats suffix construction as white-box, with a separate optimization per request; the cross-model experiment is bidirectional between Llama-3-8B and Mistral-7B with 200 request pairs (Sec. 4.6).
    • Scheduling-side defenses are the prediction floor (80, 120 tokens) and prediction grouping (widths 32, 64, 128), evaluated on Llama-3-8B's five paired workloads at two capacities; grouping configurations use three repetitions per cell (Table 3, Table 21, App. A.3).
    • The paper states that some UltraChat and Alpaca evaluations use gpt-5-mini (App. A.2), but does not state the evaluation model for all Llama-3-8B tasks; scheduling intervals come from 95% t-intervals over five workloads.
  6. Summarize the main content of the paper

    JIL uses adversarial suffixes to lower length predictions, increasing its own priority in predictive LLM scheduling.

    JIL is an attack on predictive LLM scheduling: it uses an adversarial suffix to lower the length prediction, so that the request is served earlier in an SRPT-style queue.

    • Problem: Output length is unknown in advance. TRAIL estimates length from the internal representation of the user request and uses it to decide priority. The attacker wants the scheduler to see a short request while the model still generates a longer response.
    • Approach: The construction phase has white-box access to the target model and length probe. GCG searches for a suffix per request, with the loss being the predicted length after appending the suffix. At deployment, only the modified own request is submitted. The case system is TRAIL/vLLM.
    • Prediction: In Table 5, the mean relative decrease across the four models on Alpaca is 72.6% to 83.4%, with Llama-3-8B at 83.4% and median 88.3%. UltraChat is 6.9% to 32.7%, with Qwen2.5-7B's median only 0.6%.
    • Scheduling and utility: End-to-end serving is tested only on Llama-3-8B. At 16 sequence slots, the mean target completion speedup is 1.53× (1.13–1.93), the proportion of slowed benign requests is 43.0%, and the tail slowdown is 1.45×; at 64 slots the mean target speedup is 1.33× and the proportion of slowed benign requests is 6.0% (Table 9). Alpaca reference win rate drops for Llama-3-8B from 84.0% to 23.0% (Table 1). After transferring the Llama suffix to Mistral, the mean prediction decrease at the receiving end is 58.8% (Table 2).
    • Authors' conclusions: The authors state that the prediction decrease is larger than the actual length change, so the estimate and realized size become mismatched; answer quality varies by model and task. The prediction floor and coarse interval grouping reduce the target advantage; at 16 slots, Interval 128 gives a target completion speedup of 1.25×, below that batch's baseline of 1.42× (Table 3). The authors treat the influence of user-controllable inputs on learned predictions as a scheduling fairness issue.
Read originalarxiv.org