potentialpaper

Generalizing Test-time Compute-optimal Scaling as an Optimizable Graph

Fali Wang, Jihai Chen, Shuhua Yang, Runxue Bao, Zhiwei Zhang, Tianxiang Zhao, Hui Liu, Xianfeng Tang, Qi He, Suhang Wang

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. We introduce Agent-REINFORCE, an LLM-agent framework that efficiently searches compute-optimal multi-LLM collaboration graphs for test-time scaling under fixed budgets, achieving better accuracy–latency trade-offs than existing methods.

Abstract. Test-Time Scaling (TTS) improves large language models (LLMs) by allocating additional computation during inference, typically through parallel, sequential, or hybrid scaling. However, prior studies often assume fixed collaboration architectures (e.g., topologies) and single-model usage, overlooking that optimal architectures and model combinations can vary across tasks. Therefore, we study the novel problem of \textit{searching for compute-optimal model combinations and architectures in TTS under a fixed budget.} We formalize it as a multi-LLM collaboration graph, where nodes encode roles and LLM model assignments, and edges capture information flow. This problem is challenging because (i) the combinatorial search space is prohibitively large, and (ii) task-specific requirements demand tailored designs. To this end, we formulate the problem as probabilistic graph optimization and, via pilot experiments, derive three empirical insights into TTS collaboration graphs. Guided by these insights, we propose Agent-REINFORCE, an LLM-agent-augmented framework that mirrors the REINFORCE pipeline by mapping \emph{sampling–gradient–update} to \emph{sampling–feedback–update}, where feedback serves as a textual gradient to update the probabilistic graph and efficiently search for optimal multi-LLM collaboration graphs. Experiments show that Agent-REINFORCE outperforms both traditional and LLM-based baselines in sample efficiency and search performance, and effectively identifies optimal graphs under joint objectives of accuracy and inference latency.

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

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

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

The paper frames test-time compute scaling as an optimizable multi-LLM collaboration graph, where nodes encode model-role assignments and edges represent information flow, addressing the combinatorial challenge of jointly optimizing model selection and architecture under fixed computational budgets. It introduces Agent-REINFORCE, an LLM-agent framework that replaces REINFORCE gradients with textual feedback to update a probabilistic graph. With this a better accuracy-latency trade-off is achieved compared to traditional and LLM-based baselines.

Strength:

  • The paper targets the practical bottleneck of dynamically allocating test-time compute across heterogeneous models and architectures under fixed budgets to optimize accuracy-latency trade-offs. -The graph abstraction (nodes = models/roles; edges = information flow) is intuitive and unifies prior test-time scaling paradigms (parallel, sequential, hybrid) into a single optimizable framework.

Weaknesses:

  • The putative core contribution, searching multi-LLM collaboration graphs under compute budgets, has been explored in the literature before and the relative positioning of the paper with respect to this prior art remains somewhat unclear and/or possibly overstated
  • The test sets are small (MATH: 100 test samples; MMLU: 100 test samples; HumanEval: limited samples), and the main results lack multi-seed results, confidence intervals, and significance tests.
  • The search cost dominates inference cost, yet the paper omits detailed computational cost analysis
  • The substitution of textual feedback for numerical gradients lacks theoretical justification: is this a mathematically bounded approximation or a heuristic relying on LLM capabilities?

Recommendations for revisions:

  • Explicitly position Agent-REINFORCE relative to prior dynamic workflow methods (Flow, MASFly, Polymath, Heterogeneous Swarms) and either narrow the made claims or expand to agentic benchmarks (e.g., long-horizon planning, tool use, environment interaction)
  • Add multi-seed results, confidence intervals, and significance tests for main experiments to validate performance claims
  • Provide theoretical grounding for textual-gradient substitution (e.g., convergence guarantees, approximation bounds) or reframe it as a heuristic with empirical validation,
  • Discuss applicability limits (e.g., prompt sensitivity, benchmark-specific priors, risks of LLM-agent search like prompt injection)
  • Evaluate sensitivity to LLM-agent choice (e.g., replace DeepSeek-R1 with smaller/open models) to demonstrate robustness beyond specific agents
Final justification

Recommendation: Accept (marginally)

I have read the authors' response and the reviewers' post-rebuttal comments. The response addressed most concerns from my initial meta-review. The authors narrowed the contribution to budget-constrained, solution-level test-time scaling; added comparisons with recent workflow-search methods; reported results across five runs with confidence intervals; separated offline search from deployment cost; tested alternative search models; and clarified graph execution and pruning. They also correctly reframed “textual gradients” as an LLM-guided heuristic rather than a true or bounded gradient method.

Two reviewers remained at borderline accept and explicitly judged that their main concerns had been addressed. One reviewer remained at borderline reject and did not provide a post-rebuttal assessment. The main remaining concerns are the narrower and partly incremental contribution, the limited benchmark scale, and dependence on strong instruction-following search models.

