potentialpaper

RAOP: Step-Level Resource Orchestration for LLM Agents across Edge and Cloud

Jinze Li, Xin Yang, Shuo Yang, Jinfeng Xu, Edith Cheuk-Han Ngai

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.

TL;DR. RAOP treats LLM agent orchestration as a full trajectory decision problem with sequentially revealed workloads, achieving state of the art performance while substantially reducing latency and communication cost.

Abstract. LLM agents do not present a fixed inference job to an edge and cloud system. At each step, a placement decision chooses where to generate the next message, where to execute any resulting tool call, which prefix must be replayed, which cache state is updated, and whether the episode continues. As a result, the workload to be scheduled is partly produced by the scheduling decisions themselves. We formalize this problem as an endogenous, sequentially revealed workload (ESRW) controlled trajectory MDP. We then introduce Resource Aware Orchestration Policy (RAOP), a step level orchestration policy that first places language generation and then, after observing any tool call, places tool execution. RAOP predicts candidate action workloads from prefix replay, prefill, KV cache residency, queue, network, and tool payload features, and is trained with GRPO to optimize measured full trajectory success and latency rather than a one step latency surrogate. To make controlled evaluation auditable, the main simulator replays language and tool continuations produced by real model and tool execution while recomputing physical timing under the sampled placement sequence. As an analytical lens, we derive a Bellman regret decomposition showing that myopic placement policies incur error from workload prediction, success priors, and a controlled endogeneity term. On GSM8K, HotpotQA, WebShop, and a calibrated three tier deployment, RAOP matches the strong cloud only success reference while reducing P99 latency by about 53% and communication by about 73%. Against the strongest learned step level baseline, RAOP improves average success by 2.5 points, indicating that full trajectory optimization is central for agent orchestration.

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
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (spotlight)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

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

The paper addresses a timely systems problem with a clear step-level orchestration formulation and strong results across three benchmarks. The full-trajectory objective and evaluation against myopic and query-level baselines are convincing. According to the review comments, the rebuttal should clarify:

  • The MDP state, action, and reward definitions, including the Markov assumption, accumulated success reward, and the causal two-stage placement decision.

  • How well the controlled trajectory-replay evaluation reflects fully online deployment where placement can change later model outputs.

  • The practical assumptions behind access to queue, network, and KV-cache information, and whether generation and tool execution can be placed independently in realistic systems.

  • The missing implementation details and the benchmark/table mapping noted by Reviewer 3m1w.

A large new evaluation is not required. Clear answers to these points would strengthen the paper results.

Final justification

The authors provide additional results and clarification during the rebuttal, and the reviewers have no further questions. Overall, I recommend this paper for acceptance (spotlight).

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

The paper addresses a timely systems problem with a clear step-level orchestration formulation and strong results across three benchmarks. The full-trajectory objective and evaluation against myopic and query-level baselines are convincing. According to the review comments, the rebuttal should clarify:

  • The MDP state, action, and reward definitions, including the Markov assumption, accumulated success reward, and the causal two-stage placement decision.

  • How well the controlled trajectory-replay evaluation reflects fully online deployment where placement can change later model outputs.

  • The practical assumptions behind access to queue, network, and KV-cache information, and whether generation and tool execution can be placed independently in realistic systems.

  • The missing implementation details and the benchmark/table mapping noted by Reviewer 3m1w.

A large new evaluation is not required. Clear answers to these points would strengthen the paper results.

Final justification

The authors provide additional results and clarification during the rebuttal, and the reviewers have no further questions. Overall, I recommend this paper for acceptance (spotlight).

1 comment
Authors · CommentOpenReview ↗

Response to the Metareview

We thank the Area Chair for consolidating the main points raised by the reviewers. We have addressed all four issues in the individual reviewer discussions; we summarize the key clarifications here and point to the detailed responses where appropriate.

1. MDP state, action, reward, and the causal two-stage decision.

