potentialpaper

SAIR: Cost-Efficient Multi-Stage ML Pipeline Autoscaling via In-Context Reinforcement Learning

Jianchang Su, Yifan Zhang, Shengkai Lin, Shizhen Zhao, YUSHENG ZHENG, Yiwei Yang, Wei Zhang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Multi-stage ML inference pipelines are difficult to autoscale because of heterogeneous resources, cross-stage coupling, and dynamic bottleneck migration. Production controllers ignore cross-stage effects, and learning-based autoscalers require offline training data that is unavailable for new pipelines. We present SAIR, an autoscaler for the zero-shot deployment setting that uses an LLM as an in-context reinforcement learning controller, improving its policy online from reward-labeled experience tuples stored in-context. SAIR combines Pareto-dominance reward shaping with a provable separation margin between dominated and non-dominated actions, Bayesian-surprise experience retrieval, and a user-space CUDA interception layer that delivers continuous GPU rate control with sub-millisecond actuation overhead. We prove a regret bound that decomposes into retrieval coverage and LLM selection components, each mapping to a concrete SAIR mechanism. On four ML serving pipelines under three workload patterns, SAIR achieves the best or tied-best P99 latency in every configuration (up to 50% reduction over the next baseline); billable cost is reduced through replica consolidation, and effective cost (which captures GPU rate-control savings under co-location or MIG) by up to 97% under GPU sharing (best case; representative 30-60% over the next-best baseline), validated by co-location measurements on the physical testbed. SAIR matches the steady-state performance of a warm-started controller within 2-3 decision intervals and achieves 86% bottleneck detection accuracy, all from online experience alone.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
2 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The authors propose an RL-based approach to autoscaling multistage inference systems, where an LLM is trained by providing state-action tuples in its context. In particular, the system combines Pareto dominance, BO-based retrieval of past experience, and a runtime interception layer used to control GPU utilisation.

All three reviewers agree the problem - autoscaling under bottleneck migration and cross-stage coupling - is real and well-motivated, and credit the system design and the breadth of the evaluation.

However, reviewers CaiF and tGut raise numerous concerns that prevent them from accepting the paper. The shared criticism concerns lack of comparison to warm starts and a related weak motivation pertaining why cold starts might be necessary. They also agree in that experiments using 2 GPUs only are not very convincing, in particular in the context of the claimed 97% cost reduction (reviewer CaiF). Reviewer tGUt further enumerates a number of clarity-related issues. CaiF also complains that the effect of in-context RL has not been isolated properly, casting doubt on the importance of the central design choice of the proposed method.

My recommendations for the authors is to address the shortcomings mentioned above as well as possible. With sufficient additional evidence and minor tweaks, I can see the paper being accepted.

Final justification

The final recommendations are mixed, albite visibly leaning towards acceptance. In particular, reviewer tGUt (who is the remaining rejection-leaning voice) acknowledged the rebuttal from the authors and did not voice any particular additional concerns during the discussion phase. Considering the remaining reviewers are in favour of acceptance with no fundamental reservations about any particular part of the submitted work, I do not see sufficient grounds for rejection.

Area Chair XeUw · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The authors propose an RL-based approach to autoscaling multistage inference systems, where an LLM is trained by providing state-action tuples in its context. In particular, the system combines Pareto dominance, BO-based retrieval of past experience, and a runtime interception layer used to control GPU utilisation.

All three reviewers agree the problem - autoscaling under bottleneck migration and cross-stage coupling - is real and well-motivated, and credit the system design and the breadth of the evaluation.

However, reviewers CaiF and tGut raise numerous concerns that prevent them from accepting the paper. The shared criticism concerns lack of comparison to warm starts and a related weak motivation pertaining why cold starts might be necessary. They also agree in that experiments using 2 GPUs only are not very convincing, in particular in the context of the claimed 97% cost reduction (reviewer CaiF). Reviewer tGUt further enumerates a number of clarity-related issues. CaiF also complains that the effect of in-context RL has not been isolated properly, casting doubt on the importance of the central design choice of the proposed method.

My recommendations for the authors is to address the shortcomings mentioned above as well as possible. With sufficient additional evidence and minor tweaks, I can see the paper being accepted.

Final justification

The final recommendations are mixed, albite visibly leaning towards acceptance. In particular, reviewer tGUt (who is the remaining rejection-leaning voice) acknowledged the rebuttal from the authors and did not voice any particular additional concerns during the discussion phase. Considering the remaining reviewers are in favour of acceptance with no fundamental reservations about any particular part of the submitted work, I do not see sufficient grounds for rejection.

1 comment
Authors · CommentOpenReview ↗

Summary of Rebuttals

We thank the AC for the clear guidance on what additional evidence would be decisive. This note maps our response to those four points. All new results were measured on live hardware on the paper's testbed during the response period; full numbers and disclosures are in the per-reviewer replies.