On balance, I recommend marginal acceptance. The response provides enough additional evidence and clearer positioning to move the paper just above the threshold. The final paper should include all new experiments, retain the narrower claims, clearly state the method's limitations, and reconcile the differing search and inference cost values reported across the rebuttal tables.

This decision is based only on the written reviews, author response, and discussion recorded in OpenReview. I used no off-record correspondence or other additional information.

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

The paper frames test-time compute scaling as an optimizable multi-LLM collaboration graph, where nodes encode model-role assignments and edges represent information flow, addressing the combinatorial challenge of jointly optimizing model selection and architecture under fixed computational budgets. It introduces Agent-REINFORCE, an LLM-agent framework that replaces REINFORCE gradients with textual feedback to update a probabilistic graph. With this a better accuracy-latency trade-off is achieved compared to traditional and LLM-based baselines.

Strength:

  • The paper targets the practical bottleneck of dynamically allocating test-time compute across heterogeneous models and architectures under fixed budgets to optimize accuracy-latency trade-offs. -The graph abstraction (nodes = models/roles; edges = information flow) is intuitive and unifies prior test-time scaling paradigms (parallel, sequential, hybrid) into a single optimizable framework.

Weaknesses:

  • The putative core contribution, searching multi-LLM collaboration graphs under compute budgets, has been explored in the literature before and the relative positioning of the paper with respect to this prior art remains somewhat unclear and/or possibly overstated
  • The test sets are small (MATH: 100 test samples; MMLU: 100 test samples; HumanEval: limited samples), and the main results lack multi-seed results, confidence intervals, and significance tests.
  • The search cost dominates inference cost, yet the paper omits detailed computational cost analysis
  • The substitution of textual feedback for numerical gradients lacks theoretical justification: is this a mathematically bounded approximation or a heuristic relying on LLM capabilities?

Recommendations for revisions:

  • Explicitly position Agent-REINFORCE relative to prior dynamic workflow methods (Flow, MASFly, Polymath, Heterogeneous Swarms) and either narrow the made claims or expand to agentic benchmarks (e.g., long-horizon planning, tool use, environment interaction)
  • Add multi-seed results, confidence intervals, and significance tests for main experiments to validate performance claims
  • Provide theoretical grounding for textual-gradient substitution (e.g., convergence guarantees, approximation bounds) or reframe it as a heuristic with empirical validation,
  • Discuss applicability limits (e.g., prompt sensitivity, benchmark-specific priors, risks of LLM-agent search like prompt injection)
  • Evaluate sensitivity to LLM-agent choice (e.g., replace DeepSeek-R1 with smaller/open models) to demonstrate robustness beyond specific agents
Final justification

Recommendation: Accept (marginally)

I have read the authors' response and the reviewers' post-rebuttal comments. The response addressed most concerns from my initial meta-review. The authors narrowed the contribution to budget-constrained, solution-level test-time scaling; added comparisons with recent workflow-search methods; reported results across five runs with confidence intervals; separated offline search from deployment cost; tested alternative search models; and clarified graph execution and pruning. They also correctly reframed “textual gradients” as an LLM-guided heuristic rather than a true or bounded gradient method.

Two reviewers remained at borderline accept and explicitly judged that their main concerns had been addressed. One reviewer remained at borderline reject and did not provide a post-rebuttal assessment. The main remaining concerns are the narrower and partly incremental contribution, the limited benchmark scale, and dependence on strong instruction-following search models.

On balance, I recommend marginal acceptance. The response provides enough additional evidence and clearer positioning to move the paper just above the threshold. The final paper should include all new experiments, retain the narrower claims, clearly state the method's limitations, and reconcile the differing search and inference cost values reported across the rebuttal tables.

This decision is based only on the written reviews, author response, and discussion recorded in OpenReview. I used no off-record correspondence or other additional information.

1 comment
Authors · CommentOpenReview ↗

Response to MetaReview

Thank you for the constructive meta-review. We address each concern below.

Positioning and scope

Flow, MASFly, Polymath, and Heterogeneous Swarms have already studied adaptive workflow graphs and heterogeneous multi-LLM optimization. We therefore no longer present graph-based collaboration itself as novel. Our contribution is more specific: budget-constrained search over heterogeneous, solution-level TTS graphs. Unlike agentic workflows that organize distinct subtasks, tools, or roles, our nodes allocate additional computation to the same query through generation, refinement, and fusion. We also optimize the trade-off between model size and invocation count under explicit FLOPs or monetary budgets. Accordingly, our claims do not extend to task decomposition, tool use, long-horizon planning, or environment interaction.

Robustness on small evaluation sets

We reran all main experiments with five random seeds and report means with 90% confidence intervals in the Table provided in our response to Reviewer Vc2o, Q5. Agent-REINFORCE achieves 57±5.257 \pm 5.2 on MATH, 60.4±5.160.4 \pm 5.1 on MMLU, and 72±4.272 \pm 4.2 on HumanEval, while retaining substantially lower inference latency than the baselines. The multi-seed results demonstrate the robustness of our findings and confirm that the main conclusions remain valid.

