- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
LLM agent workloads consist of multiple parallel inference tasks. When serving these workloads, traditional schedulers struggle to simultaneously achieve high efficiency and fairness (e.g., FCFS schedulers suffer from head-of-line blocking, SJF schedulers suffer from starvation of whale jobs, and the VTC scheduler optimizes for fairness but results in poor JCT). To achieve both of these goals, the paper proposes Justitia, a system that leverages so-called "selective agent pampering" and optimizes for long-term fairness rather than instantaneous fairness to reduce JCT while maintaining fairness. Doing so requires: (1) predicting decoding/output length, which Justitia addresses using an MLP for per-agent-type prediction; (2) quantifying the serving cost of a request or LLM agent, which Justitia does through memory-centric cost modeling; and (3) ensuring fairness and low overhead in queuing and job scheduling, which Justitia achieves by leveraging the notion of virtual time. Experiments show that, compared to existing serving systems, Justitia is able to reduce JCT while keeping most jobs nearly as fair as baselines optimized for fairness.
Strengths and weaknesses
Strengths:
- The paper is well written and easy to read.
- The overall design makes sense, and targets a very practical use case.
- The system is compared against (and shown to outperform) multiple strong and relevant baselines, demonstrating its effectiveness.
Weaknesses:
- While the design is sound, I'm a little unsure about its novelty. The paper's central theme of trading instantaneous fairness for improved job completion times appears related to prior work in cluster scheduling and MapReduce systems such as Quincy[1] and other completion-time-aware schedulers. It would be helpful for the authors to more clearly position Justitia relative to this line of work and clarify what aspects are fundamentally new beyond the LLM-agent setting and memory-centric cost model.
- The proposed memory-centric cost modeling doesn't fully make sense to me. I understand how pd + d^2/2 is calculated, but why does it make sense to use d as the time dimension? Isn't time the number of iterations / decode steps needed? Also, I understand that Justitia chooses to use memory-centric formulation as opposed to computation-centric formulation like VTC because "inference throughput is bounded commonly on the GPU memory". But would it make more sense / help to have a (hybrid) metric that incorporates both memory and computation? Does it help to account for the heterogeneity between prefill and decode steps?
[1] Michael Isard, Vijayan Prabhakaran, Jon Currey, Udi Wieder, Kunal Talwar, and Andrew Goldberg. 2009. Quincy: fair scheduling for distributed computing clusters. In Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles (SOSP '09). Association for Computing Machinery, New York, NY, USA, 261–276. https://doi.org/10.1145/1629575.1629601
Questions
I have a few questions along with suggestions:
Clarification questions:
- Why does giving a task more GPU blocks reduces JCT? Is it because we avoid expensive GPU-CPU swapping?
- In Figure 3a and 3b, why is there multiple clear drops in GPU block usage? For example for DM-1 in 3b, there are 3 such drops.
- What is the difference between Justitia and SRJF? From the description in 4.1, it seems like SRJF is very similar to Justitia, and even outperforms Justitia in some scenarios as shown in Figure 7.
- Is Justitia sensitive to non-homogeneous parallel tasks, where some tasks might be significantly more expensive than others? It would be interesting to see experiments on this.
Suggestions:
- Table 1 shows that MLP is better than DistillBERT, and the vLLM-SJF basline uses Distillbert for predicting inference durations. Is it possible to include "vLLM-SJF-MLP" to see how that compares with Justitia as a form of ablation study?
- I think it would be interesting to include a hypothetical "Oracle" baseline in 4.4, and see how far away we are from the optimal case.For example, if we replace the MLP with an Oracle predictor that has access to the ground-truth number of iteration steps, how would Justitia perform? If we see that Justitia with MLP is able to achieve similar to Justitia with Oracle, I think it would reinforce that MLP is a good design choice.
- There seems to be limited quantiative discussion about the scalability. While Figure 12 shows how the scheduling overhead grows with arrival rate, it doesn't really say how this translates to increase in end-to-end job serving performance (i.e. JCT) and thus its scalability.
- One of the main claim is that existing systems using FCFS suffers from head-of-line-blocking, and Justitia doesn't. While experiments show that Justitia outperforms existing systems, I wonder if there are more evidence that it solves head-of-line blocking, perhaps CDF of queueing time instead of just end-to-end JCT?
- In 4.1, I think the explanation of the finish-time fair ratio could be improved. It was not immediately clear to me why a larger ratio corresponds to better fairness. Explicitly defining the metric with its formula would likely make the interpretation much easier to understand.
Limitations
Yes
Paper formatting concerns
N/A
Final justification
Overall, I think Justitia is a fairly complete work that addresses a timely problem. I understand and agree with the other reviewers’ concerns about the evaluation, but I also acknowledge the lack of real-world agentic traces that could be used for this purpose. Given this limitation, I think the authors have constructed a reasonably realistic evaluation scenario. Overall, I lean toward acceptance, but I would not be opposed to rejection based on the concerns around evaluation and novelty.
Thanks for the reviewer’s insightful comments. We appreciate the reviewer’s recognition that the problem is practical, the design is technically sound, and the evaluation demonstrates the effectiveness of Justitia. We address the concerns below.
[W1] Novelty compared with Quincy and prior completion-time-aware schedulers.
Thanks for raising this important point. We agree that the general motivation of trading instantaneous fairness for improved completion time has appeared in prior cluster scheduling systems. However, Justitia addresses a fundamentally different workload and scheduling problem.
First, Quincy primarily focuses on the task-resource mapping problem in distributed computing clusters. Its core objective is to optimize the assignment relationship between tasks and resources, which is formulated as a max-flow problem. In contrast, Justitia focuses on the scheduling priority and admission ordering among competing LLM-agent inference requests.
Second, LLM-agent workloads introduce several unique challenges that do not directly exist in traditional cluster workloads:
Therefore, directly applying prior completion-time-aware scheduling techniques to LLM-agent serving is non-trivial. Justitia introduces new designs tailored for these characteristics, including KV token-time cost modeling, agent-specific cost prediction, and selective pampering based on fair completion order.
To the best of our knowledge, Justitia is the first work that aims to simultaneously achieve high efficiency and fairness for task-parallel LLM-agent serving.
[W2] Why does KV token-time use decoding iterations as the time dimension? Would a hybrid compute-memory metric be better?
Thanks for this insightful question. We clarify the interpretation of our formulation.
In our cost model, d represents the number of decoding iterations rather than wall-clock time. During decoding, KV-cache occupation increases monotonically as more tokens are generated. Therefore, accumulating KV-cache occupation over decoding iterations approximates the duration for which GPU memory is occupied by an inference request.
The reason we use decoding iterations instead of actual execution time is that the latter is highly dependent on dynamic batching and system states. For an individual request, iteration latency may vary significantly. However, in a continuously running serving system, the average iteration time of a batch becomes more stable, while KV-cache occupation still increases with decoding progress.
Therefore, using decoding iterations as the temporal dimension provides a practical approximation without requiring a complicated low-level performance model. This simplification is also consistent with prior scheduling work such as VTC.
A hybrid compute-memory metric is possible, but it requires jointly modeling GPU computation, dynamic batching behavior, and KV-cache admission constraints, which introduces substantial complexity and reduces portability.
[Q1] Why does giving a task more GPU blocks reduce JCT?
The benefit comes from enabling higher serving concurrency.
When more GPU memory blocks are available, the system can admit more inference requests into the running set instead of delaying them due to KV-cache capacity constraints. This increases effective batching opportunities and reduces queueing delay, thereby improving end-to-end agent completion time.
[Q2] Why are there multiple drops in GPU block usage in Figure 3?
The drops correspond to the execution characteristics of task-parallel agents.
An agent consists of multiple stages with different parallelism and resource requirements. When one parallel stage completes, its associated requests release KV-cache blocks, resulting in sudden decreases in GPU block usage. These fluctuations reflect the dynamic workflow structure of LLM agents rather than scheduling instability.
[Q3] What is the difference between Justitia and SRJF?
Thanks for pointing out this comparison. Justitia and SRJF optimize different objectives.
SRJF is designed to minimize completion time by prioritizing short remaining jobs. Therefore, it can achieve strong JCT performance in some scenarios. However, it does not provide long-term fairness guarantees and may cause starvation of large jobs.
In contrast, Justitia explicitly targets the tradeoff between efficiency and fairness. It uses VTC-inspired virtual time to approximate fair completion order and selectively prioritizes agents according to this order. As a result, Justitia achieves competitive efficiency while maintaining fairness guarantees.
Therefore, Justitia is not intended to outperform SRJF solely in JCT, but rather to provide a better balance between efficiency and fairness.
[Q4] Is Justitia sensitive to non-homogeneous parallel tasks? Thanks for raising this point. Task-parallel LLM agents naturally contain heterogeneous parallel tasks. To quantify this heterogeneity, we analyze the cost variation among parallel requests within each agent instance.
We compute the coefficient of variation (CV) of the KV token-time cost among requests belonging to the same agent instance. The results show substantial intra-agent heterogeneity:
Across all valid agent instances, the overall intra-agent CV is 0.830, demonstrating that parallel tasks within the same agent can have significantly different resource demands.
Justitia is designed to handle such heterogeneity by estimating the aggregate serving cost at the agent level rather than assuming that all constituent requests have identical costs. Individual inference requests remain the execution primitives, while their costs jointly determine the agent-level priority and fair completion order.
Therefore, heterogeneous parallel tasks do not invalidate our scheduling design; instead, they motivate the need for agent-level cost modeling.
[S1] Include vLLM-SJF-MLP as an additional baseline.
Thanks for the suggestion. We clarify that the MLP predictor is orthogonal to the scheduling policy itself. Our motivation for using MLP is to provide more accurate cost estimation for Justitia's agent-level scheduling decisions.
The main goal of our comparison with vLLM-SJF is to compare different scheduling objectives: SRJF/SJF prioritizes short jobs for efficiency, while Justitia optimizes the tradeoff between efficiency and long-term fairness.
Moreover, our evaluation already demonstrates the effectiveness of the MLP-based cost prediction: even with large prediction errors (up to 3× ground truth), Justitia still achieves near-optimal scheduling performance.
[S2] Oracle predictor comparison.
Thanks for the suggestion. Our existing prediction robustness experiment already provides an approximation to this Oracle comparison.
In Fig. 10, the 1× prediction error case corresponds to using ground-truth cost information. The results show that Justitia with predicted cost achieves performance close to the ground-truth case, demonstrating that the MLP predictor is sufficiently accurate for scheduling decisions.
[S3] Scalability discussion.
Thanks for raising this point. We clarify that the end-to-end impact of different arrival rates has already been evaluated in Fig. 7.
Specifically, we evaluate three arrival rates (15, 30, and 50 tasks/min). As the arrival rate increases, the scheduling pressure becomes higher, but Justitia consistently maintains its advantage over other schedulers in terms of JCT.
Meanwhile, the scheduling overhead shown in Fig. 12 remains at the millisecond level, while end-to-end agent completion time is at the scale of tens to hundreds of seconds. Moreover, scheduling overhead overlaps with inference execution in the serving pipeline. Therefore, the overhead increase under higher arrival rates has negligible impact on end-to-end JCT.
We will add this discussion to the revised paper.
[S4] Additional evidence for reducing head-of-line blocking.
Thanks for the suggestion. Justitia mitigates head-of-line blocking by avoiding FCFS ordering among heterogeneous agents.
Unlike FCFS-based schedulers, Justitia prioritizes agents according to their fair completion order and estimated serving cost. Therefore, a long-running agent arriving earlier cannot indefinitely block shorter agents behind it.
This behavior is reflected in our end-to-end JCT results: Justitia consistently achieves lower average and tail completion time than FCFS-based serving approaches, especially under heterogeneous workloads where head-of-line blocking becomes more severe.
We will further clarify this intuition in the revised manuscript.
[S5] Clarification of finish-time fair ratio.
Thanks for pointing out this issue. Similar to the response above, there was a definition typo in the manuscript.
The numerator and denominator were reversed. The corrected finish-time fair ratio is the completion time under a fair scheduler normalized by the actual completion time under Justitia. Therefore, a larger ratio indicates that an agent finishes earlier than under instantaneous fair sharing, corresponding to better fairness.
We will correct this definition in the revised manuscript.