acceptodds
Published as a conference paper at NeurIPS 2026

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

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 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 sampling–gradient–update to 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.

Keywords:
Atlanta, Main Track

Reviews

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

Paper formatting concerns

No obvious anonymity breaches or major formatting violations are found.

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).

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

Paper formatting concerns

NA

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.

Reviewer_Vc2oOpenReview ↗
Rating
3
Clarity
3
Confidence
5
Originality
2
Quality
3
Significance
2
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.

Paper formatting concerns

N/A

Comments on the paper

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

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.