Search and amortized deployment cost

We separate search-agent generation, candidate execution, and final inference cost. The first two are one-time offline costs; deployment uses only the selected fixed graph. On MATH and MMLU, agent generation accounts for 67% and 87% of the total search time, respectively. The total search times are 804 s, 493 s, and 300 s for MATH, MMLU, and HumanEval, while final inference takes 17.3 s, 8.0 s, and 4.9 s per query, respectively. At 100 deployment queries, the amortized search overhead is 8.04 s, 4.93 s, and 3.00 s per query; at 1,000 queries, it decreases to 0.804 s, 0.493 s, and 0.300 s. Detailed results are provided in our response to Reviewer ePht, W3/Q3. Thus, the method is most appropriate for repeated queries from a stable distribution and may not be cost-effective for one-off tasks.

Applicativity

The method is task-specific and may be sensitive to prompts, model pools, budgets, and distribution shifts. Based on the amortization analysis, it is less suitable for one-off queries, rapidly changing domains, or untrusted agentic environments without additional prompt isolation and output validation.

Theoretical status of textual feedback

Textual feedback is neither mathematically equivalent to the REINFORCE gradient nor a theoretically bounded approximation of it. Agent-REINFORCE is more accurately described as an RL-inspired, derivative-free heuristic optimizer. The LLM can jointly interpret task characteristics, graph structures, prior evaluations, and TTS insights, enabling coordinated, non-local changes to optimize. This may improve exploration efficiency relative to local, incremental scalar-gradient updates.

Search-agent sensitivity

Replacing DeepSeek-R1 with DeepSeek-V3 and Doubao-1.5-Pro yields MATH accuracies of 50 and 51, respectively, compared with 56 for DeepSeek-R1. LLaMA-3-70B failed to reliably produce valid step-wise graph updates. Detailed results are provided in our response to Reviewer ePht, Q4. These results show that the framework is not specific to DeepSeek-R1, although its effectiveness depends on the search agent's reasoning and instruction-following capabilities.

We hope these responses address the concerns raised in the meta-review.

Reviewer ePhtOpenReview ↗
Rating
4/6
Confidence
3/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 work proposes a framework that unifies test-time scaling as an optimizable collaborative graph for multiple LLMs. It jointly models model selection, node role assignment and information flow topology during inference, and searches for task-optimal graph structures under a fixed computational budget.

Methodologically, this paper presents Agent-REINFORCE, which leverages LLM agents to initialize candidate graphs, perform sampling, and update distributions based on textual feedback. Experimental results show that the proposed approach outperforms traditional search methods, gradient-based graph optimization and LLM-driven optimization baselines across various tasks and budget configurations. It also supports extensions to joint accuracy-latency optimization and dollar-cost budget scenarios.

Strengths and weaknesses

As computational allocation during LLM inference grows increasingly critical, selecting appropriate model combinations and inference topologies under given budgets is a practical and valuable research problem. This paper unifies parallel sampling, sequential refinement and hybrid structures from the perspective of graph optimization, with a clear problem formulation. The overall pipeline of Agent-REINFORCE is complete, consisting of agent, environment and archive modules. The algorithm elaborates the procedures of candidate graph sampling, feedback collection and distribution update.

Experiments are conducted on MATH, MMLU and HumanEval, with comparisons against multiple baselines including Random, BO, GPTSwarm, MaaO and TextGrad. Main results, ablation studies, performance under various budgets and latency-aware objectives are all presented.

However, existing evidence is insufficient to fully validate the claimed generalization and optimality. First, the experimental datasets are relatively small: MATH uses 750 training and 100 test samples; MMLU adopts 285 training and 100 test samples; HumanEval employs 128 samples for training and the rest for testing. Second, although 10-run averages and 90% confidence intervals are reported in pilot analyses, main results lack multi-seed results, confidence intervals and significance tests. Third, searching with LLM agents incurs non-trivial overhead. As the authors note, trial generation dominates total search time, yet detailed analysis on computational cost is missing.

Questions

Please elaborate on the core technical differences between Agent-REINFORCE and GPTSwarm, TextGrad as well as conventional LLM-guided black-box optimization. Fine-grained ablation studies verifying that the probabilistic graph and insight-driven textual update outperform naive prompt-based search or randomly initialized LLM optimizers will improve the scores for originality and quality.

Add results with multiple random seeds, confidence intervals and significance tests for main experiments. Given merely 100 test samples for MATH and MMLU, and even fewer for HumanEval, single-run results cannot confirm stable performance gains. Consistent advantages across multiple data splits and seeds will raise the quality score.

Clearly distinguish search cost, agent cost and final inference cost. Search overhead can be amortized for applications with numerous queries, yet it may undermine the conclusion of computational optimality for one-off tasks. We suggest reporting amortized cost curves under different query volumes.