In the controlled environment, the state is Markov by construction. The trajectory component contains the complete realized prefix, including all generated messages, tool calls, and observations, while the serving variables have explicit transition rules in Appendix F. In a real serving stack, the same telemetry should be understood as a practical projection of a richer scheduler state rather than an exhaustive reconstruction of the scheduler.

The RAOP action controls only resource placement. It does not directly control the generated message or episode termination. The generation and tool placements are also not selected simultaneously: RAOP first selects the generation backend, executes generation, observes the resulting message, and only then selects a tool backend if a tool call is present. Equation 2 groups these decisions because they belong to the same agent step; Algorithm 1 gives their actual causal execution order.

Finally, success is not accumulated across steps. Each trajectory receives one terminal return consisting of a binary success term and the measured end-to-end latency term; success is evaluated once after the trajectory terminates. The returns of the (G=8) trajectories sampled for the same query are then normalized within the GRPO group. Reviewer 3m1w, Weakness 2 further reports trajectory-length and tool-call statistics showing no evidence that RAOP learns to terminate episodes prematurely.

2. Controlled trajectory replay versus fully online execution.

The replay evaluation uses action-conditioned continuations collected from real model and tool executions, while recomputing network, queueing, prefix replay, prefill, decode, tool, and cache costs under the sampled placement sequence. The existing replay audit re-executes representative policies online under matched action sequences and finds deviations of at most 0.5 SR points and 0.06 seconds in tail latency.

To test the stronger setting in which placement can change the generated continuation and all later decisions, we additionally conducted a fully online challenge evaluation on difficult WebShop and HotpotQA prompts. Every generation and tool call was executed live, and the trajectory library was not used for language transitions or tool outputs. By step 3, 81% of WebShop episodes and 74% of HotpotQA episodes had already diverged from their matched library continuations. Nevertheless, RAOP remained within 0.6–0.7 SR points of Cloud-Only, substantially reduced latency, and preserved the ordering over GREEDY-ANALYTICAL and PPO-Step. The complete protocol and results are reported in our response to Reviewer 2mWF, Weakness 1 and Question 1.

3. Telemetry assumptions and independent generation/tool placement.

RAOP targets telemetry-enabled managed serving stacks, as in our three-tier deployment, where network metrics are measured client-side, queue/cache state is exposed by the serving system, and prefix residency is maintained by the orchestrator. Table 15 quantifies the effect of missing signals; black-box API settings are discussed in Reviewer 2mWF, Weakness 3.

Generation and tool execution can be placed independently because tool calls exchange only arguments and observations, without transferring LLM internal state. Coupled systems are covered by constraining both placements to the same backend; see Reviewer 3m1w, Question 1 and Tables 4/16.

4. Implementation details and benchmark/table mapping.

The relevant implementation details are already provided across Section 3.3 and Appendix F.1, but are currently distributed across several locations. We will consolidate them into a single summary that clearly distinguishes learned components, measured quantities, and analytic features. In particular, the GRPO reward uses only measured terminal success and wall-clock latency. Table 1 already reports the aggregate over GSM8K, HotpotQA, and WebShop, with the per-benchmark breakdown in Appendix Table 8; we will revise the caption and column labels to make this mapping explicit. See Reviewer 3m1w, Weaknesses 3–4, for the full clarification.

We will incorporate these clarifications into Sections 3.1–3.3, the evaluation description, and the relevant table captions in the revised manuscript.

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