1. Warm-start comparison (CaiF W1/Q1). Two new experiments. (a) SAIR-warm vs. SAIR-cold, 3 interleaved pairs: full-run P99 differs by 2.8% on average (136.4 vs. 132.7 ms) with no consistent direction across pairs, and every cold run reached sustained parity with the warm arm's steady state within 46.6–58.9 s, i.e., by the third or fourth decision. (b) The comparison CaiF asked for directly: we implemented FIRM's DDPG and AWARE's PPO faithfully, trained each offline to convergence under queueing-model dynamics, and evaluated the frozen policies on the live cluster. They transfer as conservative near-no-op controllers (the DDPG policy never scaled; the PPO policy's burst-tail P99 reached 2.8× the SLA). Both sides of the zero-shot boundary are now quantified.

2. The 2-GPU scale and the 97% figure (CaiF W2/Q2). Three levels, all measured. Co-location with a real co-tenant on one physical GPU: the co-tenant ran at 97.5–98.9% of its standalone throughput at every rate setting with the primary's P99 within 2.2 ms of standalone; in the saturation regime the primary's throughput tracked its nominal share near-proportionally (1.00/0.78/0.59/0.38/0.14); interception overhead 0.6%. System scale: we grew the controlled system to a two-node, 4-GPU deployment; a 240 rps load that saturates the original single-GPU scale (P99 27.0 s) is served at P99 120 ms with 2 cross-node replicas and 107 ms with 4, and SAIR controlled the 4-GPU deployment with policy logic, action schema, and prompts unchanged, sustaining the full offered load in all three runs. Control-plane concurrency: N = 2/8/16 controller instances, per-decision latency flat in N (N=16: mean 0.64 s across 416 decisions). The co-location result replicated on the second machine. We will attach the GPU-sharing condition wherever the 97% figure appears (best case; representative 30–60%).

3. tGUt's clarity concerns. The reply specifies the exact fix for every listed item: the undefined quantities with their ranges, the formal definition of the information-gain term, hyperlinked equation references, the Lipschitz constant renamed, prose introductions for Appendices E–H, and citations for assumptions and baselines. It also answers the Theorem 5.1 question head-on: it is a regret decomposition, not a no-regret guarantee; we state the exact conditions for sublinear total regret and the practical value the decomposition retains. We note respectfully that the weaknesses tGUt identifies are exposition and scoping items with specified, mechanical fixes, and that no technical flaw is identified; the two new experiments also speak directly to their zero-shot and hardware concerns.

4. Isolating the ICRL contribution (CaiF W4, Lrfe Q2). The isolation exists in Table 2: the No-ICL row keeps the same LLM, reward, and validator and removes only the in-context experience (+16.8% P99); Store-All (+12.1%) isolates the positive-only memory; a previously unpublished weighted-sum row from the same 3-seed ablation (+8.2%) isolates the Pareto reward structure. We will promote these to a named paragraph and add the new row to Table 2. We are also candid in the Lrfe reply about what Table 2 does not isolate (LLM reasoning vs. nearest-neighbor replay) and will add that ablation in the revision.

Discussion status. We believe the remaining disagreement concerns scope and presentation rather than soundness, and the discussion has narrowed it further. Reviewer Lrfe (rating 5) supports acceptance; we answered their three questions in the form they requested. Reviewer tGUt raised their rating from 2 to 3 after our response and follow-up; we sincerely appreciate the reconsideration and remain available for any remaining question. Reviewer CaiF (rating 3) commented that our rebuttal "addresses my main concerns with substantial new experiments" and "I will raise my score by one point"; the score field has not been updated yet, and we kindly ask that this written assessment be taken into account in the final decision, whether or not the field changes. Every new experiment reports per-run values from interleaved repeats. We thank the AC and the reviewers for the constructive process.

Reviewer LrfeOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes SAIR, an in-context RL framework that uses an LLM as the scaling policy for multi-stage ML inference pipelines. At each decision step, SAIR either explores or selects a scaling action based on retrieved past experiences, labeled with Pareto-shaped rewards, along with current pipeline metrics. The paper provides regret bounds decomposed into retrieval coverage and LLM selection error. Experiments show SAIR achieves the best or tied-best P99 latency and resource cost across all baselines on four pipelines under three workload patterns, with no offline training required.

Strengths and weaknesses

Strengths

SAIR addresses a real and practical problem. Autoscaling multi-stage ML inference pipelines is genuinely hard due to dynamic bottleneck migration and cross-stage coupling, and existing approaches either require extensive offline training or lack cross-stage reasoning. The paper evaluates on four diverse real-world serving pipelines under three workload patterns, which gives confidence that the results generalize. The theoretical contribution is also solid: the regret bound decomposition into retrieval coverage and LLM selection error is principled, and the Pareto reward separation proof provides a formal basis for the exploration-exploitation balance.

Weaknesses

The 97% effective cost reduction claimed in the abstract is not clearly discussed in the main paper. Additionally, the paper does not ablate the contribution of the LLM's reasoning ability versus simply having a good experience retrieval mechanism. It is unclear how much performance comes from the LLM policy itself versus a simpler baseline such as nearest-neighbor action retrieval.