Evaluate the sensitivity to LLM search agents by replacing DeepSeek-R1 with smaller or alternative agent models, and check the stability of search performance. This experiment can verify whether the method relies on the prior knowledge and planning capabilities of specific powerful agents.

Limitations

First, the test sets in main experiments are small, leading to poor statistical stability. Second, the method relies heavily on prompt design and inherent capabilities of LLM agents, which may cause issues in reproducibility and transferability. Third, the distinction between search-time cost and deployment-time inference cost needs to be clarified. Fourth, the paper should discuss potential risks of LLM-agent-based automatic architecture search, including prompt injection, task description bias and benchmark-specific priors.

Final justification

Thank you for the detailed rebuttal and the additional experiments. The new multi-seed results, cost decomposition, ablation studies, and search-agent sensitivity analysis address most of my questions and substantially improve my understanding of the method.

In particular, the five-seed evaluation provides stronger evidence for the stability of the reported gains, and the amortized cost analysis clarifies the distinction between offline search overhead and deployment-time inference cost. The additional ablations also make the differences from GPTSwarm, TextGrad, and conventional LLM-guided search clearer.

That said, I still have some reservations regarding the relatively limited evaluation scale and the dependence on strong instruction-following/reasoning agents, as illustrated by the failure case with LLaMA-3-70B. Moreover, several important robustness and cost analyses are currently presented primarily in the rebuttal rather than being fully integrated into the main paper.

Overall, the rebuttal has addressed my major concerns and strengthened the paper. However, I do not see sufficiently strong reasons to substantially revise my original assessment at this stage. I therefore plan to maintain my current rating of 4 (Borderline Accept).

Formatting concerns

No obvious anonymity breaches or major formatting violations are found.

1 comment
Authors · CommentOpenReview ↗

Thank you for the constructive suggestions. We provide additional robustness, cost, ablation, and search-agent sensitivity analyses below.

W1–W2, Q2: Dataset size and multi-seed robustness

Although MATH, MMLU, and HumanEval are standard TTS benchmarks, we agree that their evaluation sizes may increase variance. We therefore reran all main experiments with five random seeds and report means with 90% confidence intervals.

Method MATH Acc. MATH Search MATH Inf. MMLU Acc. MMLU Search MMLU Inf. HumanEval P@1 HumanEval Search HumanEval Inf.
Random 40±5.6 2790±385 28±3.9 43±5.7 672±93 7±0.9 62±5.7 1495±206 45±6.2
BO 41±5.3 3150±408 32±4.1 38±5.2 2085±270 21±2.7 35±5.0 2640±342 80±10.4
GPTSwarm 41±4.9 920±110 9±1.1 41±4.9 478±57 5±0.6 56±4.6 825±99 25±3.0
MaaO 35±4.8 1395±167 14±1.7 40±4.9 752±90 8±0.9 43±4.6 890±107 27±3.2
TextGrad 40±3.6 3595±319 36±3.2 41±3.6 2340±208 23±2.1 41±3.3 2775±246 84±7.5
Ours 57±5.2 785±99 8±1.0 60±5.1 508±64 5±0.6 72±4.2 312±39 10±1.2

Our method consistently achieves the highest accuracy and lowest inference time, while maintaining competitive search time across seeds.

W3, Q3: Search, agent, and inference costs

We use wall-clock time as the unified cost metric because agent generation, candidate execution, and final inference all incur latency. Search-agent generation and candidate-graph execution are one-time offline costs; deployment invokes only the selected fixed graph.

Dataset Iterations Agent Generation (s) Candidate Execution (s)
MATH 6 539 265
MMLU 10 429 64

The offline search times are 804, 493, and 300 seconds for MATH, MMLU, and HumanEval, respectively, while per-query inference takes 17.3, 8.0, and 4.9 seconds. For N deployment queries, the amortized time is

Camortized(N)=Cinference+Csearch/NC_{\mathrm{amortized}}(N)=C_{\mathrm{inference}}+C_{\mathrm{search}}/N
Queries NN MATH (s/query) MMLU (s/query) HumanEval (s/query)
1 821.30 501.00 304.90
10 97.70 57.30 34.90
100 25.34 12.93 7.90
1,000 18.10 8.49 5.20

At 100 queries, the amortized search overhead is 8.04, 4.93, and 3.00 seconds per query; at 1,000 queries, it falls to 0.804, 0.493, and 0.300 seconds. Thus, the method is most suitable for repeated queries from a stable distribution, rather than one-off tasks.

Q1: Differences from GPTSwarm, TextGrad, and LLM-guided black-box search

GPTSwarm maintains a probabilistic agent graph and applies numerical REINFORCE updates. TextGrad propagates textual critiques to directly revise graph variables, without maintaining an explicit graph distribution. Conventional LLM-guided black-box optimization typically proposes complete candidates from prompts and previous scores.

