- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
This paper targets the limited adaptiveness of existing threshold-based, hand-designed autoscaling policies under dynamic serving workloads. The authors propose a reinforcement learning framework that learns a cost-efficient autoscaling policy for prefill–decode (P/D) disaggregated LLM serving. The framework is designed around the practical considerations of P/D disaggregated autoscaling—not only workload trends but also pod lifecycle and cooldown time. To overcome the prohibitive cost of RL training in a live environment, the authors build a simulator and validate that it faithfully reproduces the real-world setting. Deploying a policy trained in the simulator to a real cluster, they show that it achieves lower latency than hand-designed autoscaling policies while using fewer GPU replicas.
Strengths and weaknesses
Strengths.
The paper is clearly written and well organized. The problem is precisely defined, the rationale for adopting an RL formulation is convincing, and the observation/state design captures the factors that genuinely matter in a P/D disaggregated autoscaling environment. I particularly appreciate the effort to address the high cost of RL training by building a detailed simulator and then validating it against a real-world deployment; the sim-to-real validation substantially strengthens the credibility of the approach. The experiments are thorough and the ablation studies are appropriate and informative.
Weaknesses.
-
Generality across models and hardware. It is unclear how well the proposed simulator and RL policy extend beyond the evaluated configuration. The sim-to-real transfer appears to hold along the workload dimension, but the policy is trained in a simulator instantiated for a specific setup (RTX 4090, Llama-3-8B). An evaluation of how quickly the learned policy adapts to a different model or hardware backend in a real environment—or evidence that retraining the simulator for a new configuration is inexpensive—would clarify how broadly the method applies.
-
Clarity of the reward design. Several quantities in the reward formulation are not defined, including , , , , and . Since the reward is central to the learned behavior, these terms should be defined explicitly so the design is reproducible.
-
Behavioral breakdown of the policy (minor). The paper would be richer with a timeline-style illustration showing how the algorithm adaptively adjusts the number of prefill and decode replicas in response to the request rate while keeping latency within SLO. Such a breakdown would make the policy's behavior more interpretable than aggregate metrics alone.
Questions
- The simulator and policy are instantiated for a specific configuration (RTX 4090, Llama-3-8B). How well does the approach transfer to other models or hardware backends? Specifically, how quickly can a policy trained in the simulator adapt to a different model/hardware setup in a real environment, and how costly is it to re-instantiate or re-calibrate the simulator for a new configuration? Evidence on either point would clarify how broadly the method generalizes.
- How is the observation state scaled across its dimensions? Quantities such as pod counts, average queue length, and batch size differ substantially in their natural magnitudes, and without normalization the policy could overfit to the large-valued dimensions. Was any normalization or scaling applied to keep these dimensions comparable?
- How are the anti-oscillation parameters and determined? Are they tuned manually, set heuristically, or learned?
- How is the per-instance batch size determined? Batch size strongly affects latency—too small increases queueing latency, while too large increases computation time and can raise latency, especially for compute-intensive prefill. Did the authors consider including batch size (or the maximum number of batched tokens) in the actor's action space, so that batching is co-optimized with replica scaling?
My main concern is the adaptability of the approach across different models and hardware (Q1); I would be inclined to raise my score if this concern is adequately addressed.
Limitations
Yes.
Paper formatting concerns
None.
Final justification
The rebuttal addressed my main concern: the added Mixtral-8x7B/A800 experiment shows the RL control structure and reward design transfer to a new model and hardware, with the full adaptation cost quantified (~57 min), and the clarifications on reward terms, observation normalization, and anti-oscillation parameters are satisfactory.
I maintain my score. The paper is well executed and useful to the serving-systems community; my remaining reservation is only that each new model/hardware configuration still requires simulator recalibration and retraining from scratch.
Dear Reviewer VWL7:
Thank you very much for your time and effort in reviewing our work. We are glad to know you find our paper clearly written and well organized, our problem formulation and motivation for using RL convincing, and our state design practical.
We address your concerns as follows.
Thank you for this insightful question. To quantify the transfer performance and adaptation time, we add a real-cluster experiment that transfers RL from Llama-3-8B/RTX 4090 to Mixtral-8x7B/A800. Directly reusing the original Llama/4090 checkpoint does not produce effective scaling behavior. We therefore retained the RL control architecture and reward function, recalibrated the model- and platform-dependent parameters, and trained a new policy from scratch.
(1) New model and hardware configuration. The new experiment uses six NVIDIA A800-80GB GPUs configured as a 2-Prefill/4-Decode service pool. We serve Mixtral-8x7B-Instruct-v0.1-AWQ, with each Prefill or Decode replica using one A800 GPU under TP=1 and PP=1. Adaptation updates only the model- and platform-dependent parameters, including service times, GPU memory, KV-cache capacity, batch-size limits, and replica-lifecycle delays.
(2) Simulator calibration.
We keep the simulator structure unchanged and obtain model size, vLLM memory budget, and KV-cache capacity from startup logs. To fit Prefill service time by input length and Decode latency by concurrent load, we collect 301 requests from three 180-second fixed-2P4D runs at 0.25, 0.5, and 1 RPS, plus 122 ten-second windows from a 1,200-second 2→4→8→2→6 RPS trace. Data collection takes 29.3 minutes, and processing and configuration take 6 minutes. Replaying the 1,200-second trace in the simulator and real 2P4D cluster yields the signed Avg, P90, and P99 errors in Table 9. All six absolute errors are within 10.0%.
Table 9: Same-trace simulator calibration errors for Mixtral-8x7B on NVIDIA A800 under a fixed 2P4D deployment. Error is defined as (Sim−Real)/Real.
(3) Offline policy retraining. We then train a new policy and its observation-normalization statistics from scratch using 32 parallel CPU environments for 160K PPO steps. Training one policy takes 1,295 seconds, or 21.6 minutes. Table 10 summarizes the three measured core stages of the adaptation process.
Table 10: Measured core costs of adapting RL to Mixtral/A800.
(4) Real-cluster comparison. We compare the retrained policy, denoted Pure RL, with APA and KPA on the real cluster. All methods replay the same 2→4→8→2 RPS ShareGPT trace, with each phase lasting 300 seconds. The results are reported in Table 11.
Table 11: Matched-trace real-cluster results for Mixtral-8x7B on NVIDIA A800.
Table 11 shows that APA, KPA, and Pure RL all satisfy the latency SLOs on the matched ShareGPT trace. Pure RL achieves an average occupancy of 3.8115, which is 16.6% lower than APA's 4.5707 and 10.0% lower than KPA's 4.2343. Thus, after Mixtral/A800-specific calibration and offline retraining, RL satisfies the latency targets on the real cluster while using fewer replicas in this matched setting.
Overall, these results support portability at the method level: the RL control structure can be reused, but a new model and hardware configuration require simulator recalibration and a newly trained policy. We will incorporate the implementation details of this experiment and the corresponding discussion into the revised paper.
Thank you very much for pointing out this omission. In the definitions below, all latency statistics are computed over the most recent 30-second reward window.
ΦTTFT is an additional tiered penalty for extreme tail latency. Its value is 3.0 when P99 TTFT exceeds four times the TTFT SLO target; 2.0 when P99 TTFT is greater than two times but no greater than four times the target; 1.0 when P99 TTFT is greater than the target but no greater than two times the target; and 0 otherwise.
ΦTPOT equals 1.0 when P99 TPOT exceeds the TPOT SLO target, and 0 otherwise.
Φsmooth corresponds to wsmoothCsmooth in the paper. Specifically, Csmooth is the sum of two terms: 0.1 times the absolute change in the number of existing Prefill replicas divided by the maximum number of Prefill replicas, and 0.1 times the absolute change in the number of existing Decode replicas divided by the maximum number of Decode replicas. We set wsmooth=1.0. The two terms are weighted equally because changes to Prefill and Decode capacity are treated as equally important. Thus, changing more replicas in one decision produces a larger penalty.
Φflip penalizes direction reversals separately for the Prefill and Decode roles. For each role, a penalty of 0.08 is incurred when the current nonzero replica-count change has the opposite sign from the previous nonzero change.
Φcollapse penalizes prolonged failure to scale out under an SLO violation. If a role has not scaled out for at least 10 decision steps and its corresponding P99 latency exceeds the SLO target, its penalty is 0.5 times the larger of zero and the relative violation, where the relative violation is P99 latency divided by its SLO target minus one. Prefill uses P99 TTFT and the TTFT SLO target, whereas Decode uses P99 TPOT and the TPOT SLO target. The two role-specific penalties are summed to obtain Φcollapse.
We will add these exact definitions and coefficients to the revised paper to make the reward design fully reproducible.
Thank you very much for your constructive suggestion. We agree that a timeline-style illustration provides a more intuitive explanation of the learned strategy than aggregated metrics. We will add this view in the revised version.
Thank you very much for raising this question.
The observations are scaled as follows before being input into the model:
First, we scale features with explicit capacity implications on the environment side. The number of pods for prefilling and decoding is divided by the corresponding maximum replica counts Pmax and Dmax, respectively. Some load and capacity features with natural upper limits are directly expressed as ratios. For example, decode batch utilization equals the average Decode batch size divided by the configured maximum batch size.
Second, we normalize each observation in the observation space using VecNormalize from Stable-Baselines3. This is a standard preprocessing feature provided by this reinforcement learning library for algorithms such as PPO.
Therefore, features such as average queue length, average Decode batch size, RPS, and latency are all normalized using their respective statistics, keeping features of different dimensions comparable.
We will supplement this preprocessing process in the appendix.
Thank you very much for raising this question. These parameters are heuristically set.
Specifically, the controller acts every 10 seconds, while a new pod takes about 90 seconds to become ready, so scale-out spans several decisions. KrevP/D=2/2 blocks opposite actions for 20 seconds after scaling to filter short-term jitter. KholdP/D=4/8 holds Prefill/Decode scale-outs for 40/80 seconds. Decode uses a longer hold because new Decode pods must wait for requests from Prefill pods, so their effect takes longer to observe. These values remain fixed during training and deployment.
Thank you very much for this question. The maximum per-instance batch size was fixed at 64 in all experiments, following the default configuration in one of AIBrix's official GPU deployment templates. At runtime, the batch size is dynamically changing, subject to this upper bound.
We agree that this limit introduces an important latency trade-off. A smaller limit may constrain per-Pod throughput and increase queuing latency under high load, whereas a larger limit may increase batch computation time and delay other requests.
In our current design, this batching trade-off is configured independently of autoscaling. The Actor controls only the number of replicas while both the maximum batch size and the maximum number of batched tokens remain fixed. We will clarify this configuration and scope in the revised paper and discuss their joint optimization as an important direction for future work.