Questions
  1. Line 202: The paper uses positive-only memory and provides a rationale for discarding negative experiences. However, it is not fully convincing. Negative examples could help the LLM avoid known bad actions and potentially reduce exploration failure rate. Could the authors provide an ablation comparing positive-only vs. full experience memory to empirically support this design choice?
  2. How much of SAIR's performance comes from the LLM's reasoning ability versus the experience retrieval mechanism? If the LLM were replaced with a simpler baseline like selecting the action from the most similar past experience (nearest-neighbor), would performance degrade significantly? An ablation on this would clarify the actual contribution of the LLM as a policy.
  3. The abstract claims up to 97% effective cost reduction. Could the authors clarify under what specific conditions this holds and how representative those conditions are in a typical production deployment?

New experiments are not required. For Q1 and Q2, a discussion or pointer to existing results would be sufficient. Q3 only requires clarification.

Limitations

yes

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the supportive assessment and for three constructive questions about core design decisions. Following the reviewer's guidance that new experiments are not required, we answer Q1 and Q2 with discussion and pointers to existing results, and Q3 with the requested clarification (plus one short measurement that validates its premise).

Q1: Positive-only vs. full experience memory

This ablation is in the paper: the Store-All row of Table 2 keeps every episode (including the ~30% with negative reward) and degrades to +12.1% P99 and −1.2% throughput vs. Full SAIR. Our reading of why: (i) negative episodes consume the fixed context budget that would otherwise hold informative successes; (ii) a failed action's cause is often not attributable from the tuple alone (e.g., a scale-up that "failed" because the burst had already passed), so the LLM draws spurious lessons; (iii) curriculum ordering by reward becomes less informative when the low end is failure noise. We agree the alternative hypothesis (negative examples as fences around bad actions) is plausible a priori; empirically the context-budget cost dominates. We will expand the Positive-Only paragraph to state this trade-off and point to the ablation explicitly.

Q2: LLM reasoning vs. experience retrieval

We answer with the evidence that separates the two:

  • Retrieval removed, LLM kept (the No-ICL row): same LLM, same reward, no retrieved experiences -> +16.8% P99 and roughly 40% higher per-interval throughput variance in the second half of the run. The retrieved experience does real work beyond what the LLM infers from current metrics alone.
  • The limit of this evidence: Table 2 isolates experience-conditioned LLM control from current-state-only LLM control; it does not isolate LLM reasoning from deterministic nearest-neighbor replay. We narrow the claim accordingly and will add a nearest-neighbor replay ablation to the revision.
  • What the LLM adds beyond retrieval, structurally: (i) it acts in the zero-shot opening when the buffer is empty; a pure retrieval policy is undefined there; (ii) it can propose multi-stage actions beyond verbatim replay of retrieved episodes, constrained by the validator to the global action space (we will clarify in the revision that A(Et)\mathcal{A}(\mathcal{E}_t) in Assumption 3.4 denotes the feasible grid, with retrieval shaping selection rather than restricting support); (iii) it honors the constraint prompt (budget, cooldowns) rather than relying solely on the validator's clamping. The retrieval-and-memory system around the LLM (validator, probe schedule, Pareto-labeled positive-only buffer) is itself a substantial part of the contribution; the components carry weight jointly.
  • Robustness evidence that the policy is not backend memorization: swapping backends (GPT-5.1-mini, Claude Haiku and local Qwen) leaves P99 within 5% (Sec. 6.1); the backend only affects ηt\eta_t in Theorem 5.1.

Q3: Conditions behind the 97% effective-cost figure

The exact conditions: Text Generation under Ramp, $0.263 → $0.007 per 1K requests vs. the Threshold baseline (Table 5), a best case against a specific baseline where Threshold over-provisions badly. It is an effective-cost figure: it monetizes GPU capacity freed by rate control, which requires that freed capacity be consumable. The representative summary is Section 6.2's: 30–60% lower effective cost than the next-best baseline per configuration; in single-tenant deployments only the replica-consolidation savings remain (as stated in Sec. 6.1 and Sec. 7). We will restate the abstract's figure with its condition attached ("under GPU sharing, up to 97% vs. threshold baselines").

Beyond the requested clarification, one response-period measurement validates the consumability premise directly, with a real co-located workload on the same physical GPU: at moderate primary load, the co-tenant achieved 97.5–98.9% of its standalone throughput at every ρ\rho while the primary's P99 was unchanged (67.7–69.5 ms shared vs. 67.3–67.9 ms alone); with the token bucket calibrated to the app's demand and both tenants at max drive, the primary's throughput tracked ρ\rho near-proportionally (measured shares 1.00/0.78/0.59/0.38/0.14) with the co-tenant fully insulated. Measured interception overhead: 0.6%, within noise.

We are grateful for the reviewer's support and will fold all three clarifications into the revision.

Reviewer tGUtOpenReview ↗
Rating
3/6
Confidence
3/5
Quality
2/4
Clarity
2/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces SAIR, a system for autoscaling multistage ML inference pipelines, where requests flow through CPU preprocessing, GPU inference, and CPU postprocessing, by employing an LLM as an in-context reinforcement learning controller. Rather than encoding the policy in model weights, SAIR places past (context, action, reward) tuples directly in the prompt, allowing the controller to be deployed "zero shot" without any offline training phase. The approach rests on three components: (1) a Pareto dominance reward shaping scheme with a fixed frontier separation margin, (2) a Bayesian surprise criterion for retrieving relevant past experiences, and (3) a CUDA interception layer based on LD_PRELOAD that performs token bucket kernel throttling to achieve fine-grained, continuous control over GPU utilization. The authors derive a regret bound that decomposes into a retrieval coverage term and an LLM selection term, and evaluate the system across four pipelines and three workloads on a testbed with two GPUs.