In contrast, Agent-REINFORCE maintains a persistent probabilistic TTS graph over connectivity, assistant/fuser roles, and various model assignments. It samples budget-feasible candidates and updates this distribution using archived evaluations and TTS-specific insights. The detailed ablation studies and comparison experimental results are as follows:

Variant Component Isolated MATH Acc./Search MMLU Acc./Search
GPTSwarm Probabilistic graph + numerical update 40 / 943 s 42 / 463 s
TextGrad Direct textual optimization 41 / 3687 s 46 / 2276 s
w/o Insight 1 Random initialization 45 / 1946 s 42 / 1293 s
w/o Insight 2 No non-monotonic scaling guidance 49 / 2208 s 47 / 896 s
w/o Insight 3 No width–depth guidance 48 / 1436 s 54 / 487 s
Agent-REINFORCE Full method 56 / 804 s 54 / 493 s

Neither probabilistic optimization nor direct textual search alone matches the full method. The gains arise from combining a probabilistic graph state, TTS-informed initialization and updates, and LLM-guided non-local exploration.

Q4: Sensitivity to the search-agent LLM

We replaced DeepSeek-R1 with alternative search agents on MATH under budget 80.

Search Agent MATH Acc.
DeepSeek-R1 56
DeepSeek-V3 50
Doubao-1.5-Pro 51
LLaMA-3-70B Invalid

LLaMA-3-70B did not reliably follow the required step-wise output format and therefore failed to produce valid graphs. DeepSeek-V3 and Doubao-1.5-Pro remain effective, showing that the method is not specific to DeepSeek-R1, although stronger reasoning and instruction-following capabilities improve search performance.

We hope our replies clarify your concerns. Let us know if you have further questions.

Reviewer mq5WOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/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 explores how to find optimal Test-Time Scaling strategies under a limited computational budget. Unlike previous work, which was constrained by fixed topologies, the authors attempt to abstract multi-model test-time collaboration into a directed acyclic graph structure search problem.

Based on observations from preliminary experiments, I have noted that different tasks exhibit specific preferences for model combinations, and that the width and depth of a graph are mutually constraining under fixed computational resources. This paper proposes a search framework called Agent-REINFORCE. Experiments on tasks such as MATH and MMLU demonstrate that this framework can discover competitive multi-model collaboration topologies within specific budget constraints.

Strengths and weaknesses

Quality / Soundness The paper is quite rigorous in its derivation of budget calculations, particularly in incorporating the quadratic complexity of the attention mechanism and node in-degrees into the FLOPs cost analysis—an approach that is far more reasonable than previous methods that simply counted the number of model calls. However, I have some questions regarding the fairness of the baseline comparisons in the experimental section that I would like the authors to address. Agent-REINFORCE’s ability to converge quickly appears to rely heavily on its unique strong prior initialization. Is it appropriate to directly compare search efficiency without providing the Baseline with equivalent initial information?

Clarity The overall structure of the paper is very clear, and both the problem definition and the algorithm flowcharts are easy to follow and understand. However, when evaluating the joint optimization objectives, the details regarding the underlying hardware scheduling seem somewhat lacking. The paper only mentions that the experiments were run on a single A800 GPU, but I am unsure exactly how the parallel Assistant nodes are scheduled at the system level—were frameworks with continuous batch processing, such as vLLM, utilized? The authors should provide additional details regarding these engineering implementation aspects.

Significance In today’s landscape, where model inference incurs significant computational costs, exploring dynamic and adaptive allocation of computational resources during the testing phase is a research direction that addresses a critical pain point and holds practical value. However, there is a possibility that introducing a large and complex graph search framework could lead to over-engineering. I suggest that the authors discuss the method’s applicability limits more clearly in the paper.

Originality This paper abstracts Test-Period Extension as a directed acyclic graph and enables dynamic collaboration among heterogeneous models, offering a highly insightful research perspective. However, regarding the design of the optimization algorithm, I find it somewhat puzzling that the authors directly substitute the numerical gradients used in classical reinforcement learning with text feedback generated by large language models. Isn’t this substitution essentially closer to a form of heuristic prompt engineering that relies on the capabilities of large models? I think the authors might want to consider whether to include some theoretical discussion on this point in the paper.

Questions

After reading this paper, I have a few questions regarding specific implementation details, which I hope can be further addressed during the rebuttal phase.

First, regarding the fairness of the baseline comparisons: since Agent-REINFORCE benefits significantly from strong prior initializations in the first and second stages, would it still maintain such a significant convergence advantage if baseline methods such as GPTSwarm or TextGrad were provided with exactly the same initial information? I would like to see supplementary comparisons conducted under strictly equal starting conditions.

Second, replacing the numerical gradients in the REINFORCE algorithm with text feedback generated by large language models is a very interesting concept, but I have some doubts about their strict mathematical equivalence. Is this strictly a theoretically bounded approximation, or does it lean more toward a heuristic strategy inspired by reinforcement learning?

