acceptodds
Published as a conference paper at NeurIPS 2026

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

Jinze Li, Xin Yang, Shuo Yang, Jinfeng Xu, Edith C Ngai

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.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Top 8%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 5.00 over 3 reviews, above 92% of the others.
Reviewer_2mWFOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
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

Paper formatting concerns

no

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.

Reviewer_SKTiOpenReview ↗
Rating
6
Clarity
3
Confidence
2
Originality
3
Quality
4
Significance
4
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

Paper formatting concerns

na

Final justification

my concerns have been addressed.

Reviewer_3m1wOpenReview ↗
Rating
4
Clarity
1
Confidence
3
Originality
2
Quality
2
Significance
3
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

Paper formatting concerns

NA

Final justification

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

Comments on the paper

1 comment
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.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.