Strengths and weaknesses

Strengths:

  • The empirical results are strong, particularly with respect to P99 latency and normalized effective cost.
  • The proposed method comes with theoretical guarantees, albeit under a specific set of assumptions.

Weakness:

  • The exposition of the theoretical analysis would benefit from greater precision and clarity. Specific instances:
    • In lines 156 to 158, the quantities wLw_L, wCw_C, LbeforeL_\text{before}, LafterL_\text{after}, and LbaselineL_\text{baseline} are used before being defined or cross referenced. Their ranges are also left unspecified. For example, are they restricted to (0,1)(0,1), or do they take values in (0,L)(0, L)?
    • The information gain quantity II is never formally defined. If a standard formulation is intended, the relevant references are missing.
    • In Algorithm 1, the equation references are not hyperlinked, which hampers readability.
    • Lemma 5.3 invokes Lipschitz continuity with constant LL without providing or pointing to a definition.
    • Appendices E, F, G, and H are difficult to follow in their current form.
  • The zero shot framing may be somewhat optimistic: in realistic deployments, the environment is rarely cold started and historical traces are typically available, which weakens the practical motivation for a controller that uses no traces at all.
  • The hardware setup is limited in both scale and recency, with only two GPUs and not of a current generation. The paper would be considerably stronger with additional discussion of, and comparison against, contemporary LLM serving frameworks, for instance those employing prefill and decode (P/D) disaggregation.

Comments:

  • In lines 121 to 138, each stated assumption should be accompanied by a citation indicating whether it is standard in the RL literature or specific to this problem setting.
  • Several citations would read better with \citep{} (or manually added parentheses). See, for example, lines 141 to 142 and line 151.
  • In the LaTeX source, descriptive subscripts should use _\text{latency} rather than _{latency} for correct typesetting.
  • In lines 280 to 285, the baselines are named without any accompanying citations.
Questions
  • Regarding Theorem 5.1: if δLLMRmax\delta_\text{LLM} R_\text{max} is treated as a constant, the regret bound grows linearly in TT. Under that condition, what practical value does the bound provide?
  • Can the proposed framework be extended/comparable to P/D disaggregated serving?
  • Since the controller relies on the in-context learning ability of an LLM, what are the additional latency and memory overheads it incurs? Once these costs are accounted for end-to-end, does the controller still deliver a net performance improvement?
Limitations

Yes.

Final justification

I thank the authors for the response and for the additional 4 GPU results. I have raised my score accordingly. Any further change will depend on the reviewers' discussion.

Formatting concerns

No.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed reading, particularly of the theory exposition. We group the response into (A) presentation fixes we will make; (B) the zero-shot framing, now measured; (C) hardware and P/D disaggregation; and (D–E) the two technical questions.

A. Notation, definitions, and typesetting: what we will fix

  1. Quantities used before definition (lines 156–158). Answering the range question directly: wL,wCw_L, w_C are fixed scalar weights in (0,1)(0,1) (0.7/0.3, hyperparameter table); Lbefore,LafterL_{\text{before}}, L_{\text{after}} are P99 latencies measured over the settling windows before/after actuation, in ms, ∈R>0\in \mathbb{R}_{>0}, not restricted to [0,1][0,1]; LbaselineL_{\text{baseline}} is a fixed per-pipeline normalizer (in ms). Boundedness enters through the ratio (Lbefore−Lafter)/Lbaseline(L_{\text{before}} - L_{\text{after}})/L_{\text{baseline}} and reward clipping (Assumption 3.1, Algorithm 2). We will define all five at first use with cross-references (likewise Cbefore,Cafter,CbudgetC_{\text{before}}, C_{\text{after}}, C_{\text{budget}}), add a notation table to Section 3, and give ranges for ξt,ηt∈[0,2Rmax⁡]\xi_t, \eta_t \in [0, 2R_{\max}], δLLM∈[0,1]\delta_{LLM} \in [0,1], ϵt∈[ϵmin⁡,ϵ0]⊂(0,1)\epsilon_t \in [\epsilon_{\min}, \epsilon_0] \subset (0,1).
  2. Information gain I(E;π∗∣x)I(\mathcal{E}; \pi^\ast \mid x) never formally defined. Correct. It is the conditional mutual information between the retrieved set and the optimal policy given the current context (Cover & Thomas, 2006); Eq. 6 is the intractable motivating objective, Eq. 7 the implemented proxy (Lemma B.1). We will state the definition, reference, and labeling explicitly.
  3. Algorithm 1 equation references not hyperlinked. The references are hardcoded text rather than \eqref, which also let one go stale (the reward step cites "Eq. 5" instead of Eqs. (2)–(5)). We will convert both to hyperlinked \eqref.
  4. Lipschitz constant in Lemma 5.3 undefined. We will define ℓ\ell-Lipschitzness of x↦E[R(x,a)]x \mapsto \mathbb{E}[R(x,a)] in the z-score-normalized context space (the retrieval space, so distances and the constant are commensurable) and rename the constant to ℓ\ell, removing the collision with latency LL.
  5. Appendices E–H hard to follow. We will open each with a prose paragraph stating purpose and connection to the main text, and annotate the reward pseudocode against Eqs. (2)–(5).
  6. Comments: we will add citations for every assumption (bounded reward: standard, Lattimore & Szepesvári 2020; bottleneck identifiability: specific to our setting, justified by the tandem-queue lemma in App. A), fix \citep at lines 141–142 and 151, use _\text{} subscripts throughout, and add baseline citations at lines 280–285.