Third, when dealing with graph structures that exceed the budget, the paper mentions directly removing the smallest node to satisfy computational constraints. I am curious about how this greedy pruning strategy ensures that the resulting directed acyclic graph retains complete logical connectivity and correct inference dependencies.

Finally, in the joint optimization experiments involving inference latency, the engineering details regarding hardware scheduling seem somewhat sparse. Since the execution time of parallel Assistant nodes is largely influenced by the underlying system, could you please elaborate on the concurrent scheduling mechanisms used in the test environment?

Limitations

In Appendix A.20, the authors honestly and objectively discuss the search overhead in large models resulting from the expansion of the graph search space, as well as the limitations of current methods to the text-only modality, demonstrating the necessary academic rigor; however, a brief mention of these potential pitfalls—which are closely related to practical deployment—at the end of the main text might help future researchers establish more realistic expectations.

Final justification

The authors have provided a comprehensive rebuttal that effectively addresses my primary concerns regarding baseline fairness and theoretical framing. By providing controlled experiments where baselines share the same initialization priors, the authors successfully proved the empirical edge of their LLM-guided exploration under fair conditions. I also appreciate their academic honesty in downgrading the "textual gradient" to an RL-inspired heuristic, eliminating my worries about theoretical over-claiming. With implementation details like the pruning strategy now clarified, no major technical flaws remain. I am maintaining my score at 4. While the work is now empirically solid and rigorously framed, the core contribution ultimately relies on heuristic prompt engineering rather than a fundamental algorithmic breakthrough, which limits its overall significance but still makes it a practical, technically sound paper that I support for acceptance.

Formatting concerns

NA

1 comment
Authors · CommentOpenReview ↗

Thank you for the constructive feedback. We have conducted additional controlled experiments and will revise the paper to clarify the implementation, applicability, and theoretical scope of Agent-REINFORCE.

W1 & Q1: Fairness of search-efficiency comparisons

We provide GPTSwarm and MaaO with the same three insights used by our method, including equivalent initialization and search guidance.

Method MATH Acc. MATH Search (s) MMLU Acc. MMLU Search (s)
GPTSwarm 40 943 42 463
GPTSwarm + Insights 45 472 53 193
MaaO 34 1440 41 738
MaaO + Insights 53 733 51 249
Ours 56 804 54 493

The shared insights substantially improve both accuracy and search efficiency, confirming that the prior contributes significantly to convergence. After equalizing the prior information, numerical methods can be faster in wall-clock time because LLM-based updates incur higher per-iteration latency. However, our method still achieves the highest accuracy on both datasets, suggesting that LLM-guided updates enable stronger exploration and better avoidance of local optima. We will add this controlled comparison and distinguish the contributions of the prior and optimizer.

W2 & Q4: Concurrent scheduling mechanism

Our implementation uses Ollama, a lightweight local LLM-serving framework that supports concurrent API requests, rather than vLLM or a separate continuous-batching framework. We execute each TTS graph using an asynchronous topological scheduler. Once all predecessors of a node finish, their outputs are concatenated with the node-role instruction and submitted to Ollama. All simultaneously ready nodes are dispatched concurrently, while Ollama manages execution on the single A800 GPU. Join nodes, including the final fuser, are activated only after all required predecessor outputs are available. We will add these details to the implementation section.

W3: Applicability limits

Agent-REINFORCE performs task-specific offline search, rather than per-query graph search. The optimized graph is learned once for a target task distribution and reused across subsequent queries, amortizing the search cost. The method is therefore most suitable for repeated queries from a relatively stable distribution, but less appropriate for one-off queries, rapidly shifting domains, or latency-critical settings. We will explicitly discuss these limitations.

W4 & Q2: Theoretical interpretation of textual gradients

Textual feedback is neither mathematically equivalent to the numerical gradient in REINFORCE nor a theoretically bounded approximation of it. Our method is more accurately characterized as an LLM-guided heuristic search strategy. In classical REINFORCE, the utility gradient is estimated as

∇θ,π,ψEG′∼Pθ,π,ψ[uT(G′)]≈1N∑i=1NuT(G(i))∇θ,π,ψlog⁡pθ,π,ψ(G(i)).\nabla_{\theta,\pi,\psi} E_{G' \sim P_{\theta,\pi,\psi}} \left[u_T(G')\right] \approx \frac{1}{N}\sum_{i=1}^{N} u_T\left(G^{(i)}\right) \nabla_{\theta,\pi,\psi} \log p_{\theta,\pi,\psi}\left(G^{(i)}\right).

Agent-REINFORCE instead retains the same sampling–feedback–update procedure but uses candidate graphs C, feedback S, and archive L to perform

G~←A.update(C,S,L,G~).\tilde{G} \leftarrow A.\mathrm{update}(C,S,L,\tilde{G}).

