On Time, Within Budget: Constraint-Driven Online Resource Allocation for Agentic Workflows
Xinglin Wang, Zishen Liu, Shaoxiong Feng, Peiwen Yuan, Yiwei Li, Jiayi Shi, Yueqi Zhang, Chuyi Tan, Ji Zhang, Boyuan Pan, Yao Hu, Kan Li
NeurIPS 2026
Abstract. Agentic systems increasingly solve complex user requests by executing orchestrated workflows, where subtasks are assigned to specialized models or tools and coordinated according to their dependencies. While recent work improves agent efficiency by optimizing the performance--cost--latency frontier, real deployments often impose concrete requirements: a workflow must be completed within a specified budget and before a specified deadline. This shifts the goal from average efficiency optimization to maximizing the probability that the entire workflow completes successfully under explicit budget and deadline constraints. We study constraint-driven online resource allocation for agentic workflows. Given a dependency-structured workflow and estimates of success rates and generation lengths for each subtask--model pair, the executor allocates models and parallel samples across simultaneously executable subtasks while managing the remaining budget and time. We formulate this setting as a finite-horizon stochastic online allocation problem and propose Monte Carlo Portfolio Planning (MCPP), a lightweight closed-loop planner that directly estimates constrained completion probability through simulated workflow executions and replans after observed outcomes. Experiments on CodeFlow and ProofFlow demonstrate that MCPP consistently improves constrained completion probability over strong baselines across a wide range of budget--deadline constraints.
From the authors: Zishen Liu · edit · also an author?
Nothing yet.
edit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
(a) Summary of the claims and findings.
MCPP is an online planner for executing a dependency-structured (DAG) agentic workflow under a hard budget and deadline. Given per-subtask-model estimates of single-attempt success rate and generation length, it allocates models and parallel samples across ready subtasks to maximize the probability that the whole workflow completes successfully within the budget and deadline. It formulates this as a finite-horizon stochastic online allocation problem and, to avoid the Bellman state-space explosion, approximates the decision with a one-step portfolio rollout: it runs Monte Carlo simulations of continuation under a portfolio of simple base policies (model-specific Retry-k), picks the action with the highest estimated constrained completion probability, and replans after each observed outcome. The exact portfolio planner has state-wise and closed-loop safe-improvement guarantees over the best base policy in its portfolio (Theorems 3 and 5); the implemented finite-sample planner has a state-wise approximate guarantee (Theorem 6), and Corollaries 7-8 and Theorem 9 characterize the candidate-set, continuation-policy, Monte Carlo, and profile-estimation errors. On CodeFlow and ProofFlow it improves constrained completion probability over static-uniform and event-driven-retry baselines across a range of budget-deadline settings.
(b) Main strengths.
Treating budget and deadline as hard success conditions and maximizing constrained completion probability, rather than optimizing a soft performance-cost-latency frontier, is a clean and practically-aligned reframing (VZgW, KcbT). The portfolio-rollout design is a sensible way to sidestep the Bellman explosion while retaining the safe-improvement guarantees described above (VZgW credits this analysis). The evaluation on the two benchmarks is careful and includes a noise-injection study of robustness to imperfect estimates.
(c) Main weaknesses / what's missing.
A central issue is that the baselines don't isolate the contribution of the Monte Carlo lookahead, which is the paper's key algorithmic contribution. MCPP can choose a different model and rollout width for each ready node, whereas Uniform uses a single model family with a static uniform budget allocation and Retry uses a single model family with a fixed local retry width. In the ProofFlow analysis, Figures 3-4 show that expanding the available model and rollout-width portfolios consistently improves MCPP, so the comparison runs together the benefit of the richer action space with the benefit of the planning and doesn't separate the two. A profile-aware myopic scheduler over the same node-level actions would isolate the lookahead contribution; an exact-DP comparison on small workflows would separately show how close MCPP comes to the optimal constrained policy.
Two further validity gaps. The evaluation uses highly task-specific empirical profiles - the authors collect 512 executions for each evaluated model-subtask pair on a cluster of 512 H800 GPUs - and the paper doesn't describe a held-out split between profile construction and simulated execution or test profile transfer to unseen subtasks, so the noise-injection study perturbs already-highly-informed profiles rather than testing estimates obtained from related historical tasks or a learned predictor (PZHH, VZgW, KcbT). Separately, for a method built on a hard wall-clock deadline, planner time is non-trivial (up to 66.99s at M=256), Tables 2 and 3 appear inconsistent or under-specified (both discuss M=64, yet for B=$20/D=120 Table 2 reports 4.30s while Table 3 reports 17.58s - the response should clarify whether one is per decision and the other per complete workflow), and Algorithm 1 subtracts the modeled execution duration from the remaining deadline but does not visibly subtract planner computation, so it's unclear whether the reported completion probabilities include repeated online-planning latency (VZgW, KcbT).
The rest is about generality. The method applies only to fixed, acyclic, pre-specified workflows (not open-ended/ReAct/dynamic), and it's tested on just two structured code and proof workflow benchmarks with deterministic binary verifiers (PZHH, VZgW, KcbT). The transition model also assumes independent completion outcomes, and parallel execution is abstracted through an estimated batch-latency model, so behavior under correlated failures, queueing, and bounded serving concurrency isn't tested. On the fallback question, Algorithm 1 does return failure when no feasible action remains (PZHH, KcbT). Currently I don't share PZHH's concern that the method prioritizes constraint satisfaction over task completion - the stated objective is the joint event of completing the workflow successfully within both the budget and the deadline.
(d) Weaknesses that, if addressed in the response, could improve the odds of acceptance, and what I'd need to see.
In my view the priorities are: (1) add a control that isolates the lookahead - a profile-aware no-lookahead (myopic) scheduler using the same node-level candidate actions, and ideally an exact dynamic-programming optimum on small workflows to show how close MCPP comes to optimal rather than only to its base-policy portfolio; (2) clarify the profiling protocol - the split between profile construction and evaluation, the total profiling cost, and how the estimates would be obtained for unseen subtasks (the noise study perturbs already-strong profiles, so it doesn't substitute for this); (3) reconcile the runtime tables and state whether repeated planning time is charged against the deadline; and (4) scope the claims to fixed, acyclic workflows and to the assumed independent completion outcomes and abstracted parallel execution. Extending to dynamic or open-ended workflows would strengthen generality but is lower priority.
Final justification
The rebuttal addressed the key issues in the reviews and meta-review, and I recommend acceptance as a poster. Most importantly, the authors added a profile-aware myopic control with the same candidate actions as MCPP; MCPP matches or outperforms the oracle envelope over those policies, substantially resolving the attribution concern about whether the gains come from lookahead or simply a richer action space.
They also added held-out profiling and unseen-subtask transfer experiments, with MCPP retaining its advantage despite substantial profile error, and clarified the runtime discrepancy. Rerunning with planning time charged against the deadline has little effect except in the most extreme one-minute setting.
The remaining limitations - fixed DAGs, binary outcomes, independence assumptions, and lack of open-set validation - are primarily scope limitations, which the authors have agreed to state explicitly. The reviewer discussion also converged toward acceptance after the rebuttal. On balance, I believe the strengthened evidence clears the bar for a poster.
Read meta-review
Meta-review
(a) Summary of the claims and findings.
MCPP is an online planner for executing a dependency-structured (DAG) agentic workflow under a hard budget and deadline. Given per-subtask-model estimates of single-attempt success rate and generation length, it allocates models and parallel samples across ready subtasks to maximize the probability that the whole workflow completes successfully within the budget and deadline. It formulates this as a finite-horizon stochastic online allocation problem and, to avoid the Bellman state-space explosion, approximates the decision with a one-step portfolio rollout: it runs Monte Carlo simulations of continuation under a portfolio of simple base policies (model-specific Retry-k), picks the action with the highest estimated constrained completion probability, and replans after each observed outcome. The exact portfolio planner has state-wise and closed-loop safe-improvement guarantees over the best base policy in its portfolio (Theorems 3 and 5); the implemented finite-sample planner has a state-wise approximate guarantee (Theorem 6), and Corollaries 7-8 and Theorem 9 characterize the candidate-set, continuation-policy, Monte Carlo, and profile-estimation errors. On CodeFlow and ProofFlow it improves constrained completion probability over static-uniform and event-driven-retry baselines across a range of budget-deadline settings.
(b) Main strengths.
Treating budget and deadline as hard success conditions and maximizing constrained completion probability, rather than optimizing a soft performance-cost-latency frontier, is a clean and practically-aligned reframing (VZgW, KcbT). The portfolio-rollout design is a sensible way to sidestep the Bellman explosion while retaining the safe-improvement guarantees described above (VZgW credits this analysis). The evaluation on the two benchmarks is careful and includes a noise-injection study of robustness to imperfect estimates.
(c) Main weaknesses / what's missing.
A central issue is that the baselines don't isolate the contribution of the Monte Carlo lookahead, which is the paper's key algorithmic contribution. MCPP can choose a different model and rollout width for each ready node, whereas Uniform uses a single model family with a static uniform budget allocation and Retry uses a single model family with a fixed local retry width. In the ProofFlow analysis, Figures 3-4 show that expanding the available model and rollout-width portfolios consistently improves MCPP, so the comparison runs together the benefit of the richer action space with the benefit of the planning and doesn't separate the two. A profile-aware myopic scheduler over the same node-level actions would isolate the lookahead contribution; an exact-DP comparison on small workflows would separately show how close MCPP comes to the optimal constrained policy.
Two further validity gaps. The evaluation uses highly task-specific empirical profiles - the authors collect 512 executions for each evaluated model-subtask pair on a cluster of 512 H800 GPUs - and the paper doesn't describe a held-out split between profile construction and simulated execution or test profile transfer to unseen subtasks, so the noise-injection study perturbs already-highly-informed profiles rather than testing estimates obtained from related historical tasks or a learned predictor (PZHH, VZgW, KcbT). Separately, for a method built on a hard wall-clock deadline, planner time is non-trivial (up to 66.99s at M=256), Tables 2 and 3 appear inconsistent or under-specified (both discuss M=64, yet for B=$20/D=120 Table 2 reports 4.30s while Table 3 reports 17.58s - the response should clarify whether one is per decision and the other per complete workflow), and Algorithm 1 subtracts the modeled execution duration from the remaining deadline but does not visibly subtract planner computation, so it's unclear whether the reported completion probabilities include repeated online-planning latency (VZgW, KcbT).
The rest is about generality. The method applies only to fixed, acyclic, pre-specified workflows (not open-ended/ReAct/dynamic), and it's tested on just two structured code and proof workflow benchmarks with deterministic binary verifiers (PZHH, VZgW, KcbT). The transition model also assumes independent completion outcomes, and parallel execution is abstracted through an estimated batch-latency model, so behavior under correlated failures, queueing, and bounded serving concurrency isn't tested. On the fallback question, Algorithm 1 does return failure when no feasible action remains (PZHH, KcbT). Currently I don't share PZHH's concern that the method prioritizes constraint satisfaction over task completion - the stated objective is the joint event of completing the workflow successfully within both the budget and the deadline.
(d) Weaknesses that, if addressed in the response, could improve the odds of acceptance, and what I'd need to see.
In my view the priorities are: (1) add a control that isolates the lookahead - a profile-aware no-lookahead (myopic) scheduler using the same node-level candidate actions, and ideally an exact dynamic-programming optimum on small workflows to show how close MCPP comes to optimal rather than only to its base-policy portfolio; (2) clarify the profiling protocol - the split between profile construction and evaluation, the total profiling cost, and how the estimates would be obtained for unseen subtasks (the noise study perturbs already-strong profiles, so it doesn't substitute for this); (3) reconcile the runtime tables and state whether repeated planning time is charged against the deadline; and (4) scope the claims to fixed, acyclic workflows and to the assumed independent completion outcomes and abstracted parallel execution. Extending to dynamic or open-ended workflows would strengthen generality but is lower priority.
Final justification
The rebuttal addressed the key issues in the reviews and meta-review, and I recommend acceptance as a poster. Most importantly, the authors added a profile-aware myopic control with the same candidate actions as MCPP; MCPP matches or outperforms the oracle envelope over those policies, substantially resolving the attribution concern about whether the gains come from lookahead or simply a richer action space.
They also added held-out profiling and unseen-subtask transfer experiments, with MCPP retaining its advantage despite substantial profile error, and clarified the runtime discrepancy. Rerunning with planning time charged against the deadline has little effect except in the most extreme one-minute setting.
The remaining limitations - fixed DAGs, binary outcomes, independence assumptions, and lack of open-set validation - are primarily scope limitations, which the authors have agreed to state explicitly. The reviewer discussion also converged toward acceptance after the rebuttal. On balance, I believe the strengthened evidence clears the bar for a poster.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses the challenge of efficiently managing resources in agentic workflows, aiming to maximize the probability of completing successfully within a specified budget and deadline. The authors propose Monte Carlo Portfolio Planning (MCPP), which looks ahead via workflow execution simulations to estimate completion probabilities at intermediate steps and adjusts the plan based on outcomes. The authors implement MCPP and evaluate it on CodeFlow and ProofFlow benchmarks, demonstrating improvements over state-of-the-art baselines. They also evaluate their method's robustness under noisy estimates.
Strengths and weaknesses
Strengths
S1. Important problem for agentic workflow resource management
S2. MCPP is an clever approach for this use case
Weaknesses
W1. Structure rigidity limits generalizability
W2. Limited discussion of computational overhead of MCPP
W3. Questionable scalability
Detailed review
S1. Thank you for your submission! I enjoyed reading the paper and appreciate the focus on going beyond average accuracy and the cost-benefit frontier. I think this is clearly an important and timely area to work on.
S2. I find the framing as a finite-horizon stochastic allocation task, where the probability of completion is the only metric that truly matters, to be quite interesting. Monte Carlo simulations seem like a good fit for this problem and are worth exploring.
W1. The paper clearly mentions that it focuses on structured workflows. However, in the real world, agents often design their own steps (ReAct-style). This should be better explored, even at the level of a conceptual sketch of how the proposed MCPP approach could generalize to open-ended agents or if the dependency graph is not known at the start. Alternatively, if this is not done, I would expect several claims and discussions to be explicitly scoped, rather than stated unconstrained in the paper.
W2. The planner overhead is really critical to evaluate the method you proposed, and it feels a little unfortunate to have the key results pushed to the appendix. However, beyond the presentation issue, I would be more concerned about planner overhead at both ends of the spectrum rather than the average case. For very short workflows, I worry that the time spent running Monte Carlo simulations would eat into the deadline much more than the subtasks themselves. And on the other end of the spectrum, for very large workflows, I would be concerned about the resource overhead of running all these simulations. Neither of these cases are evaluated.
W3. While the authors acknowledge scalability as a possible limitation, the paper is not really addressing the problem of state-space explosion, even at a conceptual level. In this scenario, workflows would be too complex or too large, and the simulation space would not realistically allow for lightweight online planning. For example, it would be good to understand whether hybrid approaches, or even approaches that include an offline planning component, would be feasible.
(Minor) While this is not a claimed contribution, I still struggle to be convinced that the Monte Carlo simulations accurately reflect real-world execution dynamics, especially in terms of model behavior or dependencies between subtasks. This also joins the problem of obtaining realistic estimates in settings where output length, test complexity, and runtime are unknown and often heavy-tailed. The noise evaluation helps, but it still feels a little hand-wavy.
Questions
Q1. What happens when the remaining budget of time is insufficient? Is there a fallback?
Q2. What additional steps could be taken to ensure that the Monte Carlo simulations accurately reflect real-world execution dynamics, especially in terms of model behavior and subtask dependencies?
Q3. What about overhead at the two ends of the spectrum? (see main review body for details)
Q4. How would you extend your design to support less structured or more open-ended workflows?
Limitations
Yes
Final justification
This is a good paper that should be accepted. Although certain aspects highlighted in my and other reviews are borderline, the authors did a good job with the rebuttal. I would advise incorporating as much of our feedback as possible into the revised version of the paper.
Formatting concerns
No particular concerns.
4 comments
Rebuttal
Dear Reviewer KcbT, we sincerely appreciate your thoughtful review and recognition of the importance of resource management for agentic workflows. Your questions on generality, overhead, scalability, and execution fidelity have helped clarify MCPP's scope and practical implications. Below, we respond point by point and will incorporate these clarifications and results into the revision.
W1 & Q4: About extension to open-ended workflows
We thank the reviewer for highlighting this boundary. MCPP separates workflow construction from resource allocation: it receives a fixed DAG (lines 138–149), and its current guarantees apply only to this setting. Due to the space limit, we respectfully refer the reviewer to Reviewer VZgW (W4 & Q2 & Q4) for our fuller discussion of this shared concern. Briefly, ReAct-style agents could use segment-wise planning: an orchestrator constructs the currently known subworkflow, MCPP allocates resources under the remaining budget and time, and the orchestrator updates the workflow based on observed outcomes before MCPP replans. This provides an integration path but does not optimize the unknown full workflow; native planning over evolving topology requires state augmentation and new analysis. We will scope our claims accordingly and add this extension sketch.
W2 & Q3: About planner overhead at both ends of the workflow spectrum
We thank the reviewer for emphasizing that average overhead may conceal behavior at the two extremes. In the submitted evaluation, the deadline included workflow-execution time, while MCPP planning time was measured and reported separately. We agree that end-to-end deadline accounting should include both. We therefore reran all budget–deadline settings while deducting the measured duration of every planning call from the remaining time before executing the corresponding action. Due to the space limit, we respectfully refer the reviewer to Reviewer VZgW (W2 & Q3) for the complete results and the clarification that Table 2 reports per-call CodeFlow planning time whereas Table 3 reports cumulative planning time over a complete ProofFlow workflow. Briefly, charging planning time changes CodeFlow results by at most 0.1 pp and ProofFlow results with minutes by at most 0.7 pp; only the most deadline-sensitive -minute ProofFlow setting shows a larger 2.0–3.7-pp decrease.
To examine structural scaling at the other end under the default , we stratify cumulative overhead by the available DAG-size groups; each entry averages all 21 evaluated budget–deadline settings for that group. These CPU-only simulations require no additional LLM calls or GPU inference.
Planning overhead across evaluated DAG sizes
| DAG Group | Avg. Model Execution Time per Workflow (s) | Avg. Cumulative Planning Time per Workflow (s) | Avg. Node Execution Time (s) | Avg. Time per Planning Call (s) |
|---|---|---|---|---|
| ProofFlow (4–6) | 591.69 | 2.65 | 108.98 | 0.42 |
| ProofFlow (10–12) | 796.58 | 14.92 | 74.52 | 1.41 |
| CodeFlow (1–3) | 668.65 | 1.42 | 488.49 | 0.20 |
Within the evaluated range, cumulative planning time accounts for approximately 0.45% of model execution time for 4–6-node ProofFlow workflows, 1.87% for 10–12-node ProofFlow workflows, and 0.21% for 1–3-node CodeFlow workflows. These results quantify the increase in overhead across the benchmark’s observed size range, but do not establish scalability to ultra-large DAGs or ultra-short wall-clock workflows. Because Monte Carlo evaluations of candidate-action–continuation pairs are independent, they are naturally parallelizable across CPU workers; structure-aware candidate pruning and hierarchical planning are further possible extensions for substantially larger workflows. We will move this analysis into the main text, charge planning time against deadlines, and clarify per-call versus cumulative timing and the measured scope.
W3: About action-space scalability and hybrid offline–online planning
We thank the reviewer for this insightful question. Although MCPP avoids enumerating the Bellman state space, its current-action space still grows combinatorially. Our implementation already addresses this through capped candidate construction, but these details were omitted from the submission.
Let and . Full enumeration gives actions; evaluating each under continuation policies with simulations yields a per-decision workload of
The bottleneck is therefore the maximum ready-set width . For , we retain all actions. For , three randomly selected ready nodes vary independently while the others share same model–width assignments:
For , the workload is at most and no longer grows with . All full base-policy actions remain included, preserving the candidate-coverage condition for state-wise safe improvement over the base-policy portfolio; pruning loss is captured by (Corollaries 7–8). The CPU-only simulations are independent and parallelizable.
A hybrid design is also feasible: offline processing can cache or rank candidates, decompositions, or coarse values, while online MCPP performs final portfolio-rollout evaluation. Retaining all full base-policy actions preserves the state-wise guarantee; replacing Monte Carlo values with learned values requires additional approximation-error analysis. We will document this complexity and candidate construction in the revision.
Q1: About the fallback under insufficient remaining resources
Yes. MCPP has an explicit fallback when no feasible candidate action remains. At each state , it constructs the feasible candidate set .
If this set is empty, MCPP immediately returns FAILURE (Algorithm 1, lines 6–8), indicating that no action in the evaluated candidate set can be executed within the remaining budget and time. Otherwise, MCPP evaluates only feasible actions, executes the one with the highest estimated constrained completion probability, updates the remaining resources, and replans after observing the outcome.
Beyond this runtime fallback, MCPP can also provide an ex-ante probabilistic assessment under a given budget–deadline setting. For any specified budget and deadline , the same Monte Carlo mechanism can estimate the full closed-loop constrained completion probability (Appendix B.6, lines 625–635). Comparing these estimates across alternative settings can identify low-success configurations and guide resource adjustment before execution.
Minor & Q2: About whether Monte Carlo simulations faithfully model real execution dynamics
We agree that Monte Carlo estimates are only as faithful as the execution model on which they are based. To eliminate profile–evaluation reuse, we reran MCPP with three random 256/256 splits of each 512-rollout model–subtask pool. Within each split, the profiling and evaluation halves are strictly disjoint: MCPP constructs its success-rate and length profiles exclusively from the profiling half, while execution outcomes, token lengths, and latencies are sampled exclusively from the held-out half. MCPP-Split reports the mean constrained completion probability (%) across the three splits; MCPP denotes the original full-pool result.
Held-out profile-split results on ProofFlow
| Budget | Method | D=1 min | D=5 min | D=10 min | D=15 min | D=30 min | D=60 min | D=120 min |
|---|---|---|---|---|---|---|---|---|
| B=$0.05 | MCPP | 20.5 | 59.0 | 63.3 | 64.5 | 64.6 | 64.6 | 64.6 |
| MCPP-Split | 20.0 | 58.7 | 63.3 | 64.1 | 64.3 | 64.3 | 64.3 | |
| B=$1 | MCPP | 20.6 | 65.8 | 79.7 | 82.8 | 85.7 | 86.6 | 86.6 |
| MCPP-Split | 20.1 | 64.7 | 79.3 | 82.7 | 85.6 | 86.3 | 86.5 | |
| B=$20 | MCPP | 20.6 | 65.8 | 81.0 | 84.7 | 92.5 | 95.0 | 96.4 |
| MCPP-Split | 20.1 | 64.9 | 80.5 | 84.2 | 89.6 | 91.0 | 91.7 |
Held-out profile-split results on CodeFlow
| Budget | Method | D=1 min | D=5 min | D=10 min | D=15 min | D=30 min | D=60 min | D=120 min |
|---|---|---|---|---|---|---|---|---|
| B=$0.05 | MCPP | 35.4 | 50.4 | 55.5 | 58.2 | 60.1 | 60.8 | 60.8 |
| MCPP-Split | 34.1 | 48.4 | 53.8 | 56.4 | 58.7 | 59.1 | 59.1 | |
| B=$1 | MCPP | 35.4 | 54.8 | 65.6 | 71.8 | 78.8 | 83.3 | 85.2 |
| MCPP-Split | 34.1 | 52.3 | 62.7 | 68.2 | 75.4 | 79.7 | 81.7 | |
| B=$20 | MCPP | 35.4 | 54.8 | 66.6 | 73.8 | 82.4 | 89.6 | 93.4 |
| MCPP-Split | 34.1 | 52.3 | 63.3 | 69.8 | 78.2 | 84.8 | 87.9 |
On ProofFlow, the split-based results remain within 1.1 pp of the original results for budgets up to \$1, with the largest displayed difference of 4.7 pp at B=$20 and D=120 min. On CodeFlow, the differences are 1.3–5.5 pp. Thus, the overall trends are preserved under strictly held-out profiling and execution, showing that the results are not an artifact of profile–evaluation reuse.
This validation addresses sample reuse and finite-sample profile estimation, but not all forms of model misspecification. Held-out execution samples preserve the empirical variability and tail events represented in the collected rollout pools. The DAG captures precedence constraints between subtasks, but the current transition model assumes conditionally independent completion outcomes given the state and action; it therefore does not model output-conditioned or correlated dependencies among subtasks. Parallel execution is represented by an estimated batch-latency abstraction rather than an explicit queueing or bounded-concurrency simulator. More faithful extensions could use joint distributional profiles of success, token length, and latency during planning, condition transitions on upstream outputs or richer outcome categories, and calibrate the predicted full-workflow against held-out completion frequencies. We will include these results and clarify both the execution dynamics currently captured and the remaining assumptions in the revision.
Thanks for the additional experiments. The DAG-size stratification, the planning-time-charged reruns, and the held-out 256/256 splits answer W2, W3, and my minor concern.
I remain unconvinced by the runtime reconciliation. Can you please clarify if Table 3 is indeed cumulative? The text seems a bit muddy and sounds like it argues a per-call cost. If this is cumulative, the argument probably needs rewriting beyond the caption.
Keeping my score for now.
Reply to Reviewer KcbT's Follow-up
We sincerely thank the reviewer for the prompt follow-up. We would like to apologize that our previous clarification was not sufficiently precise. Regarding the remaining question: Yes, Table 3 is cumulative.
More specifically, for each complete ProofFlow workflow execution, we sum the wall-clock time of all MCPP planning calls made during that execution:
where is the number of replanning calls in execution . Table 3 then reports the mean of this cumulative per-workflow quantity across executions. It does not report the mean duration of a single planning call.
To illustrate this distinction, we further report an additional timing breakdown below. Each entry is formatted as mean cumulative planning time | mean per-call planning time; all values are in seconds. For example, the entry at $B=\$20$, minutes, and means that an execution of the complete workflow accumulates seconds of planning time on average, while one planning call takes seconds on average.
| Budget | MC samples | min | min | min | min | min | min | min |
|---|---|---|---|---|---|---|---|---|
| $B=\$0.05$ | 0.92|0.37 | 1.03|0.24 | 1.11|0.23 | 1.16|0.22 | 1.09|0.21 | 1.16|0.22 | 1.07|0.20 | |
| 1.44|0.56 | 1.75|0.37 | 1.69|0.34 | 1.60|0.31 | 1.75|0.33 | 1.77|0.34 | 1.77|0.33 | ||
| 2.40|0.93 | 2.84|0.64 | 2.94|0.57 | 2.88|0.54 | 3.01|0.56 | 2.82|0.52 | 3.02|0.57 | ||
| 4.30|1.67 | 5.14|1.11 | 5.28|1.01 | 5.50|0.97 | 5.37|0.96 | 5.35|0.95 | 5.24|0.96 | ||
| 8.18|3.16 | 9.72|2.06 | 10.11|1.86 | 10.16|1.79 | 10.28|1.81 | 10.13|1.77 | 10.18|1.77 | ||
| $B=\$1$ | 1.24|0.43 | 2.33|0.33 | 2.76|0.26 | 2.92|0.26 | 3.07|0.24 | 3.21|0.22 | 3.21|0.21 | |
| 2.21|0.75 | 3.85|0.53 | 5.02|0.48 | 5.36|0.47 | 5.63|0.43 | 5.72|0.40 | 5.81|0.38 | ||
| 3.85|1.31 | 7.29|0.99 | 9.35|0.90 | 9.88|0.87 | 10.54|0.81 | 10.95|0.77 | 11.10|0.73 | ||
| 7.24|2.40 | 14.07|1.85 | 17.90|1.73 | 19.35|1.71 | 20.18|1.57 | 20.81|1.47 | 21.49|1.43 | ||
| 14.19|4.66 | 27.65|3.56 | 36.63|3.57 | 38.10|3.41 | 39.72|3.07 | 42.68|3.03 | 43.11|2.84 | ||
| $B=\$20$ | 1.35|0.47 | 2.35|0.33 | 3.62|0.33 | 3.84|0.33 | 4.20|0.30 | 4.54|0.28 | 4.83|0.26 | |
| 2.16|0.72 | 4.45|0.61 | 6.57|0.61 | 7.01|0.60 | 7.96|0.58 | 8.46|0.52 | 9.07|0.49 | ||
| 4.04|1.34 | 8.05|1.08 | 12.48|1.17 | 13.79|1.18 | 15.84|1.15 | 16.40|1.00 | 17.58|0.94 | ||
| 7.41|2.42 | 15.99|2.09 | 24.50|2.33 | 27.04|2.33 | 30.13|2.21 | 32.35|1.97 | 34.50|1.86 | ||
| 14.38|4.68 | 29.99|3.93 | 49.16|4.69 | 51.57|4.50 | 60.87|4.51 | 64.39|3.95 | 66.99|3.64 |
We agree that resolving this ambiguity requires revising both the caption and the accompanying argument. We will therefore rewrite both the Table 3 caption and the surrounding analysis. The revised description will state:
Table 3: Constrained completion probability and cumulative MCPP planning time under different Monte Carlo budgets on ProofFlow. Each cell is formatted as mean completion probability (mean cumulative planning time per workflow execution), reported in percentage and seconds, respectively. For each execution, cumulative planning time is obtained by summing the wall-clock durations of all MCPP planning calls made during that execution and is then averaged across executions.
Correspondingly, the discussion (Appendix D.3, lines 717-722) will state:
Table 3 demonstrates constrained completion probability and mean cumulative planning wall-clock time per complete ProofFlow execution under different Monte Carlo budgets. Performance improves from small to moderate but quickly saturates, while cumulative planning time continues to increase. For example, under $B=\$20$ and minutes, increasing from 64 to 256 improves constrained completion probability only from to , but increasing mean cumulative planning time from to seconds. Thus, provides a strong quality-runtime trade-off across budget-deadline settings.
We sincerely thank the reviewer again for identifying this ambiguity. If there are any additional questions or suggestions, please do not hesitate to let us know. Your insights are invaluable to us, and we would be more than happy to engage in further discussion to improve our work.
Gentle Follow-up on Our Latest Response
Dear Reviewer KcbT,
Thank you again for engaging in the discussion and for your thoughtful follow-up comments. As the author–reviewer discussion period will close in 24 hours, we would like to kindly follow up on our latest response. We hope that it has addressed the remaining concerns.
Should any questions or concerns remain, we would be grateful for the opportunity to clarify them during the remaining discussion period.
Thank you again for your time and consideration.
Best regards, The Authors
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 4/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 addresses the problem of executing agentic workflows under hard resource constraints in real-world deployment. Unlike prior works that primarily focus on optimizing the average performance-cost-latency frontier, this paper focuses on maximizing the overall successful completion probability of a graph-structured workflow under an explicit budget and deadline.
The authors formalize constraint-driven online resource allocation for agentic workflows as a finite-horizon stochastic online allocation problem, framing resource allocation as maximizing conditional probabilities over a directed acyclic graph (DAG). To avoid the high computational cost of exact dynamic programming over large action spaces, they propose Monte Carlo Portfolio Planning (MCPP), a lightweight and closed-loop online planner. MCPP runs low-cost simulations of workflow executions to directly estimate the future constrained completion probability of candidate actions and performs receding-horizon replanning based on observed real-world outcomes.
Theoretically, the paper provides a state-wise and closed-loop safe-improvement guarantee for MCPP over any baseline policy within its portfolio, alongside analyzing its robustness boundaries under finite-sample approximations and noisy estimates (Theorem 3, Theorem 5, Corollaries 7-9). Empirically, evaluations on the CodeFlow and ProofFlow benchmarks demonstrate that MCPP consistently outperforms strong baselines, such as static uniform allocation and event-driven local retries, while maintaining low online computational overhead.
Strengths and weaknesses
Strengths:
(1) By treating cost and time as hard success conditions rather than optimizing a soft or vague average Pareto frontier, the formulation is highly practical and closely aligns with the requirements of real-world deployment.
(2) MCPP avoids finding the absolute best global solution. By introducing a portfolio of simple base policies as continuation values, it bypasses the exponentially growing Bellman state space, making online replanning computationally efficient.
(3) The paper delivers a complete theoretical analysis. Theorem 3 and Theorem 5 establish solid safe-improvement proofs for portfolio rollout planning, while Corollaries 7-9 bound the performance gaps introduced by candidate-set limitations and transition kernel discrepancies.
Weaknesses:
(1) The quality of the safe-improvement bound and long-horizon value estimation heavily depends on the diversity and coverage of the portfolio . The current experiments primarily rely on localized, symmetric heuristic rules (such as Retry- or Seq-). The paper does not deeply explore whether these simple uniform base policies remain effective when dealing with more complex workflow structures.
(2) As shown in Appendix Table 3, when the number of Monte Carlo sample scales up to 256, the mean planning time increases to tens of seconds (e.g., up to 43.11s or 66.99s). This level of overhead might become a bottleneck and challenge the feasibility of real-time production deployment.
(3) The MCPP framework fundamentally relies on well-calibrated prior estimates of single-attempt success rates and generation lengths for each subtask-model pair. In highly dynamic or zero-shot open-ended scenarios where reliable offline profiling is unavailable, inaccurate estimates could lower the performance of the planner.
(4) While the experimental evaluation on CodeFlow and ProofFlow is statistically rigorous, both benchmarks are limited to highly structured, deterministic, and logic-heavy tasks with clear binary verification. It remains unclear how the method performs in more open-ended domains where task success is non-deterministic and hard to profile offline.
Questions
(1) Is it possible to integrate the MCPP framework with online exploration? If online parameter updating is introduced, how would it affect the theoretical guarantees established in Theorem 9?
(2) The current framework operates under the assumption that the workflow graph is fixed and acyclic before execution. However, many real-world multi-agent systems leverage runtime loops for self-correction or dynamic conditional branching. How can the MCPP algorithm and its simulation-based rollout mechanism be extended to natively support graphs with cyclic dependencies or dynamic topologies?
(3) According to Table 3, when the Monte Carlo budget reaches 256, the constrained completion probability largely saturates, yet the mean planning time increases to tens of seconds. For ultra-large-scale workflows with massive branching factors, are there any potential algorithmic optimizations (e.g., hierarchical planning or state-action pruning) to reduce this planning overhead?
(4) Given that MCPP relies on predictable DAG structures and binary success feedback, how well do you expect this framework to generalize to more volatile and open-ended environments where subtask dependencies are dynamic and success criteria are less deterministic?
Limitations
yes
Final justification
The rebuttal has resolved all my concerns, and I wish to retain my original score.
Formatting concerns
No
3 comments
Rebuttal
Dear Reviewer VZgW, we appreciate your careful reading, positive assessment of MCPP, and constructive questions on portfolio coverage, profiling, scalability, and generality. We respond below and will incorporate these clarifications and new results into the revision.
W1: About the base-policy portfolio on complex workflows
We thank the reviewer for this insightful question. Because base policies are repeatedly rolled out inside Monte Carlo evaluation, they should be inexpensive and applicable at any workflow state. We therefore adopt fixed model–width policies as the base policies, since adding lookahead would create costly nested planning. We agree that these lightweight policies may provide weaker continuation values for substantially larger or more heterogeneous workflows; the guarantee still holds, but relative to a weaker portfolio and with a potentially larger .
More importantly, MCPP establishes a reusable portfolio-planning framework rather than prescribing a fixed policy family, allowing future work to directly build on it by designing, selecting, or learning stronger base-policy portfolios. Retaining each policy's current action preserves the state-wise guarantee relative to the portfolio envelope, while richer coverage can reduce at additional evaluation cost.
W2 & Q3: About planning overhead and scalability
We thank the reviewer for highlighting this issue. First, we clarify the apparent discrepancy between Tables 2 and 3. Table 2 reports per-decision planning time on CodeFlow, whereas Table 3 reports cumulative planning time across all calls in one complete ProofFlow execution. The 66.99s cited by the reviewer is therefore the sum of repeated planning calls under the largest budget–deadline setting and is not directly comparable to the per-decision values in Table 2. This distinction was missing from the original captions, and we will correct it in the revision.
In the submitted evaluation, the deadline included workflow-execution time, while MCPP planning time was measured and reported separately. We agree that end-to-end deadline accounting should include both. We therefore reran all budget–deadline settings while deducting the measured duration of every planning call from the remaining time before executing the corresponding action.
Planning-time-charged results on ProofFlow
| Budget | Method | D=1 min | D=5 min | D=10 min | D=15 min | D=30 min | D=60 min | D=120 min |
|---|---|---|---|---|---|---|---|---|
| B=$0.05 | MCPP | 20.5 | 59.0 | 63.3 | 64.5 | 64.6 | 64.6 | 64.6 |
| MCPP (Planning Time Charged) | 18.5 | 58.9 | 63.3 | 64.2 | 64.6 | 64.6 | 64.6 | |
| B=$1 | MCPP | 20.6 | 65.8 | 79.7 | 82.8 | 85.7 | 86.6 | 86.6 |
| MCPP (Planning Time Charged) | 16.9 | 65.1 | 79.4 | 82.8 | 85.5 | 86.5 | 86.6 | |
| B=$20 | MCPP | 20.6 | 65.8 | 81.0 | 84.7 | 92.5 | 95.0 | 96.4 |
| MCPP (Planning Time Charged) | 17.1 | 65.1 | 80.8 | 84.7 | 92.5 | 94.9 | 96.4 |
Planning-time-charged results on CodeFlow
| Budget | Method | D=1 min | D=5 min | D=10 min | D=15 min | D=30 min | D=60 min | D=120 min |
|---|---|---|---|---|---|---|---|---|
| B=$0.05 | MCPP | 35.4 | 50.4 | 55.5 | 58.2 | 60.1 | 60.8 | 60.8 |
| MCPP (Planning Time Charged) | 35.4 | 50.4 | 55.5 | 58.2 | 60.1 | 60.8 | 60.8 | |
| B=$1 | MCPP | 35.4 | 54.8 | 65.6 | 71.8 | 78.8 | 83.3 | 85.2 |
| MCPP (Planning Time Charged) | 35.4 | 54.8 | 65.6 | 71.8 | 78.8 | 83.3 | 85.2 | |
| B=$20 | MCPP | 35.4 | 54.8 | 66.6 | 73.8 | 82.4 | 89.6 | 93.4 |
| MCPP (Planning Time Charged) | 35.4 | 54.8 | 66.5 | 73.7 | 82.4 | 89.6 | 93.4 |
Charging planning time changes CodeFlow results by at most 0.1 pp and ProofFlow results with minutes by at most 0.7 pp. Only the extremely tight -minute ProofFlow setting shows a larger 2.0–3.7-pp decrease. Thus, end-to-end accounting does not change the main conclusions, although it becomes relevant near an extremely tight deadline boundary. The limited impact is consistent with the planning-to-execution ratios below, computed as the mean planning time per node divided by the mean node execution time.
| Benchmark | Mean Planning Time per Node | Mean Node Execution Time | Planning-to-Execution Ratio |
|---|---|---|---|
| ProofFlow | 1009 ms | 76.7 s | 1.31% |
| CodeFlow | 813 ms | 375.0 s | 0.22% |
Finally, regarding scalability, the result is a scaling study rather than our default setting of . For large branching factors, our implementation randomly selects at most three ready nodes for joint variation while retaining complete base-policy actions, and hierarchical partitioning can further control candidate growth. More complex workflows may require more samples to distinguish candidate actions, but the independent CPU-only simulations can be parallelized across additional workers, reducing wall-clock growth when more planning compute is required. We will clarify these scalability considerations and provide the corresponding implementation details in the revision. We will also apply the same end-to-end accounting consistently to all deadline-based results.
W3 & Q1: About reliance on offline profiles and online refinement
We agree that inaccurate profiles can reduce planning quality in zero-shot or cold-start settings. Our original noise-injection experiments test MCPP’s sensitivity to mismatches between planner-visible profiles and actual execution distributions (lines 285–297), but they do not evaluate profile estimation for unseen subtasks, since the clean profiles are constructed from 512 executions per model–subtask pair (Appendix C.1, lines 639–646).
To directly address this concern, we additionally evaluated MCPP in a cold-start setting where 50% of subtasks are unseen and profiled using a naive, training-free top-5 similarity-weighted estimator. Due to the space limit, we respectfully refer the reviewer to our response to Reviewer PZHH (W3) for the complete protocol and tables, and summarize the key result here. Averaged across three random masks, MCPP-Unseen remains below its matched full-profile reference by 2.5–8.2 pp on ProofFlow and 1.9–9.9 pp on CodeFlow, but outperforms the stronger of Retry and Uniform in all 21 budget–deadline settings on both benchmarks by 12.9–36.2 pp and 5.6–23.5 pp, respectively. Thus, MCPP retains a clear allocation advantage even when planning profiles must be transferred from other tasks.
Regarding online refinement, observed executions can improve future decisions when a failed subtask remains unfinished and may be retried, or when profiles are produced by a shared predictor that transfers observations from earlier subtasks to the remaining ones. Conversely, if profiles are independent across subtasks and a completed subtask is never revisited, updating its profile provides no downstream benefit.
Such passive refinement can be performed before each replanning step. Conditioned on the execution history, if the updated transition model is fixed during the current Monte Carlo evaluation and its induced rollout-value discrepancy from the true model is uniformly bounded by , Theorem 9 can be reapplied state-wise with replaced by . However, it neither guarantees that decreases through online updating nor provides a unified closed-loop guarantee for the entire adaptive process; establishing either would require additional assumptions on the estimator and update rule. Deliberately selecting actions for information gain would constitute an exploration-aware extension and is not covered by the current guarantee. We will include these results and clarify the scope of online refinement in the revision.
W4 & Q2 & Q4: About dynamic workflows and open-ended environments
Dynamic workflows. Our current formulation separates workflow construction from execution-time resource allocation: MCPP receives a fixed DAG produced by a human, an orchestrator, or a workflow-search method (lines 138–149), and its current guarantees apply to this setting. A practical extension is receding-horizon, segment-wise planning: the orchestrator instantiates the currently known subworkflow, MCPP allocates resources over it under the remaining budget and time, and the orchestrator invokes MCPP again after execution outcomes determine the next segment. This extension does not, in general, optimize the completion probability of the unknown full workflow. Bounded self-correction loops can be represented by unrolling them up to a maximum number of iterations, with later iterations conditionally activated. Native planning over unknown branches or topology changes would require augmenting the state with the current workflow structure and simulating both execution outcomes and graph evolution. This could be formalized as a finite-horizon Markov process over augmented states, but extending the current guarantees would require additional analysis.
Open-ended environments. Extending MCPP to an open-ended task requires each subtask execution to yield an observed binary completion outcome, defined for example by a task-specific metric threshold or an LLM-as-a-judge. This binary abstraction must be decision-sufficient: all outcomes labeled successful should have equivalent effects on downstream decisions, and likewise for failed outcomes. The resulting completion outcomes must also satisfy the conditional-independence assumptions used by the current transition model. Under these conditions, MCPP can be applied by estimating the corresponding completion probabilities. Otherwise, the state and transition model must be extended beyond the current binary formulation. We will clarify these conditions and scope the claims accordingly in the revision.
I appreciate the authors' efforts in addressing my questions. The rebuttal has resolved all my concerns, and I wish to retain my original score.
Thank you for your timely reply and your recognition of our work! We will make sure to include the above discussion in the final version of the paper. Once again, we would like to express our heartfelt appreciation for the time and effort you dedicated to reviewing our submission. Your insightful suggestions are undoubtedly invaluable, and we are confident that they will improve the quality of our work.
- Rating
- 4/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 proposes a Monte Carlo Portfolio Planning (MCPP) method to improve the probability that an agentic system completes a task within a given budget and deadline. The motivation is to address the practical problem of determining whether an agentic workflow can successfully complete a task under resource constraints. To achieve this, MCPP optimizes the constrained completion probability of a self-designed agentic system, assuming an orchestrator that designs the workflow and executors that have estimates of their single-attempt success probabilities and expected generation lengths. The proposed method is evaluated on two benchmark datasets and compared with two heuristic baselines.
Strengths and weaknesses
Strengths: The paper is generally well organized, and the motivation is easy to follow.
Weaknesses: The practical motivation is not fully convincing. The proposed framework appears to prioritize satisfying budget and deadline constraints over maximizing task completion, whereas, in practice, the primary objective of an agentic system is to accomplish the task successfully under resource constraints rather than optimize the resource budget itself. If the allocated is far less than a reasonable minimal budget (either time or cost) to complete the task, will the proposed method output a decision such as budget is too limited for task completion?
The assumptions regarding the orchestrator and executors are not sufficiently justified. In practice, an orchestrator typically adapts its execution plan dynamically based on intermediate observations rather than following a fixed workflow. Moreover, executors generally do not have reliable estimates of single-attempt success probabilities or expected generation lengths before execution.
Estimating these quantities requires historical execution traces or offline calibration. However, collecting such data and performing calibration incurs additional computational and financial costs, which should also be considered as part of the overall resource budget.
The experimental evaluation is limited in scope. The paper does not evaluate the proposed method on existing agentic systems, making it difficult to assess its applicability and integration into current multi-agent frameworks.
The paper lacks sufficient implementation details in several key components, making it difficult to fully understand and reproduce the proposed framework. Please refer to the questions below for specific examples.
Questions
- How are reliable historical execution traces collected, and how is the offline calibration performed?
- Which existing agentic system(s) are used in the experiments? Specifically, what orchestration framework, agent architecture, and LLMs are incorporated?
- How are the executors’ estimates of single-attempt success probability and expected generation length obtained in the experiments? If they are derived from historical executions, offline calibration, or learned prediction models, how reliable are these estimates, and how well do they generalize to unseen tasks?
Limitations
Please refer to the weaknesses.
Final justification
My concern has been fully addressed.
Formatting concerns
n/a
15 comments
Rebuttal
Dear Reviewer PZHH, we sincerely appreciate your careful reading and practical questions regarding MCPP's objective, profiling assumptions, experimental setup, and applicability. Below, we respond to each concern and will incorporate the corresponding clarifications and new results into the revised paper.
W1: About the constrained-completion objective and fallback under infeasible constraints
We thank the reviewer for raising this important practical concern. To clarify, MCPP does not prioritize satisfying the budget and deadline over task completion. Instead, its objective is the joint event of completing the workflow successfully within both the budget and the deadline. Formally, MCPP maximizes (lines 183-187); satisfying and without completing all subtasks has zero value. Regarding an excessively limited budget or deadline, MCPP can provide exactly such a signal before execution. Using the estimated success-rate and generation-length profiles, it runs Monte Carlo simulations of the full closed-loop workflow under the specified . The fraction of simulations that complete successfully estimates (Appendix B.6, lines 625-635). Thus, if the allocated budget or deadline is far below what the workflow requires, will be close to zero, directly signaling that the current budget or deadline is too limited.
W2: About the fixed-workflow assumption and dynamic orchestration
We thank the reviewer for highlighting this important distinction. Our current formulation separates workflow construction from execution-time resource allocation: MCPP receives a fixed DAG produced by a human, an orchestrator, or a workflow-search method (lines 138–149), and its current guarantees apply to this setting.
For dynamically constructed workflows, a practical extension is receding-horizon, segment-wise planning: the orchestrator instantiates the currently known subworkflow, MCPP allocates resources over it under the remaining budget and time, and the orchestrator updates the workflow based on observed outcomes before MCPP replans. This extension does not, in general, optimize the completion probability of the unknown full workflow, but provides a direct integration path when the workflow is constructed incrementally. We will clarify both the fixed-DAG scope and this segment-wise extension in the revision.
W3 & Q1 & Q3: About profile construction, reliability, and generalization to unseen subtasks
We understand the reviewer’s concern regarding the practical applicability of MCPP when reliable execution profiles are unavailable and must be estimated from historical data. In our current evaluation, the profiles are not predicted from historical tasks; we directly collect 512 executions for each evaluated model–subtask pair and compute its empirical success and generation-length statistics (Appendix C.1, lines 639–646). This controlled design isolates our central research question: given a workflow, budget, deadline, and execution profiles, how should models and parallel samples be allocated to maximize constrained completion probability (lines 146–149)? Profile estimation itself is orthogonal to our focus, with existing methods obtaining such estimates from historical evaluations, reference tasks, learned predictors, or online feedback (lines 113–127). To simulate the profile-prediction errors that may arise in practice, we conduct noise-injection experiments (lines 285–297) that perturb the planner-visible success-rate and generation-length profiles while sampling actual outcomes from the original empirical distributions.
Beyond these controlled noise experiments, we further evaluate MCPP when profiles for unseen subtasks must be predicted solely from historical data. We randomly mask 50% of the subtasks in each benchmark and use the remaining 50% as the historical profile pool. For each unseen subtask, we retrieve the top-5 most similar historical subtasks using bge-code-v1 cosine similarity and estimate each unseen subtask–model profile by a similarity-weighted average. We deliberately use this naive, training-free estimator as a conservative test of MCPP under imperfect profile transfer. Stronger estimators could further reduce profile error and improve planning, but profile estimation is complementary to our focus on resource allocation.
For MCPP-Unseen, the true profiles of masked subtasks are hidden from the planner and used only for execution and error measurement. We repeat the experiment with three random masks and report the mean ± standard deviation. For a matched comparison, MCPP-Full is recomputed using the full profiles under the same mask-specific evaluation runs; it is therefore a matched reference rather than the original main-table MCPP result. Success-rate MAE is measured in pp, and token-length MAE in tokens.
| Benchmark | Success-rate MAE (pp) | Token-length MAE |
|---|---|---|
| ProofFlow | 22.418±1.125 | 1550.7±85.2 |
| CodeFlow | 21.868±0.320 | 2371.7±48.3 |
The constrained completion probabilities (%) under unseen-profile transfer are reported below.
Results on ProofFlow
| Budget | Method | D=1 min | D=5 min | D=10 min | D=15 min | D=30 min | D=60 min | D=120 min |
|---|---|---|---|---|---|---|---|---|
| B=$0.05 | MCPP-Full | 22.3 | 60.8 | 65.8 | 66.6 | 66.6 | 66.6 | 66.6 |
| MCPP-Unseen | 14.5 | 54.1 | 58.9 | 59.8 | 59.8 | 59.8 | 59.9 | |
| Retry | 1.3 | 25.5 | 38.1 | 43.1 | 45.0 | 45.0 | 45.0 | |
| Uniform | 0.7 | 14.4 | 21.2 | 21.8 | 21.9 | 21.9 | 21.9 | |
| B=$1 | MCPP-Full | 22.3 | 66.1 | 80.1 | 83.0 | 86.3 | 87.1 | 87.2 |
| MCPP-Unseen | 14.2 | 59.1 | 74.3 | 79.4 | 82.3 | 83.7 | 84.7 | |
| Retry | 1.3 | 25.6 | 39.0 | 45.4 | 51.8 | 55.4 | 59.1 | |
| Uniform | 0.0 | 3.3 | 16.6 | 30.3 | 55.8 | 55.8 | 55.8 | |
| B=$20 | MCPP-Full | 22.3 | 66.0 | 81.2 | 84.6 | 92.5 | 95.1 | 96.5 |
| MCPP-Unseen | 14.2 | 59.0 | 75.2 | 80.5 | 85.4 | 88.3 | 90.3 | |
| Retry | 1.3 | 25.6 | 39.0 | 45.4 | 51.8 | 55.7 | 59.1 | |
| Uniform | 0.0 | 0.2 | 6.4 | 18.5 | 66.5 | 68.8 | 68.4 |
Results on CodeFlow
| Budget | Method | D=1 min | D=5 min | D=10 min | D=15 min | D=30 min | D=60 min | D=120 min |
|---|---|---|---|---|---|---|---|---|
| B=$0.05 | MCPP-Full | 36.2 | 50.1 | 55.0 | 57.4 | 59.4 | 60.1 | 60.2 |
| MCPP-Unseen | 32.2 | 46.3 | 51.5 | 54.7 | 57.3 | 58.2 | 58.3 | |
| Retry | 22.5 | 30.9 | 34.7 | 36.4 | 38.8 | 40.6 | 40.6 | |
| Uniform | 18.7 | 31.9 | 35.0 | 35.5 | 37.5 | 37.5 | 37.5 | |
| B=$1 | MCPP-Full | 36.2 | 54.2 | 65.0 | 71.3 | 78.8 | 83.0 | 84.7 |
| MCPP-Unseen | 32.2 | 48.2 | 56.4 | 62.7 | 70.8 | 76.9 | 80.4 | |
| Retry | 22.5 | 30.9 | 34.7 | 36.4 | 43.7 | 53.8 | 61.7 | |
| Uniform | 14.3 | 24.7 | 29.3 | 39.3 | 53.4 | 62.3 | 65.3 | |
| B=$20 | MCPP-Full | 36.2 | 54.3 | 66.1 | 73.3 | 82.4 | 89.5 | 93.3 |
| MCPP-Unseen | 32.2 | 48.2 | 56.8 | 63.5 | 72.6 | 80.1 | 85.3 | |
| Retry | 22.7 | 30.9 | 35.0 | 36.7 | 43.7 | 53.8 | 61.8 | |
| Uniform | 14.3 | 24.5 | 28.1 | 40.3 | 56.6 | 73.3 | 79.7 |
Across three masking seeds, MCPP-Unseen trails its matched MCPP-Full reference by 2.5–8.2 pp on ProofFlow and 1.9–9.9 pp on CodeFlow, yet outperforms the stronger of Retry and Uniform in all 21 settings by 12.9–36.2 pp and 5.6–23.5 pp, respectively. Thus, MCPP retains a substantial advantage even when profiles are estimated entirely from other subtasks. We will include the complete details and results in the revision.
W4: About the computational and financial cost of offline profiling
We agree that the offline profiling cost should be explicitly reported. As described in Appendix C.1 (lines 639–646), we collect 512 executions for each model–subtask pair on a 512-H800 cluster, with each rollout using 8 GPUs. The profiling scale and wall-clock time across all evaluated models and subtasks are:
| Benchmark | Total Tokens | Wall-Clock Time (h) |
|---|---|---|
| ProofFlow | 0.96 | |
| CodeFlow | 1.01 |
Importantly, this exhaustive collection is a one-time experimental profiling cost, whereas is the online budget for one workflow execution. Offline profiles can be reused and amortized rather than charged in full to every workflow. In deployment, profiles can also be estimated from historical evaluation or serving data, such as LMArena, OpenRouter, or privacy-compliant provider logs, without rerunning every new subtask 512 times. We will add these profiling details and costs to the revision.
W5 & W6 & Q2: About existing agentic systems and implementation details
We clarify that our experiments do not use a particular orchestration framework or agent architecture. This is deliberate: our problem begins after a workflow is given and asks how to allocate models and parallel samples under a budget and deadline (lines 138–149). ProofFlow and CodeFlow provide fixed dependency-structured workflows (lines 231–240), allowing us to avoid the additional decoding randomness and architectural confounders introduced by end-to-end agentic systems and thereby evaluate the resource-allocation policy in a controlled and reproducible environment. Although our evaluation is deliberately framework-independent, MCPP can be inserted between an orchestrator and its executors as a plug-in resource allocator whenever the workflow state, execution profiles, budget, and deadline are exposed.
Regarding the incorporated LLMs, the benchmark-specific executor and model configurations are detailed in Appendix C.1–C.2 (lines 639–674). We will clarify this setup and integration interface in the revision.
W1: About the constrained-completion objective and fallback under infeasible constraints
As I appear to be the only reviewer raising this concern, I would like to explain it further.
First, I understand that (lines 183–187) balances task completion and budget. Consequently, Algorithm 1 can indicate whether a preassigned budget is likely to result in task failure.
My concern about the prioritize satisfying budget and deadline constraints over maximizing task completion arises from the perspective of a potential downstream decision-maker, , who wishes to adopt the proposed method when deploying agentic workflows.
-
Suppose prioritizes task completion. After observing a failure, may take further action. For example, progressively increasing the budget until the task succeeds. However, the current method appears to report only whether the task succeeds or fails. It does not seem to estimate how much additional budget would be required to turn a failure into a success. A failure outcome does not necessarily imply that this failure is caused by the limited budget; it may instead result from other factors. Is this interpretation correct, or have I overlooked a relevant part of the method?
-
Suppose prioritizes budget. I assume this represents a user with a fixed or limited budget who wants to determine which tasks are feasible within that constraint. In this setting, however, the collection of possible tasks may be an open set, making the decision problem considerably more complex. How is the proposed method intended to support this use case?
-
Finally, suppose has no strict priority between budget and task completion. Could the authors provide realistic case studies demonstrating the concrete benefits that the proposed method offers to such a decision-maker in practice, particularly compared with existing approaches or decision-making without the method?
Reply to Reviewer PZHH’s Follow-Up
We sincerely thank the reviewer for the thoughtful follow-up and detailed clarification. We appreciate this opportunity for further discussion. It highlights a distinction between the execution-level optimization studied by MCPP and the downstream user-level choice among tasks, resources, and reliability levels that we may not have explained clearly.
More precisely, for a given workflow, and are externally specified constants fixed before planning. They are inputs to MCPP, not variables optimized by it; the only optimization variable is the execution policy :
Accordingly, does not balance task completion against resources. At each fixed resource point, MCPP improves execution relative to its base-policy portfolio: our theory establishes safe improvement under the stated assumptions and approximation terms, and our experiments show that MCPP achieves higher completion probabilities than the compared baselines across the evaluated settings.
Importantly, MCPP does not provide only a binary prediction. A realized execution returns SUCCESS or FAILURE, but Appendix B.6 (lines 625–635) defines the ex-ante estimate as the fraction of simulated workflows that complete successfully within the specified budget and deadline. Once profiles are available, this quantity can be evaluated for any user-specified budget–deadline setting through CPU-only simulations under the profiled execution model, without additional model or tool executions (Appendix C.2, lines 663–674).
As a concrete example, below is a representative subset of estimates for CodeFlow task 1815D (XOR Counting):
| Fixed budget: $0.20 | D=3 min | D=4 min | D=8 min | D=10 min | D=12 min |
|---|---|---|---|---|---|
| 25% | 40% | 56% | 61% | 74% |
| Fixed deadline: 4 min | B=$0.02 | B=$0.10 | B=$0.20 | B=$0.50 | B=$0.70 |
|---|---|---|---|---|---|
| 3% | 21% | 40% | 53% | 64% |
We believe the reviewer’s three scenarios are best understood not as separate objectives optimized by MCPP, but as different downstream selection rules over the same decision-support map. More generally, for a supplied task and workflow , MCPP provides
while optimizing the execution policy conditional on the fixed inputs . Each of the reviewer’s three scenarios becomes a complete decision problem only after preferences or constraints over the remaining dimensions are specified: prioritizing completion requires a target success rate and a specification of which resources may change; prioritizing budget still requires a deadline and an acceptable success rate level; and having no strict priority requires a user-specific utility over cost, latency, and success rate. These preferences are imposed by the downstream user rather than optimized by MCPP.
For CodeFlow task 1815D, starting from (\$0.20, 4 min, 40%), a user targeting a completion probability of 60% can observe two tested alternatives: along the fixed-budget sweep, extending the deadline by 6 minutes yields (\$0.20, 10 min, 61%); along the fixed-deadline sweep, increasing the budget by $0.50 yields (\$0.70, 4 min, 64%). Which option is preferable depends on the user’s relative valuation of monetary cost and latency. If resources are fixed instead, the 40% estimate can serve as a feasibility score for this task. For a stream of arriving tasks, MCPP can similarly evaluate each supplied task once its workflow and profiles are available, supporting admission control without requiring the task collection to be enumerated in advance. MCPP does not search or generate the open task space; it provides a simulation-based feasibility estimate for each supplied task.
After a failed attempt or partial execution, the same map can be recomputed from the updated workflow state under candidate additional resources. Since execution is stochastic, no resource increase generally guarantees success; the map instead estimates which additional-resource configurations reach the user’s chosen success rate threshold.
Thus, the three scenarios are different uses of the same MCPP output rather than different MCPP objectives. MCPP does not prescribe which option the user should prefer. Its contribution is to improve the execution policy and estimate completion probability for each queried task and resource setting, while leaving the preference-dependent choice to the user.
We will clarify this practical interface and scope in the revision. If there are additional questions or suggestions, please do not hesitate to let us know. Your insights have been invaluable in helping us sharpen the motivation and presentation of our work, and we would be more than happy to engage in further discussion.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to the Initial Meta-Review
Dear Area Chair,
We sincerely thank you for the careful and constructive initial meta-review. We particularly appreciate your synthesis of the shared concerns into concrete, high-value rebuttal priorities. Your suggestion of a profile-aware myopic control over the same node-level actions, for example, directly motivated an important new experiment that more cleanly isolates MCPP's lookahead.
As these priorities bring together concerns raised by multiple reviewers, we use them to structure a consolidated response that presents the relevant evidence and clarifications in one place. We add a matched myopic control and an exact-DP tractability analysis, evaluate held-out profiling and unseen-subtask transfer, correct end-to-end planning-time accounting, and explicitly scope the framework's claims and assumptions.
P1: About isolating the contribution of lookahead
We agree that Uniform and Retry do not fully separate portfolio lookahead from profile-aware local selection. We therefore adapt EvoRoute [1] as a matched myopic baseline. EvoRoute receives the same success-rate, cost, and latency profiles as MCPP, with the three utility terms normalized before weighting. We evaluate the seven non-equivalent configurations induced by wS,wB,wD∈0.1,1.0 after removing globally rescaled duplicates. Each defines a myopic policy that assigns one (model,k) choice to every ready node using immediate utility, without simulating downstream execution.
For a strictly matched control, MCPP's candidate set is restricted to the joint actions induced by these same seven policies, which also form its continuation-policy portfolio. Thus, MCPP has no additional current action or profile information. EvoRoute-Oracle is a deliberately strong post-hoc, instance-wise oracle envelope over the seven fixed policies, whereas MCPP selects online among their induced actions using portfolio-rollout values. The MCPP results below are recomputed under this matched setup; all seven individual configurations will be included in the revision.
Results on ProofFlow
At displayed precision, MCPP matches or outperforms EvoRoute-Oracle in all 21 settings, with gains up to 7.8 pp. On unrounded results, MCPP outperforms it in 20 settings and is lower by only 0.02 pp in one.
Results on CodeFlow
MCPP outperforms EvoRoute-Oracle in all 21 settings by 1.5–12.2 pp. Since EvoRoute-Oracle selects the oracle-best fixed policy for each instance and MCPP has no action outside the same policy family, these results isolate the value of state-dependent portfolio rollout over the matched myopic policies, rather than favorable weights or a richer current action space.
Regarding exact DP, we appreciate the motivation behind this suggestion: an exact optimum would provide a valuable absolute reference beyond comparison with the base-policy portfolio. We therefore examined its tractability under the same stochastic resource model used in our evaluation. Under this model, a two-ready-node ProofFlow instance has q=3×4=12 model–width choices per node and hence q2=144 joint actions. Each action has up to 22=4 binary completion subsets, yielding 144×4=576 action–completion terms per state. With at most N remaining decision rounds, naive recursion can grow as O(576N) before state merging. Memoization helps, but different action sequences produce many distinct completed-set and residual-budget/deadline states. A tractable toy solver would require reducing the action or resource support, coarsening the resource state, or imposing a shallow horizon, and would therefore not provide an exact optimum for the evaluated setting. We present this tractability analysis as context and rely on the matched myopic control as the direct isolation experiment. We will add both in the revision.
P2: About profiling protocol, held-out evaluation, and unseen-subtask transfer
We agree that noise injection alone neither removes profile/evaluation sample reuse nor tests transfer to unseen subtasks. We therefore add two complementary evaluations.
First, we create three random 256/256 splits of every 512-rollout model–subtask pool. Profiles use only one half, while outcomes, lengths, and latencies are sampled only from the disjoint half. The complete 42-setting results are in Reviewer KcbT (Minor & Q2). The differences from full-pool MCPP are at most 1.1 pp on ProofFlow for budgets up to $1 (4.7 pp maximum overall) and 1.3–5.5 pp on CodeFlow, preserving the main trends under strictly held-out execution.
Second, across three masks, we treat 50% of subtasks as unseen and predict their profiles from the other 50% using a naive, training-free top-5 bge-code-v1 similarity-weighted estimator. True masked profiles remain hidden from the planner and are used only for execution and error measurement; the full-profile reference is recomputed on the same mask-specific runs. Full protocol, errors, and 42-setting tables appear in Reviewer PZHH (W3 & Q1 & Q3). Despite success-rate MAEs of 22.42 pp on ProofFlow and 21.87 pp on CodeFlow, and token MAEs of 1550.7 and 2371.7 tokens, respectively, MCPP-Unseen outperforms the stronger of Retry and Uniform in every setting by 12.92–36.22 pp and 5.62–23.48 pp, respectively.
We also report the profiling cost in Reviewer PZHH (W4): 5.04×109 tokens and 0.96 h of cluster wall-clock time for ProofFlow, and 6.02×109 tokens and 1.01 h for CodeFlow. This reusable offline cost is distinct from one workflow's online budget; deployment profiles may instead be estimated and amortized from historical evaluation or serving data. We will clearly separate profile construction from evaluation and include both new experiments.
P3: About planning-time accounting and runtime-table consistency
We clarify that Table 2 reports per-decision CodeFlow planning time, whereas Table 3 reports cumulative planning time over a complete ProofFlow execution. Thus, 4.30 s and 17.58 s under M=64, a budget of $20, and a 120-minute deadline are not comparable; likewise, 66.99 s at M=256 is cumulative rather than one-call latency. We will correct both captions.
The submitted evaluation reported planning time separately from the execution deadline. We agree that strict end-to-end accounting should include it, and reran all settings while deducting each planning call's measured duration before action execution. Complete 42-setting results are in Reviewer VZgW (W2 & Q3). The change is at most 0.1 pp on CodeFlow and 0.7 pp on ProofFlow for deadlines of at least 5 minutes; only the 1-minute ProofFlow setting drops by 2.0–3.7 pp. Mean planning-to-execution ratios are 1.31% and 0.22%, respectively.
We further stratify overhead by DAG size in Reviewer KcbT (W2 & Q3): cumulative planning is 0.45% of execution time for 4–6-node ProofFlow, 1.87% for 10–12-node ProofFlow, and 0.21% for 1–3-node CodeFlow. We will distinguish per-call from cumulative timing, deduct planning time in Algorithm 1 and all deadline-based results, and move end-to-end runtime analysis into the main text.
P4: About scope, execution-model assumptions, and generality
We agree to scope the claims to fixed, finite DAGs; binary outcomes; conditionally independent completion events given the state and action; and parallel latency represented by an estimated batch-latency abstraction. Our current guarantees apply only to this setting, and our experiments on ProofFlow and CodeFlow do not establish performance on dynamic, open-ended, correlated-failure, or queueing-constrained environments.
As detailed in Reviewer VZgW (W4 & Q2 & Q4) and Reviewer KcbT (W1 & Q4; Minor & Q2), dynamically revealed workflows could use segment-wise planning: an orchestrator constructs the known subworkflow, MCPP plans under the remaining budget and time, and replans after the workflow is updated. This does not optimize the unknown full workflow; native evolving-topology planning requires an augmented state and new analysis. For open-ended tasks, a metric or calibrated LLM-as-a-judge must provide a decision-sufficient binary outcome signal; heterogeneous outcomes require richer outcome-conditioned transitions, while correlated failures require a joint or latent-variable model. Serving-aware duration estimates could replace Δ(a), but the present experiments do not model queueing, contention, or bounded concurrency.
We will narrow the abstract, introduction, method discussion, limitations, and conclusion accordingly, and state these assumptions alongside the formal problem definition.
[1] EvoRoute: Experience-Driven Self-Routing LLM Agent Systems. ACL2026 Main