B. "The zero-shot framing may be optimistic": now measured

  1. New pipelines have no representative traces by definition, traces do not transfer across stage compositions (distribution-shift failures are documented in FIRM and AWARE), and traces go stale under model updates.
  2. SAIR strictly generalizes to the trace-rich setting. Because the policy state is the experience buffer, historical traces are consumed by pre-seeding. New experiment (3 interleaved pairs): SAIR-warm vs. SAIR-cold: full-run P99 differs by 2.8% on average (136.4 vs. 132.7 ms) with no consistent direction across pairs, and every cold run reached sustained parity with the warm arm's steady state within 46.6–58.9 s (by the third or fourth decision at the protocol's 15 s cadence). Zero-shot is the worst case SAIR tolerates, not its only mode; when traces exist, SAIR uses them, and across these pairs cold start showed no persistent disadvantage beyond the opening decisions.
  3. The claim we defend is not "traces never exist" but "a controller that requires them cannot cover the long tail of new and changing services". We additionally implemented FIRM's DDPG and AWARE's PPO faithfully (Qiu et al., 2020, 2023), trained each to convergence under queueing-model dynamics, and evaluated the frozen policies on the live testbed (120 s × 3 repeats × {Poisson, Burst}): they transfer as conservative near-no-op policies with burst tails up to 2.8× SLA.

C. Hardware scale/recency and P/D disaggregation

P/D disaggregation is complementary and maps onto our formulation as a producer-consumer pipeline. At the scheduling layer, DistServe/Splitwise-style systems place the prefill and decode phases of a single LLM workload across GPU pools, below the capacity-allocation layer SAIR occupies; the two compose. The question points to a direct extension: a P/D deployment is a two-stage producer-consumer pipeline in the sense of Sec. 3: the prefill pool produces KV caches that the decode pool consumes through a handoff queue, and the bottleneck migrates between prefill-bound and decode-bound as the prompt/output-length mix shifts, which is the phenomenon SAIR targets. A coarse-grained mapping is natural: stages = {prefill pool, decode pool}; the pending-prompt and KV-handoff queues as the qiq_i; per-stage actions instance count (Δn\Delta n) and continuous rate (Δρ\Delta\rho), with the token bucket expected to apply per pool (it intercepts each pool's kernel launches), plausibly enabling producer-side backpressure (throttling prefill to decode's drain rate to curb KV-queue growth). The context would gain the two phase-level SLOs (TTFT, TPOT), which the Pareto reward accommodates as a (TTFT, TPOT, cost) frontier. Validating this requires extending the state with KV-handoff, network, and memory signals, accounting for batching interactions between pools, and testing whether bottleneck identifiability (Assumption 3.2) continues to hold. We will add this as a clearly prospective discussion in Section 7 (citing DistServe, Splitwise).

On generation and scale: the control problem (queueing, bottleneck migration, cross-stage coupling) is hardware-agnostic, and the interception layer uses only the stable CUDA driver API; nothing in the method exploits Ampere-specific behavior, though we have not yet benchmarked on newer generations. On scale, beyond the independence argument (each PipelineAutoscaler shares no state), two measurements from the response period: we ran two pipelines with concurrent independent controllers on the two GPUs throughout, and a control-plane concurrency test (N = 2/8/16 controller instances, real decisions on live metrics; observers do not actuate, so this measures decision-plane concurrency, not concurrent actuation) showed per-decision latency flat in N (N=16: mean 0.64 s, p95 0.71 s across 416 decisions) with cost linear in N. We further grew the controlled system itself to a two-node, 4-GPU deployment: the pipeline's GPU stage scaled to 4 replicas placed 2+2 across machines behind one Service. A 240 rps load that saturates the original single-GPU scale (P99 27.0 s) is served at P99 120 ms (2 cross-node replicas) and 107 ms (4), and SAIR controlled the 4-GPU system with policy logic, action schema, and prompts unchanged, sustaining the full offered load in all three runs. The co-location measurement was also reproduced on the second machine (identical recalibrated proportionality curve). Cluster-level scheduling remains explicitly out of scope (Sec. 3).

D. Q1: practical value of the bound with δLLMRmax⁡\delta_{\text{LLM}} R_{\max} treated as a constant