Thus, “textual gradient” describes its functional role rather than mathematical equivalence. More precisely, Agent-REINFORCE is an RL-inspired, derivative-free heuristic optimizer. Numerical gradients make local, incremental updates from scalar utilities, whereas an LLM can jointly interpret task characteristics, graph structures, historical trials, and TTS-specific insights. It can therefore propose coordinated, non-local changes, such as jointly adjusting width, depth, and model-budget allocation. This may improve exploration and help escape local optima, but it depends on the optimizer LLM and provides neither an unbiased gradient estimate nor a convergence guarantee. We will clarify this positioning and leave formal convergence analysis to future work.

Q3: Connectivity-preserving pruning

The input and final output nodes are always retained. When a candidate graph exceeds the budget, we preferentially remove low-degree intermediate nodes assigned to smaller models, minimizing disruption to the topology and model configuration. After each removal, we verify graph connectivity and inference dependencies. The pruning operation is accepted only if all remaining nodes can still reach the final output node.

We appreciate these comments, which help us improve the fairness, clarity, and scope of the paper. All corresponding experimental results, implementation details, and limitations will be incorporated into the revision.

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

The paper studies compute-optimal test-time scaling under a fixed budget by formulating LLM inference as a multi-LLM collaboration graph. Nodes are assigned models and roles, and edges represent information flow. Based on empirical observations about model choice, width/depth saturation, and width-depth coupling, the authors propose Agent-REINFORCE, an LLM-agent-guided search method that updates a probabilistic graph using textual feedback. Experiments on MATH, MMLU, and HumanEval show improved performance and efficiency over several optimization baselines.

Strengths and weaknesses

The paper targets an important and timely problem: how to allocate test-time compute across model choices and collaboration structures. The graph formulation is natural, and the empirical observations about model selection and width/depth trade-offs are useful. The experiments include multiple budgets, ablations, and latency-aware optimization, which makes the system reasonably complete.

My main concern is that the novelty is overstated. The paper motivates the work by saying existing TTS methods usually rely on fixed architectures and single-model inference, but this does not sufficiently account for recent work on dynamic agentic workflows and multi-LLM graph optimization, such as Flow [1], MASFly [2], Polymath [3], and Heterogeneous Swarms [4]. These works already study adaptive workflow graphs, dynamic MAS construction, hierarchical workflow optimization, or multi-LLM DAG optimization. Thus, the paper’s contribution should be framed more narrowly as compute-budgeted solution-level TTS with assistant/fuser primitives, rather than as a broadly new adaptive multi-agent graph search problem.

The evaluation also does not fully support the broad MAS/agentic framing. The experiments are limited to MATH, MMLU, and HumanEval. These are reasonable for solution-level TTS, but they do not test broader agentic capabilities such as dynamic task decomposition, tool use, long-horizon planning, or environment interaction. The paper should either narrow its claims or add agentic benchmarks.

I am also concerned that the baselines are incomplete. Random search, BO, GPTSwarm, MaaO, and TextGrad are useful comparisons, but the paper lacks strong comparisons with recent dynamic workflow or multi-LLM graph search methods. The appendix includes a brief AFlow comparison, but it is much less complete than the main results.

Finally, some implementation details are unclear. The method assumes a unique sink DAG, but it is not clear how this constraint is enforced during sampling and updates. The role space is also limited to assistant and fuser, which should be stated more clearly as a scope limitation. Main results would also be stronger with multiple seeds and variance reporting.

Overall, I find the submission technically interesting, but the reasons to reject outweigh the reasons to accept due to overstated novelty and insufficient evaluation for the paper’s broader claims.

[1] Niu B, Song Y, Lian K, et al. Flow: Modularized agentic workflow automation.

[2] Liu G, Lin H, Zeng H, et al. MAS-on-the-Fly: Dynamic Adaptation of LLM-based Multi-Agent Systems at Test Time.

[3] Ho C T, Gong J, Yao X, et al. Polymath: A Self-Optimizing Agent with Dynamic Hierarchical Workflow.

[4] Feng S, Wang Z, Goyal P, et al. Heterogeneous swarms: Jointly optimizing model roles and weights for multi-llm systems.

Questions
  • How do the authors position this work relative to Flow, MASFly / MAS-on-the-Fly, Polymath, and Heterogeneous Swarms? The novelty claim should be narrowed or more clearly justified.
  • Can the authors add stronger comparisons with dynamic workflow or multi-LLM graph optimization methods under the same budget and evaluation protocol?
  • Is the intended scope solution-level TTS or general multi-agent collaboration? If it is the former, the paper should narrow its claims; if it is + the latter, agentic benchmarks are needed.
  • How is the unique-sink DAG constraint enforced during graph sampling and LLM-based updates?
  • Can the authors report mean and standard deviation over multiple independent search runs?
Limitations