This paper studies resource-aware orchestration for LLM agents deployed across heterogeneous edge, device, and cloud resources. The key observation is that LLM-agent workloads are endogenous, sequentially revealed workload (ESRW): each generation step may produce a tool call, tool outputs change future prompts , actions and resource demands. The paper formalizes a placement problem : At agent step t, a placement policy chooses a generation resource (edge or cloud), and proposes RAOP, a learned resource-aware orchestration policy that decides, at each agent step, where to place agent serving on edge smaller model or cloud larger model . For every candidate placement, RAOP predicts workload features that include decode length, tool payload, missing prefix length, prefill cost, queue state, network state, and KV cache residency. These features allow the policy to reason about both switching costs and reuse benefits. RAOP is trained with GRPO on full trajectory, optimizing a reward that trades off task success and end-to-end latency. The evaluation covers GSM8K, HotpotQA, and WebShop, using two and three-tier deployments. RAOP approximately matches the strong cloud-only success rate, while reducing P99 latency by about 53% and communication by about 73% under full context transfer accounting.

Strengths and weaknesses

Strengths:

  • The paper identifies an important and timely problem. The paper formulates edge/cloud agent serving as a step-level orchestration problem, rather than simple query-level routing. It also considers system level metrics such as queue length, communication cost, network state, KV cache residency, etc.
  • The experimental evaluation is comprehensive. The paper includes static policy baselines, query-level and myopic baselines, PPO-Step, ablations, replay audit, three-tier deployment, and multi-client contention experiments.
  • The results are strong in the evaluated setting: RAOP approximately preserves cloud-only success rate while substantially reducing P99 latency and communication cost.

Weaknesses:

  • The results rely heavily on controlled trajectory replay. Although the replay audit is useful, it is still not clear whether RAOP can achieve similar performance on fully online agent execution setting.

  • The evaluated workloads are still limited. GSM8K, HotpotQA, and WebShop are mostly textual tasks. The paper does not evaluate multimodal agent tasks.

  • RAOP assumes access to detailed system metrics, including cloud queue state, network state, and KV cache residency. These are accessible in self-managed cloud serving server with open-source models , but might not all accessible for black-box cloud APIs.