We agree, and we will state this and the sublinearity conditions explicitly in the revision: Theorem 5.1 is a regret decomposition, not a no-regret guarantee. With δLLM\delta_{\text{LLM}} constant, the δLLMRmax⁡T\delta_{\text{LLM}} R_{\max} T term alone makes the bound linear in TT (likewise constant η\eta or ϵmin⁡\epsilon_{\min}); Corollary 5.4 establishes sublinearity only for the retrieval-coverage component, ∑tξt=O(ℓ T1−1/d)\sum_t \xi_t = O(\ell\, T^{1-1/d}). Sublinear total regret additionally requires ∑tδt=o(T)\sum_t \delta_t = o(T), ∑tηt=o(T)\sum_t \eta_t = o(T), and ∑tϵt=o(T)\sum_t \epsilon_t = o(T) (geometric decay contributes O(1)O(1); the floor can be annealed to zero). The practical value that remains: the product separates failure frequency from failure cost, and the system targets each with a different mechanism. The structured JSON schema reduces δLLM\delta_{\text{LLM}} (repeated querying or ensembling could reduce it further, outside the fixed per-round-error assumption, whose linear term matches misspecification terms in bandits, Lattimore et al., 2020), while reward clipping and the validator's clamp to the feasible grid cap the per-failure cost at Rmax⁡R_{\max}: a failed round loses bounded reward and never executes an out-of-range action. The bound is otherwise diagnostic: each term maps to a mechanism, with the ablations serving as qualitative mechanism-level proxies (the No-ICL row for experience-conditioning; the reward-structure rows for label discriminability) rather than direct estimates of ξt\xi_t or ηt\eta_t.

E. Q3: Controller latency/memory overheads, end-to-end

A precise accounting: (i) all request-latency results were collected on the live system with the controller running; the asynchronous 1–2 s LLM call never sits on the request path, though it does bound control reaction time; (ii) the interception layer's data-plane overhead is now measured directly at 0.6% throughput, layer on vs. off, within noise; actuation is <2 ms; (iii) the current cost table does not yet include the LLM API cost ($0.01–0.05 per pipeline-hour at 4–6K input / ≤300 output tokens) or the sidecar's CPU/memory footprint; we will fold both into Table 5 (no ranking changes at these magnitudes) and report sidecar RSS and CPU separately; (iv) the episode buffer is a few MB. The improvements survive this accounting; we will consolidate it in one place.

With the fixes specified, the zero-shot framing quantified, the trained-controller transfer measured, and the P/D discussion added, we hope the reviewer will re-evaluate the paper, and we welcome guidance on any remaining concern.

Authors · CommentOpenReview ↗

As the rebuttal phase is approaching its end, we would kindly like to follow up. We hope our response is helpful.

May we kindly ask whether the response resolves the concerns? If it does, we would be grateful if the reviewer would consider reflecting this in the assessment. If any concern remains, we would very much welcome further discussion: we are happy to clarify any point or provide additional detail in the remaining time. Thank you for your time and effort in reviewing our work.

Authors · CommentOpenReview ↗

Thank you very much for revisiting our submission and updating your assessment; we truly appreciate it. We will include all the promised fixes and additions in the revision. Before the discussion closes, if any concern still holds back a more positive assessment, we would be glad to address it: we are happy to provide further detail or clarification in the remaining time.

Reviewer CaiFOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper presents SAIR, a zero-shot autoscaler for heterogeneous multi-stage ML inference pipelines with migrating bottlenecks. SAIR uses an LLM as an in-context RL controller, learning from reward-labeled state-action-reward tuples without offline training or gradient updates. It combines Pareto reward shaping, Bayesian-surprise retrieval, and LD_PRELOAD-based CUDA rate control, with a regret decomposition and evaluation on four pipelines across three workloads.

Strengths and weaknesses
  • Strengths

First, it targets a well-motivated systems problem: zero-shot autoscaling for heterogeneous multi-stage ML pipelines with bottleneck migration and cross-stage coupling. Second, SAIR presents a coherent system design that combines in-context RL, Pareto reward shaping, Bayesian-surprise retrieval, and fine-grained CUDA-based GPU rate control. Third, the evaluation shows consistent empirical gains across four serving pipelines and three workload patterns, with additional bottleneck-detection and ablation studies supporting the main design choices.

  • Weaknesses

First, no experiment or analysis of how far SAIR falls behind a warm-start/few-shot learned controller, or a learned controller given sufficient offline data. Second, the evaluation runs on only two GPUs (n_max=8). The authors argue scale is orthogonal since each autoscaler is independent, but the headline 97% cost reduction assumes freed GPU capacity is absorbed by co-located workloads that are never run—a projection, not a measurement that two GPUs could support. With three seeds and no error bars, inter-seed variation also overlaps the smallest gains (NLP 8% vs 8%; Video 6% vs 12%), so "best in every configuration" is unverifiable. Finally, the core mechanism—an LLM learning control in-context from reward-labeled tuples without gradient updates—is the prior result of Song et al. [1] applied to autoscaling. The three additions are thin: the Pareto margin (Prop 5.2) is trivial from the reward definition, the surprise-retrieval justification (Lemma B.1) is a loose Gaussian proxy, and the regret bound is asymptotically linear. No ICRL-specific gain is isolated against a reward-only baseline.

[1] Reward Is Enough: LLMs Are In-Context Reinforcement Learners

Questions
  • How would SAIR compare against a warm-start or few-shot learned controller, or an offline-trained controller given sufficient historical traces? Can the authors quantify the performance gap paid for the zero-shot setting?
  • Can the authors validate the 97% effective-cost reduction with actual co-located workloads consuming the freed GPU capacity, rather than relying on an accounting projection based on GPU rate ratios?