The paper discusses some limitations, including solution-level TTS, dependence on the model pool, multimodal extension, and scaling overhead. However, it should also discuss the limited comparison to recent dynamic MAS/workflow methods, the narrow evaluation scope, small test sets, lack of variance reporting, and dependence on the chosen LLM search agent.

Formatting concerns

N/A

1 comment
Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the helpful suggestions and guidance. We reply to your concerns one by one.

Q1: How do the authors position this work relative to Flow, MASFly / MAS-on-the-Fly, Polymath, and Heterogeneous Swarms? The novelty claim should be narrowed or more clearly justified.

Thank you for highlighting these works. We agree that adaptive workflow graphs and heterogeneous multi-LLM optimization have been studied in Flow, MASFly, Polymath, and Heterogeneous Swarms, and we will not present graph-based collaboration itself as novel. We would like to clarify that our contribution is more specific: compute-budgeted, solution-level TTS graph optimization. Unlike general agentic workflows that organize heterogeneous subtasks, tools, or roles, our nodes allocate additional inference-time compute to the same query through generation, refinement, and fusion; edges therefore represent solution transformation rather than subtask dependencies. Under explicit FLOPs or monetary budgets, we jointly optimize model selection, assistant/fuser assignments, and graph connectivity, while studying the trade-off between model size and invocation count. We will therefore characterize our contribution as budget-constrained search over heterogeneous, solution-level TTS graphs.

Q2: Can the authors add stronger comparisons with dynamic workflow or multi-LLM graph optimization methods under the same budget and evaluation protocol?

Thank you for this suggestion. We have added AFlow and ADAS as new baselines and included them in the main results. For a fair comparison, all methods use the same Qwen-2.5 model pool [3B, 7B], LiveCodeBench, and a FLOPs budget of 80. AFlow performs MCTS-based workflow expansion, while ADAS conducts iterative workflow optimization; both use an LLM optimizer to compose primitive modules such as parallel generation, sequential refinement, review, and programming.

Because AFlow and ADAS are not originally designed for explicit inference-budget constraints, we enforce the same FLOPs budget and discard infeasible workflows that exceed it.

Method Pass@1 SearchTime(s) InferenceTime(s)
BO 18 1188 20.10
TextGrad 19 1788 22.10
GPTSwarm 8 720 26.89
AFlow 12 552 14.37
ADAS 8 611 16.95
Ours 28 273 5.83

Our method achieves the highest Pass@1 while requiring substantially less search and inference time. These additional results provide a more complete comparison with recent dynamic workflow-search methods and demonstrate the benefit of explicitly optimizing heterogeneous TTS graphs equipped with our insights under a fixed compute budget.

Q3: Is the intended scope solution-level TTS or general multi-agent collaboration?

Thank you for raising this concern. Our work focuses on collaborative multi-LLM TTS for standard input–output tasks, where additional inference-time compute is allocated to generating, refining, and fusing candidate solutions. It is not intended to evaluate broader agentic capabilities. We will revise the framing to clearly distinguish our setting from general agentic collaboration and avoid unsupported claims about broader agentic systems.

Q4 How is the unique-sink DAG constraint enforced during graph sampling and LLM-based updates?

We fix the input and output nodes throughout optimization. Candidate topology updates are constrained to remain acyclic, and every non-output leaf node is connected to the output node. The output therefore remains the unique sink and aggregates all terminal solutions into the final answer. Optimization only changes the intermediate topology, model assignments, and roles.

Q5 Can the authors report mean and standard deviation over multiple independent search runs?

We additionally run all main experiments with five random seeds and report the mean with 90% confidence intervals:

Method MATH Acc. MATH Search MATH Inf. MMLU Acc. MMLU Search MMLU Inf. HumanEval P@1 HumanEval Search HumanEval Inf.
Random 40±5.6 2790±385 28±3.9 43±5.7 672±93 7±0.9 62±5.7 1495±206 45±6.2
BO 41±5.3 3150±408 32±4.1 38±5.2 2085±270 21±2.7 35±5.0 2640±342 80±10.4
GPTSwarm 41±4.9 920±110 9±1.1 41±4.9 478±57 5±0.6 56±4.6 825±99 25±3.0
MaaO 35±4.8 1395±167 14±1.7 40±4.9 752±90 8±0.9 43±4.6 890±107 27±3.2
TextGrad 40±3.6 3595±319 36±3.2 41±3.6 2340±208 23±2.1 41±3.3 2775±246 84±7.5
Ours 57±5.2 785±99 8±1.0 60±5.1 508±64 5±0.6 72±4.2 312±39 10±1.2

These results show that our performance and efficiency advantages remain consistent across random seeds.

We hope our replies clarify your concerns. Let us know if you have further questions.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Dear Reviewers,

Thank you again for your positive assessment and thoughtful feedback, which have been very helpful in improving our work. If there are any additional questions or points you would like us to clarify, we would be happy to address them.

Best regards, All authors of Paper #12145

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

Missing a submission?

Loading the discussion…