Questions
  • Can you evaluate RAPO with fully-online experiment on a small subset (perferablly harder tasks) of tasks, where llm actually generates actions online on each step and may diverge naturally, instead of always using the action-conditioned trajectory library. It would directly test whether RAOP remains robust when placement affects model outputs .

  • Can you expand the discussion of related work and compare RAOP against some prior works on step-level model routing (eg: https://arxiv.org/abs/2604.27151 , https://arxiv.org/pdf/2601.02695 ) , llm routers, and workflow-aware LLM serving systems.

  • Can RAOP also consider prompt difficulty similar to existing llm routers , in the placement/routing decision? Will that help or not?

Limitations

yes

Final justification

The rebuttal addressed my main concern regarding controlled trajectory replay by adding the online experiments. The remaining limitations are mainly about the telemetry-enabled deployment and text-based agents. I maintain my original score of 5.

Formatting concerns

no

2 comments
Authors · CommentOpenReview ↗

Rebuttal (1/2)

We thank the reviewer for the constructive feedback.

Weakness1 & Question1

We preselect 250 challenge prompts per task using Cloud-Only failure frequency measured on executions disjoint from the evaluation runs: difficulty is estimated with four separate decoding seeds and trace rotations, the hardest 40% of prompts are retained, and 250 are sampled from that pool. All methods are evaluated on exactly the same selected prompts. Each prompt is executed under four paired decoding-seed and network-trace settings, giving 1,000 live executions per method per task. At every step the selected backend generates the continuation online and the corresponding tool executes live. The trajectory library is not queried for language transitions, tool outputs, or continuation replay during this evaluation; it is used only in the previously completed policy training.

Method WebShop SR Median (s) P95 (s) HotpotQA SR Median (s) P95 (s)
Cloud-Only 48.5 1.52 2.31 62.0 1.71 2.42
GREEDY-ANALYTICAL 43.2 0.84 1.34 56.4 1.28 1.83
PPO-Step 45.6 0.61 0.98 59.1 1.02 1.42
RAOP 47.9 0.46 0.74 61.3 0.86 1.19

Absolute SR is lower than in Table 8 because these are the hardest 40% of prompts by construction; all comparisons below are within this matched set.

Success. RAOP remains within 0.6 SR points of Cloud-Only on WebShop and 0.7 points on HotpotQA, showing that the success conclusion persists under fully online execution.

Latency. Over the same runs, RAOP reduces P95 latency by 68% on WebShop and 51% on HotpotQA relative to Cloud-Only, and reduces median latency by 70% and 50%.

Divergence. The evaluation does exercise genuine trajectory divergence rather than reproducing logged behaviour: by step 3, 81% of WebShop episodes and 74% of HotpotQA episodes contain at least one generated message or tool call that differs at the action level from the matched library continuation.

These findings are also consistent with the replay audit in Table 7.

Weakness 2

We agree that the current empirical scope is limited to text-based agents and does not validate RAOP on multimodal workloads.

The orchestration problem itself is not inherently restricted to text, but a multimodal extension would require modality-specific workload features and calibration, including image/video transfer cost, visual-encoder computation, and multimodal cache behavior. The current results validate RAOP on text-based agents; extending the evaluation to multimodal workloads is an important direction for future work. We will clarify this limitation in the revised manuscript.

Authors · CommentOpenReview ↗

Rebuttal (2/2)

Weakness 3

RAOP assumes a telemetry-enabled managed serving stack, which is the setting evaluated in our three-tier deployment. Bandwidth, RTT, and packet loss are measured client-side; QcQ_c and Ωe\Omega_e are exposed by the managed serving system; and κt\kappa_t is maintained by the orchestration layer from backend execution history.

The leave-one-signal-out ablations in Table 15 quantify the sensitivity to missing telemetry and show graceful degradation when an individual signal is unavailable.

For black-box cloud APIs, direct queue and cache readings may be unavailable. Client-observed latency history could provide a noisy congestion proxy, while unknown provider-side prefix residency can be treated conservatively as a cache miss. We have not evaluated this configuration and will state the telemetry-enabled deployment assumption explicitly in the revised manuscript.

Question 2

We will cite and discuss both. Step-level Optimization for Efficient Computer-use Agents (arXiv:2604.27151) escalates from a small policy to a stronger model when learned monitors detect stalled progress or semantic drift; EvoRoute (arXiv:2601.02695) selects a model at each step using retrieved execution experience and a performance--cost--latency Pareto criterion.

Both works focus on selecting the model that generates the next agent action, primarily using agent-side progress or prior-experience signals. RAOP instead performs step-level orchestration over a resource choice that includes the backend, model, and serving stack, conditions jointly on the realized agent prefix and dynamic serving state, and separately places any resulting tool execution.

The key differences are: (1) tool placement is an independent post-generation decision, whose value is quantified by the coupled ablation in Tables 4 and 16; (2) RAOP is trained with GRPO on measured full-trajectory success and wall-clock latency rather than monitor thresholds or experience-based Pareto filtering; and (3) its gains persist when the same Qwen2.5-7B model is used on every tier (Table 9), showing that the benefit is not limited to routing difficult steps to a stronger model.

Relative to query-level LLM routers, RAOP reopens the placement decision after every observation and explicitly accounts for queue, network, prefix-replay, and cache state. Relative to workflow-aware serving systems, RAOP is complementary: it consumes the system state exposed by backend schedulers rather than replacing their batching, caching, or decoding mechanisms. We will make these distinctions explicit in Section 2.

Question 3

Yes. RAOP already represents difficulty implicitly: its encoder consumes the query and the complete realized prefix (q,τ<t)(q,\tau_{<t}) at every decision step, allowing the representation to adapt as the apparent difficulty and progress change throughout the trajectory.

The existing baselines suggest that success-aware and prefix-conditioned signals are useful for routing. However, NEURAL-MYOPIC, which uses the same encoder, state interface, workload predictor, action space, and cost model as RAOP but makes one-step greedy decisions, still trails RAOP by 2.82.8 SR points (Table 10). Thus, explicit difficulty estimation could complement RAOP, but it would not replace full-trajectory optimization.

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

This work trains an orchestration policy, called RAOP, using GRPO. This policy acts like a controller/router that decides how other LLM-agent steps should be executed. In particular, it decides where to run the next LLM generation (edge vs. cloud), where to run the tool execution. They optimize the policy at the trajectory level, not just the single-step level. This is important in settings where we cannot anticipate future workload. They evaluation shows that on datasets like GSM8k, hotpotQA, webshop, RAOP matches the cloud-only success rate while reducing p99 latency by 53% and communication by about 73%.

Strengths and weaknesses

Strengths:

This paper is technically solid: it provides an ESRW formulation, introduces a method and evaluates the method with strong empirical results across multiple datasets. The problem this work addresses is important because serving llm agents in the most efficient way is a practical challenge given the high usage now. This work could be used in real production systems.

Weaknesses:

The paper is dense and introduces many system and RL concepts. The paper could improve clarity by adding one concrete trajectory example showing the actual RAOP decisions step by step and how those decisions affect latency and success. The experiments cover three datasets but they are relatively short-horizon tasks. It would be nice to see how long-horizon tasks would benefit more from the proposed method.

Questions

see my comments above.

Limitations

na

Final justification

my concerns have been addressed.

Formatting concerns

na

1 comment
Authors · CommentOpenReview ↗

Rebuttal (1/1)

We thank the reviewer for the constructive feedback.

Weakness 1

Below is an episode from the held-out WebShop logs, illustrating the behavior summarized in lines 330--337. We select a trace in which cloud contention rises during execution, making the placement trade-off particularly visible. We will add this example to Section 4.2 with a per-step latency-breakdown figure.

Goal: "find me a machine-washable men's T-shirt, black, size L, priced below 30 USD."

At admission, bandwidth is B=10,MbpsB=10\\,\mathrm{Mbps} and the cloud queue depth is Qc=22Q_c=22. All backend prefix caches are initially empty. Cloud contention rises during the episode, with QcQ_c reaching 3131 by t=6t=6.

tt Agent message bgenb_{\mathrm{gen}} ϕtool\phi_{\mathrm{tool}} Relevant state and decision trade-off Step latency
1 search[black t-shirt men L] edge local env Short prefix; local generation avoids the WAN leg and the cloud queue 0.31,s0.31\\,\mathrm{s}
2 click[item B09KX...] edge local env Low-cost navigation step; the prefix remains resident on the edge 0.26,s0.26\\,\mathrm{s}
3 click[size L] edge local env Inexpensive locally; Ωe\Omega_e remains moderate 0.24,s0.24\\,\mathrm{s}
4 click[features], returning a 1.4k-token observation edge local env The observation expands the edge-resident prefix to Pt≈2.2kP_t\approx2.2\mathrm{k} tokens 0.29,s0.29\\,\mathrm{s}
5 click[description], verifying the machine-washable constraint edge local env Cloud contention has risen to Qc≈29Q_c\approx29, while the cloud lacks the accumulated prefix, MtC≈2.2kM_t^{C}\approx2.2\mathrm{k}. Switching would therefore incur queueing, transfer, and full-prefix prefill for a low-cost navigation step 1.15,s1.15\\,\mathrm{s}
6 click[buy now], after the final constraint check cloud local env Cloud contention further rises to Qc=31Q_c=31 and prefix replay is still required, but this generation step directly determines the final purchase decision. RAOP accepts the additional system cost to use the stronger cloud model, while the resulting environment action executes locally 2.86,s2.86\\,\mathrm{s}
7 buy[item B09KX...] edge local env The edge prefix from steps 11--55 remains resident, so only the newly generated suffix must be incorporated before the terminal action executes locally 0.36,s0.36\\,\mathrm{s}
8 Final response confirming the purchase edge ∅\emptyset The message is final, so no tool backend is selected and the episode terminates 0.22,s0.22\\,\mathrm{s}

The episode succeeds with a total latency of 5.69,s5.69\\,\mathrm{s}. Steps 55 and 66 illustrate that RAOP does not simply avoid the cloud under contention: it remains on the edge when queueing and prefix-replay costs outweigh the expected quality benefit, but selects the cloud when model quality directly affects task success. Step 66 also demonstrates the operator-decoupled interface, with generation placed on the cloud and the resulting environment action executed locally.

Weakness 2

We additionally evaluate RAOP on ALFWorld, a long-horizon interactive text environment whose episodes average 15.8 agent steps, compared with 4.8 on WebShop.

Method SR Step P99 (s) Comm. (MB/q) Switch %
Edge-Only 28.5 0.61 0.00 0
Cloud-Only 64.2 3.85 6.40 0
GREEDY-ANALYTICAL 56.8 2.55 2.05 38
NEURAL-MYOPIC 59.6 2.10 1.72 33
PPO-Step 61.0 1.72 1.48 29
RAOP 63.8 1.05 0.94 18

RAOP remains within 0.4 SR points of Cloud-Only while reducing step-level P99 latency by 72.7% and communication by 85.3%, showing that its benefits persist on substantially longer trajectories.

The mechanism is visible in the switching behavior. As the trajectory grows, the accumulated prefix PtP_t increases, making an ill-timed backend switch more expensive through the missing-prefix cost Mtb=max⁡{0,Pt−κt(b)}M_t^b=\max\{0,P_t-\kappa_t(b)\}. GREEDY-ANALYTICAL switches on 38% of steps and incurs repeated prefix replay, whereas RAOP switches on 18% and concentrates cloud usage on decision-critical steps. This behavior is consistent with the downstream switching costs omitted by myopic scoring.

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

The paper introduce Resource Aware Orchestration Policy (RAOP), which is a step level orchestration policy that first places language generation and then places tool execution after observing any tool call. The paper frames the rescue allocation problem of AI agents as a MDP problem, and trains a model with GRPO to predict the candidate action workloads. Experiments on GSM8K, HotpotQA, and WebShop shows that RAOP matches the cloud-only success rate while reduce the latency and communication.

Strengths and weaknesses

Strength:

  • The motivation strong and research question is timely bottleneck that current language agents is facing.
  • The paper did a good job on considering as many serving factors in the real-world when framing the question.
  • The proposed full-trajectory optimization is intuitive and reasonable.

Weaknesses:

  • The paper frame the problem as a MDP, but didn't justify why states is Markov, and it may simplify the problem since states may not be comprehensive. For example. future transitions may also depend on variables such as backend scheduler.
  • The reward design, as an important part of training is not present clear enough for evaluation. How the success signal accumulates may cause the policy bias to minimize latency or not.
  • The method section ( Section 3.3 ) is also missing a lot of details, making the reviewer difficult to understand which parts are learned and which are measured during reward computation.
  • The abstract and introduction mentioned they evaluate on three benchmarks, but the result table 1 and appendix is confusing on which benchmark results the table is representing.
  • Missing some relevant works. For example, can author discuss the difference with this work? HERA: Hybrid Edge-cloud Resource Allocation for Cost-Efficient AI Agents (arXived by Apr 1 2025).
Questions
  • In real-world practice, the generation and tool are usually coupled together. Decoupling them in the method may not be a deployable or realistic solution. May author discuss on this?
  • The two-stage action interfaces is mentioned to be causal in the paper, but equation 2 put the generation placement and the post-generation tool-placement policy into a single action, which is confusing. Can author explain this?
  • Can author discuss the potential reward hacking behavior and how author migrate it?
Limitations

yes

Final justification

Thanks author for the rebuttal. My concerns are solved. Adjusted the score

Formatting concerns

NA

3 comments
Authors · CommentOpenReview ↗

Rebuttal(1/3)

We thank the reviewer for the careful reading and constructive feedback.

Weakness1

(1) In the controlled environment, the state covers every component the transition depends on. In Eq. 1 the prefix component is the complete realized trajectory up to step t, containing every generated message, tool call and observation, so nothing about the task is discarded. On the serving side, each of the six variables has an explicit transition rule in Appendix F: bandwidth follows a first-order process (F.3, F.6), and queue depth, edge occupancy and prefix residency are updated after every generation or tool event (F.2, F.4, F.5). The controlled transition of Eq. 3 is defined over exactly these components, so the Markov property here follows from the construction of the environment rather than from an untested assumption.

(2) In a real serving stack, these variables should be understood as an observable projection of a richer scheduler state, rather than an exhaustive description of all scheduler internals. RAOP is designed to operate on the telemetry exposed to the orchestrator, not to reconstruct the full backend scheduler state.

We will make the state definition and the per-component transition rules more visible in Section 3.1, with a direct cross-reference to Appendix F.

Weakness2

Success is not accumulated across steps. Each sampled trajectory gets one terminal return, defined in Eq. 4: a binary success term minus a latency term. Success is checked once, after the trajectory ends. GRPO computes this return for each of the G=8G=8 trajectories sampled from the same query, then normalizes the returns within that group.

Could the latency term push the policy to finish early? Three things stand in the way.

The policy cannot end an episode. It chooses backends, nothing else. An episode ends when the selected backend generates a final answer instead of a tool call (Algorithm 1, lines 5-6), and that is the model's output, not the policy's action. The policy could only shorten a trajectory indirectly, by keeping the agent on a weak backend until it gives up or answers wrong.

The objective does not reward that. Within each group of G=8G=8, the latency term is min-max normalized to [0,1][0,1], the same range as the success indicator. So only the rank inside the group matters, not the seconds saved: finishing three seconds earlier and finishing half a second earlier score the same if they land in the same position. There is no way to accumulate a bigger time saving into a bigger return. Losing a success to gain rank is a bad trade whenever the group contains both outcomes.

The trajectories show no sign of it. A policy cutting episodes short would produce shorter trajectories and fewer tool calls. Neither shows up. On paired held-out episodes, RAOP and Cloud-Only both have a median length of 4 steps, mean lengths of 3.8 and 3.7, and maximum-budget rates of 6.8% and 6.5% (p=0.28p=0.28). On HotpotQA and WebShop they make 2.5 and 2.6 tool calls per episode, with tool steps at 64% and 65% of all steps (p=0.21p=0.21). RAOP also reaches 71.7 Avg. SR against 71.5 for Cloud-Only, paired 95% CI [−0.4,+0.8][-0.4,+0.8], p=0.51p=0.51 (Table 10).

Authors · CommentOpenReview ↗

Rebuttal (2/3)

Weakness3

We agree this separation should appear in one place rather than distributed across Section 3.3 and Appendix F.1. It is the following.

Group Quantity Defined in
Learned Generation-placement and tool-placement heads, optimized by GRPO on the full-trajectory return Sec. 3.3, Eq. 4
Learned Candidate-action workload head W_t(a) = h(s_t, a), trained with an auxiliary Huber loss on realized token counts in log(1+W) space Eqs. 8, 9
Learned Prefill residual r_prefill(s_t, b), absorbing tokenizer and payload effects Eq. 11
Measured Terminal task success and emitted wall-clock latency, the only quantities entering the GRPO reward Eq. 4
Measured Realized token counts and tool-payload sizes, used only as labels for the auxiliary workload loss; they do not enter the GRPO reward Eq. 9
Analytic Missing prefix, the positive part of prefix length minus backend residency, deterministic given both Eq. 10
Analytic Latency feature L_b, computed from the predicted workload and the observed network, queue, cache and backend parameters Eq. 13

The policy uses learned workload predictions and analytic system features as inputs, while the GRPO reward is computed only from measured terminal success and wall-clock latency. We will consolidate this distinction in Section 3.3.

Weakness4

Table 1 reports the aggregate over all three benchmarks: GSM8K, HotpotQA, and WebShop. Appendix Table 8 gives the complete per-benchmark breakdown.

Avg. SR and Avg. P99 are the unweighted arithmetic means of the three per-benchmark values; communication and throughput are aggregated over all evaluation episodes. For RAOP. We will rename the columns and revise the caption accordingly in the revised version.

Weakness5

We will cite and discuss HERA. Both methods make allocation decisions within an agent trajectory, but they differ in four key aspects. (1) Objective: HERA maximizes local-SLM utilization subject to cloud-level accuracy, whereas RAOP jointly optimizes measured full-trajectory success and end-to-end latency. (2) Decision context: HERA relies on offline-profiled subtask characteristics, while RAOP conditions on the realized trajectory, dynamic serving state, and predicted candidate workloads. (3) Learning signal: HERA uses offline estimators, whereas RAOP learns from measured full-trajectory returns with GRPO.

We will add this discussion to the revised version.

Authors · CommentOpenReview ↗

Rebuttal (3/3)

Question1

A tool call is invoked through a textual interface: arguments in, observation out, with no model state shared between the two. As stated in Appendix D.5, no cross-backend KV tensors are transmitted. Dispatching a tool call to a different worker is therefore an ordinary RPC, not a migration of inference state.

This is already how the deployment runs. Table 21 uses real Raspberry Pi, PC, and cloud vLLM workers, with generation and tool execution dispatched independently: RAOP stays within 0.3 SR points of Cloud-Only while reducing P99 by 57.6%.

The coupled setting is a special case of our interface. Constraining the tool backend to equal the generation backend at every realized tool call recovers the setting in which both operations must share a backend. Tables 4 and 16 evaluate this restriction: it reduces Avg. SR from 71.7 to 69.2 and increases Avg. P99 from 1.31 s to 1.63 s, because it removes the flexibility to keep retrieval or WebShop navigation local while selectively using the cloud for generation.

We will make this explicit in Section 3.2.

Question2

The two placements are not chosen at the same time. The policy first selects the generation backend from sts_t; generation then produces the message utu_t; if utu_t contains a tool call, the policy subsequently selects the tool backend (lines 140--142 and Algorithm 1). At the moment the generation decision is made, the policy has no information about the tool call because it does not exist yet.

Eq. 2 writes both placements as one tuple because they belong to the same agent step, not because they are decided together. As noted at lines 184-188, generation and tool execution are not chosen simultaneously in code.

We agree the tuple notation makes this easy to miss, and we will annotate Eq. 2 in place to mark the evaluation point of each component, with a pointer to Algorithm 1.

Question3

The most direct shortcut available in our setup is to game the analytic cost model. The candidate-action latency feature LbL_b (Eq. 13) is computed from the learned workload head W^t\hat W_t, which shares the encoder with the placement heads and is trained jointly. A policy could in principle drive W^t\hat W_t toward underestimates, making LbL_b small without any real reduction in latency.

This earns nothing, because LbL_b is not the training signal. The GRPO reward is computed from the emitted wall-clock latency Λ(τ)\Lambda(\tau) and terminal success; LbL_b enters only as an input feature to the policy and as the scoring rule for the analytical baselines. Distorting W^t\hat W_t lowers LbL_b while leaving Λ(τ)\Lambda(\tau) unchanged, so the return does not move, and a distorted prediction degrades the placement decision itself, which raises measured latency and lowers the return. This separation is stated as design principle P2 in Appendix F.1 for exactly this reason.

We will make this separation explicit in Section 3.3 of the revised version.

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

Missing a submission?

Loading the discussion…