Limitations

yes

Final justification

The rebuttal resolves my main concerns through warm-start and offline-controller comparisons, measured co-location and four-GPU scaling, per-run variability reporting, and a clearer isolation of the other paper. Some limitations remain—the deployment scale is still modest, several key results appear only in the rebuttal, and the theoretical contribution is limited—but the strengthened empirical evidence warrants raising my recommendation by one point.

Formatting concerns

Not observed

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for a careful, substantive review. Summary of new measurements during the response period: (1) warm-start vs. cold-start SAIR (no persistent disadvantage beyond the opening decisions); (2) offline-trained DRL baselines evaluated frozen on the live cluster; (3) co-location measured with a real co-tenant, in two regimes and on four GPUs; (4) the controlled system itself scaled to a two-node, 4-GPU deployment. We address the four weaknesses in order.

W1/Q1: Gap vs. a warm-start or offline-trained controller

New experiment 1: SAIR-warm vs. SAIR-cold. Because SAIR's policy state is its experience buffer rather than weights, pre-seeding it with historical episodes is the in-framework analog of warm-starting. We ran 3 cold and 3 warm runs, interleaved so background drift affects both arms equally, on the ablation pipeline's steady-load protocol:

  • Full-run P99 was close in both arms: cold mean 136.4 ms (runs 146.1/112.1/151.1), warm mean 132.7 ms (runs 125.5/133.3/139.4), a 2.8% difference. Comparing pair by pair, warm was faster twice (by 20.6 and 11.7 ms) and cold was faster once (by 21.2 ms): neither arm was consistently better.
  • How fast cold catches up: we measured when each cold run's rolling P99 first equaled the warm arm's steady-state P99 (within a 5% band, held for two consecutive windows; criterion fixed before seeing results). This happened at 46.6, 54.4, and 58.9 s, i.e., by the third or fourth decision (15 s interval as in Table 2; the paper's default is 30 s). The warm buffer held 13 positive episodes from a separate cold run on the same workload.

New experiment 2: offline-trained DRL controllers evaluated on the real testbed. We implemented FIRM's DDPG and AWARE's PPO controllers faithfully (native state/action spaces and rewards), trained each offline to convergence under queueing-model dynamics (one converged policy per algorithm and pipeline), matching the abundant-training-data condition the reviewer specifies, and evaluated the frozen policies on the live cluster (120 s × 3 repeats × {Poisson, Burst}); every number here is measured on real hardware. The offline-trained policies transfer as conservative, near-no-op controllers: the DDPG policy never scaled (minimal allocation in all 6 runs), the PPO policy scaled sporadically, and its burst-tail P99 reached 2.8× the SLA (max 556 ms vs. 200 ms target). This is a measured instance of the transfer/distribution-shift dependency our zero-shot setting is designed to avoid, consistent with Sec. 3's Scope concession that trace-rich controllers can outperform. We claim the zero-shot regime, not universal dominance; these two experiments quantify both sides of that boundary.

W2/Q2: The 97% effective-cost number is a projection

A fair characterization, and we have now measured it with a real co-located workload on the same physical GPU (the paper's token-bucket layer, live rate control):

Moderate-load regime (primary at 30% of max, co-tenant at max drive, 60 s per point):

ρ\rho co-tenant throughput (% of standalone) primary P99 shared primary P99 alone
1.0 98.9% 67.7 ms n/a
0.7 98.8% 68.9 ms n/a
0.5 97.5% 69.5 ms 67.3 ms
0.3 97.5% 68.6 ms n/a
0.1 97.7% 69.1 ms 67.9 ms

All requests completed in every cell: the co-tenant runs at 97.5–98.9% of its standalone throughput while sharing the device, and the primary's P99 stays within 2.2 ms of its standalone reference at the measured control points.

Saturation regime (token bucket calibrated to the app's kernel-launch volume, a per-deployment calibration constant; both tenants at max drive): the primary's throughput tracks ρ\rho near-proportionally: measured shares 1.00 / 0.78 / 0.59 / 0.38 / 0.14 at nominal ρ\rho = 1.0/0.7/0.5/0.3/0.1; the co-tenant holds its full standalone throughput at every setting, and throttle-only controls (primary alone, same caps) match the contended throughputs. The mechanism partitions the device; the neighbor is insulated. Measured end-to-end interception overhead: 0.6% throughput (within noise), consistent with the paper's negligible-overhead claims.

These measurements show a real co-located workload consuming the device capacity the throttled primary does not use, with low interference in both regimes; the sharing premise behind effective cost is measurement-validated. Two precision notes for the revision: (a) we do not claim one-for-one conversion of each nominal rate reduction into co-tenant throughput (our co-tenant was never capacity-starved); (b) measured shares track nominal ρ\rho within 8 points (per-request overheads); we will state this in the effective-cost definition. We will attach the GPU-sharing condition wherever the 97% figure appears (TextGen/Ramp best case vs. Threshold, Table 5; representative: 30–60% vs. next-best); billable cost stays reported separately.

On scale: each PipelineAutoscaler is an independent control object with no cross-controller state, and during the response period we measured this at three levels.

  • System scale: the controlled system grown to a two-node, 4-GPU deployment. A second machine joined the cluster; the GPU stage scaled to 4 replicas placed 2+2 across machines behind one Service, exercising the paper's GPU-stage Δn\Delta n action space (Sec. 3) at twice the original size. Fixed 240 rps through the real pipeline entry:

    inference replicas (placement) P50 P99
    1, the paper's original scale 13,379 ms 27,006 ms
    2, one per node 72 ms 120 ms
    4, two per node 70 ms 107 ms

    SAIR then controlled the 4-GPU deployment with policy logic, action schema, and prompts unchanged (initial allocation pre=4/post=3, inference pinned 2+2, GPU budget 4): per-run served throughput 247.5/234.0/238.4 rps against 240 rps offered, P99 589/476/571 ms. Effective decision cadence stretched to 3–5 decisions per 300 s run (nominal 15 s interval) because metric scrapes to the new node timed out, a metrics-plane artifact we disclose; we will include per-run action trajectories in the revision appendix.

  • Control-plane concurrency (observers do not actuate; this measures decision-plane concurrency, not concurrent actuation): N = 2/8/16 instances, real metrics reads and LLM decisions, per-decision latency flat in N (N=16: mean 0.64 s, p95 0.71 s across 416 decisions), cost linear (N × $0.01–0.05/hour, Sec. 6.1).

  • Hardware replication: the co-location measurement reproduced on the second machine's GPUs: shares 98.9–99.6%, overhead 0.07%, identical recalibrated shares 1.00/0.78/0.59/0.38/0.14.

Cluster-level bin-packing remains out of scope (Sec. 3) and unclaimed.

W3: Three seeds, no error bars

We will add error bars to Figures 3–4 and a per-seed appendix table in the revision, as the reproducibility checklist already committed. Further: (i) every new experiment here reports interleaved repeats with per-run values inline rather than means alone; (ii) we agree the smallest margins occur on stable Poisson workloads, Section 7 already concedes that regime ("a well-tuned Threshold controller is competitive; Threshold may be preferred"), and we will state explicitly that the headline claim is "best or tied-best," with ties concentrated exactly there.

W4: Novelty relative to Song et al.; ICRL gain not isolated

The ICRL-specific gain is isolated: it is the No-ICL row of Table 2. That configuration keeps the same LLM, Pareto reward, and validator, removing only the in-context experience tuples: +16.8% P99, −1.7% throughput, and ~40% lower per-interval throughput variance for Full SAIR over the run's second half. Store-All (+12.1% P99) further isolates the positive-only memory design. We will promote both from the ablation table to a named paragraph. We additionally have an unpublished row from the same 3-seed ablation: replacing the Pareto reward with a weighted sum costs +8.2% P99, supporting the importance of the Pareto structure beyond the weight values (the variant shares the same component scales, though it was not separately re-tuned); we will add it to Table 2.

On "Song et al. applied to autoscaling": we agree that Song et al. establish the core reward-only ICRL mechanism, and Krishnamurthy et al. document that LLMs fail at in-context exploration without intervention. Our claimed novelty is not the existence of reward-conditioned in-context improvement, but the systems mechanisms and validation needed to deploy it for live multi-stage autoscaling: constrained actuation, explicit exploration, online memory management (growing buffer vs. fixed pools in KATE/IDEAL), a margin-calibrated reward discriminable to a text policy, pipeline-level state, and continuous GPU rate control, with the memory policy, reward structure, and experience-conditioning each probed by an ablation row (Store-All; the reward variants; No-ICL). On the theory: Prop. 5.2's simplicity is intentional: it is the calibration constraint (set α−β\alpha-\beta above the LLM's reward-perception noise), not a claimed deep result; and under a fixed per-round oracle-error assumption the η⋅T\eta \cdot T term is linear, matching the structure of misspecification terms in bandits (Lattimore et al., 2020), with the coverage term the provably sublinear part (Cor. 5.4); sublinear total regret additionally needs ∑tηt\sum_t \eta_t, ∑tδt\sum_t \delta_t, ∑tϵt=o(T)\sum_t \epsilon_t = o(T) (we will state these explicitly in the revision). Lemma B.1 is likewise labeled a motivating proxy under a local Gaussian model; the measured effect of the retrieval design is the No-ICL and Store-All deltas above.

We hope these new measurements and the clarified positioning address the concerns behind the borderline rating, and we would be grateful if the reviewer would reconsider their score.

Reviewer CaiF · CommentOpenReview ↗

The rebuttal addresses my main concerns with substantial new experiments and clearer positioning of the paper’s contributions and limitations. Overall, it improves my assessment of the work, and I will raise my score by one point.

Authors · CommentOpenReview ↗

Thank you again for your kind and positive comment. We noticed that the score/rating may not have been updated yet to match your comment above. If there is anything we can clarify, we are happy to help.

Authors · CommentOpenReview ↗

Thank you again for your kind comment and support. As the discussion period will close soon, we would like to gently follow up once more. If convenient, we would be grateful if you could update the score as mentioned in your comment. If there is anything else we can clarify, please let us know.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…