potentialpaper

Tree-Structured Synergy of Large Language Models and Bayesian Optimization for Efficient CASH

Beicheng Xu, Weitong Qian, Lingching Tung, Yupeng Lu, Bin CUI

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. LB-MCTS: synergizes LLMs and Bayesian optimization through tree-structured search to solve CASH more efficiently.

Abstract. To lower the expertise barrier in machine learning, the AutoML community has focused on the CASH problem, which jointly automates algorithm selection and hyperparameter tuning. While traditional methods like Bayesian Optimization (BO) struggle with cold-start issues, Large Language Models (LLMs) can mitigate these through semantic priors. However, existing LLM-based optimizers generalize poorly to high-dimensional, structured CASH spaces. CASH requires coordinated exploration and exploitation both across candidate algorithms and within their algorithm-specific hyperparameter spaces. Yet existing approaches often rely on flat optimization histories that mix observations across algorithms and obscure configuration-refinement trajectories. In this paper, we propose LB-MCTS, a trajectory-structured optimization framework that uses a Monte Carlo Tree Search tree as a shared state for algorithm selection, hyperparameter refinement, and BO–LLM proposer synergy. Within this shared state, BO provides algorithm-specific surrogate modeling for quantitative search, while the LLM exploits path-aware selective memory to generate semantic proposals and reflections. As the surrogate model improves, a reliability-aware proposer policy adaptively shifts from LLM-driven to BO-driven proposals within a unified search trajectory. Experiments on 104 AMLB datasets demonstrate that LB-MCTS consistently outperforms BO-based, LLM-based, and hybrid baselines. Code: https://github.com/PKU-DAIR/open-box.

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

NeurIPS 2026

Accept (poster) · 2 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

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

The authors provide a combination of LLMs and Bayesian optimization through tree-structured search, specifically for CASH-problems.

The following recurring themes come back from the reviews: (1) Ablations shown only on a 10-dataset subset (2) Convergence theorem doesn't actually establish an LLM-specific guarantee (3) prompt sensitivity not analyzed (4) Requests about efficiency/cost comparison (5) good paper, but lacking evidence to support the claims.

All together, it seems that there are no serious dealbreakers raised by the reviewers, but there is also a lack of real enthousiasm about the paper. from the points above, the lacking evidence to support the claims might be the most important point (which closely ties into the validity of the empirical evaluation).

I have taken note of the rebuttals, and also note that the reviewers did not engage actively in the discussion. Nonetheless, 1 reviewer has raised their score, leaving this paper with 2 bottom line positive reviews. As the reviewers also did not engage in the internal discussion, I have asked for a final opinion from a 3rd reviewer, who has provided a third review focussing specifically on the adequacy of the evaluation (which is related to point 5), to support a small discussion on this point that was already raised by other reviewers. Due to the last-minute fashion on this request, the reviewer could no longer upload the review on the form, but in short has confirmed that according to their understanding, the empirical evaluation seems adequate. This closes the discussion, and allows me to provide a positive advice.

For this reason, I recommend the acceptance of the paper.

Final justification

[see above]

Area Chair MLJZ · Meta-reviewOpenReview ↗
Final justification
[see above]
Read meta-review
Meta-review

The authors provide a combination of LLMs and Bayesian optimization through tree-structured search, specifically for CASH-problems.

The following recurring themes come back from the reviews: (1) Ablations shown only on a 10-dataset subset (2) Convergence theorem doesn't actually establish an LLM-specific guarantee (3) prompt sensitivity not analyzed (4) Requests about efficiency/cost comparison (5) good paper, but lacking evidence to support the claims.

All together, it seems that there are no serious dealbreakers raised by the reviewers, but there is also a lack of real enthousiasm about the paper. from the points above, the lacking evidence to support the claims might be the most important point (which closely ties into the validity of the empirical evaluation).

I have taken note of the rebuttals, and also note that the reviewers did not engage actively in the discussion. Nonetheless, 1 reviewer has raised their score, leaving this paper with 2 bottom line positive reviews. As the reviewers also did not engage in the internal discussion, I have asked for a final opinion from a 3rd reviewer, who has provided a third review focussing specifically on the adequacy of the evaluation (which is related to point 5), to support a small discussion on this point that was already raised by other reviewers. Due to the last-minute fashion on this request, the reviewer could no longer upload the review on the form, but in short has confirmed that according to their understanding, the empirical evaluation seems adequate. This closes the discussion, and allows me to provide a positive advice.

For this reason, I recommend the acceptance of the paper.

1 comment
Authors · CommentOpenReview ↗

We thank the meta-reviewer for synthesizing the concerns. Below, we address each point and refer to the detailed responses where applicable.

1. Ablations shown only on a 10-dataset subset.
Detailed response: Reviewer YZqh, Q4.
Summary: We quantitatively compared the nine-method average-rank vectors on the original 10 datasets and all 104 datasets. Their Spearman/Kendall correlations increase from 0.783/0.6110.783/0.611 at 100 evaluations to 0.971/0.9300.971/0.930 at 300 evaluations. Expanding the subset to 20 datasets yields only a small further increase to 0.979/0.9300.979/0.930, while rerunning the Fig. 6 proposer ablation preserves the method ordering. These results show that the 10-dataset subset captures the full-benchmark trends; nevertheless, we will expand the ablations to 20 datasets in the revision.

2. The convergence theorem does not actually establish an LLM-specific guarantee.
Detailed response: Reviewer YZqh, Q1/W1.
Summary: Because reasoning quality varies across models, we do not rely on the LLM alone for convergence; instead, we use its semantic priors to improve finite-budget efficiency. Motivated by empirical in-context scaling results reported in prior literature, A.3 is stated as a conditional empirical model rather than a derived LLM regret theorem; and the global regret in Eq. (10) still converges to zero independently of A.3. Finally, we replace A.1’s all-time separation with a high-probability gap-violation condition: the finite-time root-allocation guarantee ranges from N∗(T)=T−O(T)N_*(T)=T-\mathcal O(\sqrt T) under controlled violations to N∗(T)=Ω(T)N_*(T)=\Omega(\sqrt T) in the most severe case, while the form of Eq. (10) and Theorem 3.1’s convergence conclusion remain unchanged.

3. Prompt sensitivity was not analyzed.
Detailed response: Reviewer 4wF6, Q1/W1.
Summary: We added controlled simplification and paraphrasing variants of the EXPLORATION/EXPLOITATION directives. Paraphrasing remains within 0.020.02 of the original prompt across all checkpoints, and simplification has a maximum gap of 0.040.04. In contrast, retaining only EXPLORATION or EXPLOITATION reduces the final normalized score from 0.980.98 to 0.910.91 or 0.900.90, showing that the dual-directive mechanism matters more than its exact wording.

4. Requests about efficiency/cost comparison.
Detailed response: Reviewer 4wF6, Q2/W2/W3.
Summary: LB-MCTS costs an average of $0.127 per task, and LLM inference takes 13.78 s per iteration versus 63.02 s for model evaluation. The LLM overhead is modest and is justified by the resulting performance gains.

5. Good paper, but lacking evidence to support the claims.
Response: The table below summarizes the evidence from the paper and rebuttal.

Experiment or analysis Supported conclusion
Comparison on 104 datasets against 8 baselines (Sec. 4.2 and Fig. 2) LB-MCTS consistently outperforms the baselines across a broad benchmark.
Test set evaluation (Fig. 2(b)); post-hoc ensemble evaluation (App. C.6 and Fig. 12); AutoGluon comparison (Reviewer 4wF6, Q4) The improvement remains competitive at the AutoML-system level.
Root-allocation analysis (Sec. 4.3 and Fig. 3); PUCT and exploration-weight ablations (App. C.10 and Fig. 15); QQ ablation (Reviewer YZqh, W4) PUCT’s effectiveness in budget allocation, validate the QQ design, and the exploration-weight setting.
Exploration/exploitation ablations (Sec. 4.3 and Fig. 4); configuration-diversity analysis (App. C.9 and Fig. 14); CASH-aware OPRO/LLAMBO comparisons (Reviewer YZqh, W3) The gain from the tree-structured trajectory and exploration/exploitation directives.
BO–LLM proposer-selection ablations (Sec. 4.4 and Figs. 5–6); weak-LLM stress test (Reviewer 4wF6, Q3(a)); update-frequency ablation (Reviewer 4wF6, Q6) The framework effectively adapts its selection between BO and the LLM throughout optimization.
Execution trace (App. B.4); reflection ablation (App. C.11 and Fig. 16); STM retrieval ablation (App. C.12 and Fig. 17) Selective tuning memory and reflection provide optimization benefits.
LLM-backbone comparison (App. C.2 and Fig. 9); task-characteristic analysis (App. C.4 and Fig. 10, Reviewer 4wF6, Q3(b)); conditional DL search space (App. C.5 and Fig. 11); The observed benefit is robust across heterogeneous tasks, feedback conditions, model capabilities, and search-space structures.
Prompt sensitivity tests (Reviewer 4wF6, Q1/W1) The framework is relatively insensitive to variations in prompt wording.
API-cost and wall-clock measurements (App. C.7 and Fig. 13) The LLM overhead is modest and is justified by the resulting performance gains.

Beyond these recurring themes, we have also addressed all remaining weaknesses and questions raised by both reviewers. We hope that these clarifications, new analyses, and additional results resolve the concerns, and we look forward to further discussion and feedback from the reviewers.

Reviewer YZqhOpenReview ↗
Rating
4/6
Confidence
4/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

This paper investigates the Combined Algorithm Selection and Hyperparameter optimization (CASH) problem in the field of automated machine learning. Traditional Bayesian Optimization (BO) suffers from cold-start difficulties, while optimizers based on Large Language Models (LLMs) exhibit poor generalization when dealing with high-dimensional CASH search spaces that possess conditional hierarchical structures. The authors propose LB-MCTS, an optimization framework that uses the tree structure of Monte Carlo Tree Search (MCTS) as a shared state. This framework selects the algorithm Ai∈AA^i \in \mathcal{A} at the root node sroots_{\text{root}}, performs hyperparameter optimization at the HP nodes shps_{\text{hp}} within the subtrees, and unifies the trajectories generated by BO and LLMs into the same search tree. Multiple core mechanisms are designed within the framework. First, a reliability-aware dynamic proposal selection strategy is introduced. It evaluates the reliability of the BO surrogate model fif_i by calculating the Kendall rank correlation coefficient τi\tau^i through k-fold cross-validation, thereby dynamically adjusting the BO proposal probability pBOi=max⁡(ϵ,τi+12)p^i_{BO} = \max(\epsilon, \frac{\tau^i + 1}{2}) to achieve an adaptive transition from an LLM-dominated phase to a BO-dominated phase. Second, a Selective Tuning Memory is introduced to isolate optimization histories by algorithm. By combining global Pareto memory with local ancestral trajectories, it provides low-noise context for the LLM. Finally, a reflection mechanism ρnew\rho_{\text{new}} is integrated to further enhance the reasoning quality of the LLM. Experiments on 104 AMLB datasets demonstrate that LB-MCTS achieves an average validation rank of 2.16, showing significant advantages in test set performance.

Strengths and weaknesses

Strengths

  1. The paper accurately deconstructs the difficulties faced by CASH into challenges such as low context utilization efficiency, lack of exploration-exploitation trade-offs, and rigid coordination methods. These challenges correspond perfectly to the proposed method components, making the logic highly self-consistent.
  2. The paper comprehensively compares 8 baselines covering pure BO, pure LLM, and hybrid architectures on 104 datasets, and evaluates statistical significance using Critical Difference (CD) diagrams and the Nemenyi post-hoc test.
  3. The mechanism of Mi(sbase)\mathcal{M}_ i(s_{\text{base}}) isolating histories by algorithm, along with comparative experiments of various variants, perfectly validates the necessity of this hierarchical memory design.
  4. The process data showing pBOip^i_{BO} gradually increasing with data accumulation perfectly matches the design narrative of the method relying on LLM semantic priors in the early stage and BO mathematical rigor in the later stage.
  5. The paper thoroughly evaluates API monetary costs and time overhead ratios, proving the economic advantages of the method and providing important reference value for real-world business deployment.

Weaknesses

  1. The guarantee of the global convergence theorem is mainly inherited from the Expected Improvement (EI) of BO, and the role of the LLM is only manifested as reducing the finite-time constant. In particular, Assumption A.1 assumes the existence of a constant value gap Δi>0\Delta_i > 0 at all times, which carries a certain degree of circular reasoning. Furthermore, the power-law regret bound of the LLM SnLLM≤CLLMnα+ΔinfS^{\text{LLM}}_ n \le \frac{C_{\text{LLM}}}{n^{\alpha}} + \Delta_{\text{inf}} and its irreducible lower bound Δinf\Delta_{\text{inf}} in Assumption A.3 are directly assumed rather than derived.
  2. The paper reports multiple ranking numbers in different paragraphs and charts. For example, the 1.25 reported in Figure 13a is actually calculated only among 5 LLM-category methods, but it lacks sufficient preliminary definition in the main text, making it easy to be misunderstood as a global ranking among all baselines.
  3. Directly applying methods like OPRO or LLAMBO, which were originally designed for low-dimensional flat spaces, to the high-dimensional structured CASH space may put them in a disadvantageous working zone, thereby somewhat magnifying the relative advantage of the proposed method combined with the tree structure.
  4. The formula Q(salgoi)=y~salgoimax⁡(1+Rsalgoi/Nsalgoi)Q(s^i_ {\text{algo}}) = \tilde{y}^{\max}_ {s^i_{\text{algo}}} (1 + R_{s^i_{\text{algo}}} / N_{s^i_{\text{algo}}}) in Equation 4, which multiplies the current optimum y~salgoimax⁡\tilde{y}^{\max} _ {s^i_{\text{algo}}} by the relative improvement rate, is a heuristic design. Although the paper conducts ablations on the PUCT tree search strategy, it lacks alternative validations specifically targeting this multiplicative Q-value form itself.
  5. The main experiments heavily rely on GPT-4o-mini, but the exact model snapshot date is not provided. Since closed-source models are dynamically updated over time, this introduces a certain degree of uncertainty to the precise reproduction of the experimental results.
Questions
  1. Regarding the realism of Assumption A.1: Assuming a constant value gap Δi>0\Delta_i > 0 holds for all time t≤Tt \le T seems to presuppose that the most difficult algorithm selection problem has already been well solved. Is this assumption still realistic in the early stages when algorithm selection has not yet converged? If this assumption is violated, how would the conclusion of Theorem 3.1 degrade?
  2. Could you provide a unified table clearly labeling the calculation scopes of various rankings in the main text and figures? In particular, please clarify whether the 1.25 in Figure 13a is calculated solely within the 5 LLM baselines.
  3. To ensure academic reproducibility, could you provide the exact API call snapshot or date for GPT-4o-mini?
  4. The paper points out that the trends of the 10-dataset ablation subset are consistent with the full set. Could you provide correlation metrics (such as Spearman or Kendall rank correlation coefficients) between this subset and the full 104 datasets on multiple baseline rankings to quantitatively demonstrate the representativeness of this subset?

If the authors can clarify these points, I am willing to adjust my score.

Limitations

yes

Final justification

I have decided to raise my score to 4. The authors provided a clear rebuttal that addressed the majority of my empirical concerns. The authors successfully clarified the calculation scopes for the various rankings, provided the requested ablation on the Q-value formula, and quantitatively verified the representativeness of their dataset subset. The introduction of the LB-LLAMBO baseline also adequately addressed the fairness concern regarding flat-space LLM optimizers. While the empirical gaps are closed, the theoretical guarantees and certain core mechanisms rely heavily on heuristic designs and empirical modeling assumptions rather than rigorous first-principle derivations.

Formatting concerns

no

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Q1/W1 — Convergence and realism of A.1

Role of the LLM in convergence. We agree with the reviewer’s central distinction. The convergence guarantee in Theorem 3.1 is intentionally BO-anchored. However, the finite-time acceleration ratio in Corollary A.6 explicitly depends on the LLM’s contribution. This division of labor is deliberate: BO serves as the theoretically grounded safety anchor through the established consistency of EI under the stated regularity conditions. Because reasoning quality varies across models, we do not rely on the LLM alone for a convergence guarantee; instead, we use its semantic priors to improve finite-budget efficiency. Consequently, under these conditions, the asymptotic guarantee is robust to the quality of the LLM proposals: even low-quality proposals cannot prevent the global simple regret from converging to zero. At finite budgets, the LLM contributes through two channels. 1) Its proposals are directly evaluated and may improve the global incumbent, yielding the separate SLLMS^{\mathrm{LLM}} term. 2) They also warm-start the BO posterior, where CEI(DqLLM)C_{\mathrm{EI}}(\mathcal D_q^{\mathrm{LLM}}) reflects how informative the resulting surrogate state is for subsequent EI search. Hence, beyond potentially yielding a smaller CEIC_{\mathrm{EI}} through informative warm-starts, the LLM also provides a direct candidate channel.

Status of A.3 and Δinf⁡\Delta_{\inf}. Because the LLM proposals are directly evaluated and may improve the global incumbent, their finite-budget contribution appears in the global regret. Quantifying the acceleration requires a tractable model for the LLM term, but deriving an optimizer-level simple-regret rate for an adaptive LLM proposer from existing ICL theory remains highly challenging. We therefore introduce A.3 as an empirical modeling assumption rather than a derived theorem. Its functional form is motivated by empirical in-context scaling results: Anil et al. model the expected task loss after nn demonstrations as Cn−α+KCn^{-\alpha}+K, with KK representing a limiting offset, while Liu et al. independently observe power-law decay of in-context prediction loss with context length across multiple dynamical systems. The residual term Δinf⁡\Delta_{\inf} is deliberately conservative, allowing the LLM-only improvement to plateau rather than assuming that the LLM proposer alone can drive regret to zero. Crucially, this assumption parameterizes only the first, LLM-specific term in Eq. (10). The second term CEI(DqLLM)rEI(M∗(T))C_{\mathrm{EI}}(\mathcal D_q^{\mathrm{LLM}})r_{\mathrm{EI}}(M_*(T)) of the global regret converges to zero without relying on A.3 or Δinf⁡\Delta_{\inf}. Thus, A.3 provides an empirically motivated expression for the LLM regret term, while the global regret STGlobalS_T^{\mathrm{Global}} in Eq. (10) still converges to zero independently of A.3.

Realism of A.1 and quantitative degradation when it is violated. We agree that the original A.1 is too strong: its deterministic separation need not hold at finite budgets, particularly during early search when root-value estimates remain noisy. We therefore replace this all-time condition with a high-probability gap-violation budget: let Zi(T)=∑t=1T1{Qt(A∗)−Qt(Ai)<Δi}Z_i(T)=\sum_{t=1}^{T}\mathbf 1\{Q_t(A^*)-Q_t(A^i)<\Delta_i\} and assume Pr⁡(Zi(T)≤Bi(T,ρ), ∀i≠∗)≥1−ρ\Pr(Z_i(T)\le B_i(T,\rho),\,\forall i\ne *)\ge 1-\rho. This permits early errors and absorbs misrankings caused by limited and noisy validation feedback; larger noise or smaller branch gaps may increase Bi(T,ρ)B_i(T,\rho). Without a concentration result for the current root-value estimator, we do not claim a closed-form noise dependence. On this event, PUCT gives

N∗(T)≥T−∑i≠∗[cpuctTΔi+Bi(T,ρ)].N_*(T) \ge T-\sum_{i\ne *} \left[ \frac{c_{puct}\sqrt T}{\Delta_i} +B_i(T,\rho) \right].

To determine when violations of A.1 change the original allocation order N∗(T)=T−O(T)N_*(T)=T-\mathcal O(\sqrt T), we distinguish two regimes according to the cumulative number of misranked rounds. 1) Controlled misranking: if BΣ(T,ρ):=∑i≠∗Bi(T,ρ)=O(T)B_\Sigma(T,\rho):=\sum_{i\ne *}B_i(T,\rho)=\mathcal O(\sqrt T), then N∗(T)=T−O(T)N_*(T)=T-\mathcal O(\sqrt T), preserving the allocation order in the original proof; if BΣ(T,ρ)=o(T)B_\Sigma(T,\rho)=o(\sqrt T), it contributes only a lower-order penalty. 2) Worst-case persistent misranking: if BΣ(T,ρ)=Θ(T)B_\Sigma(T,\rho)=\Theta(T), the gap-based bound can become vacuous and the near-linear allocation guarantee is lost. However, under bounded root values and uniformly positive root priors, N∗(T)=o(T)N_*(T)=o(\sqrt T) would make the optimal branch's exploration bonus diverge and dominate any bounded QQ-disadvantage; hence PUCT still guarantees N∗(T)=Ω(T)N_*(T)=\Omega(\sqrt T). To sum up, if A.1 is violated, the finite-time root-allocation guarantee degrades according to the severity of misranking: it remains in the near-full regime N∗(T)=T−O(T)N_*(T)=T-\mathcal O(\sqrt T) under controlled misranking, but can weaken to N∗(T)=Ω(T)N_*(T)=\Omega(\sqrt T) in the most severe persistent-misranking case considered here. However, even at this worst extreme, the form of Eq. (10) and the convergence conclusion of Theorem 3.1 remain unchanged. We will revise A.1 and its proof to explicitly include the worst-case allocation guarantee N∗(T)=Ω(T)N_*(T)=\Omega(\sqrt T), together with the conditions under which it holds.

Q2/W2 — Ranking scopes

We thank the reviewer for identifying this ambiguity. The 1.25 in Fig. 13(a) is calculated only among the five LLM-based methods—LB-MCTS and the four LLM-based baselines OPRO, LLAMBO, BOPRO, and BORA. The table below summarizes all the ranking scopes:

Figures Ranking Pool Dataset Scope
Figs. 2(a), 2(b), 10, and 12(a) All 9 main-comparison methods 104
Fig. 13(a) 5 LLM-based methods 104
Fig. 4 4 tree/directive variants 10
Fig. 6 5 BO–LLM variants/baselines 10
Fig. 11 LB-MCTS, RB, and MOSAIC 10
Fig. 15(a) 4 tree-selection strategies 10
Fig. 15(b) 5 cpuctc_{puct} settings 10
Fig. 16 LB-MCTS and No Reflection 10
Fig. 17 Full STM and 5 memory variants 10

Q3/W5 — LLM snapshot

We thank the reviewer for requesting this missing detail. All experiments used the fixed model snapshot gpt-4o-mini-2024-07-18. We will add this identifier to the experimental setup.

Q4 — Representativeness of the 10-dataset ablation subset

We quantified representativeness using the nine methods in the main comparison shown in Fig. 2(a). At each checkpoint, we formed one vector containing their average ranks over all 104 datasets and another over the original 10-dataset subset, and then computed the Spearman and Kendall correlations between these two nine-method rank vectors:

Checkpoint Spearman Kendall
100 0.783 0.611
200 0.850 0.722
300 0.971 0.930

The agreement is already substantial at 100 evaluations and increases with the optimization budget, becoming near-perfect at 300 evaluations. To estimate how much enlarging the subset could further improve representativeness, we greedily added 10 datasets, choosing each addition to maximize the 300-evaluation Spearman correlation with the full benchmark. The resulting 20-dataset subset raises Spearman’s ρ\rho only slightly, from 0.971 to 0.979, while Kendall’s τ\tau remains 0.930. The small improvement indicates that the original 10 datasets already recover essentially the same final method ordering.

As a separate behavioral check, we reran the three internal proposer variants from Fig. 6 on the expanded 20-dataset subset and report the average ranks:

Subset LB-MCTS Fixed-0.5 B-MCTS L-MCTS
Original 10 1.8 2.0 2.7 3.5
Expanded 20 1.7 2.2 2.9 3.2

The ordering remains unchanged. Overall, the original 10 datasets reliably capture the relative trends. We will report the correlation analysis and expand all ablation experiments to the 20-dataset subset in the revision.

W3 — Fairness of comparisons with flat-space LLM optimizers

We agree that the original OPRO and LLAMBO were designed for flat optimization spaces. To control for this mismatch, Sec. 4.3 and Fig. 4 already include LB-Flat, a strengthened, CASH-adapted OPRO-style variant. LB-Flat retains LB-MCTS’s root-level algorithm selection, isolates observations across model branches, and alternates between the LLM and BO proposers; it replaces only our tree-based LLM proposer with OPRO-style prompting. We further added LB-LLAMBO, which places the LLAMBO proposer inside the same framework. Thus, these comparisons give OPRO and LLAMBO the outer mechanisms needed for CASH while changing the LLM configuration-proposal component.

Method Average Rank
LB-MCTS 1.7
Exploration Only 2.6
Exploitation Only 2.8
LB-LLAMBO 3.5
LB-Flat 4.0

Across the 10 datasets, LB-MCTS remains substantially ahead of both strengthened baselines. Our tree-structured LLM proposer performs best in this controlled comparison.

W4 — Validation of the Q-value

We thank the reviewer for suggesting a direct QQ-value ablation. We combine the two signals because they are complementary: the average reshaped reward Ri/NiR_i/N_i reflects how consistently a branch continues to improve, whereas the best-performance term y~imax⁡\tilde y_i^{\max} reflects the performance that the branch has already demonstrated it can attain. The multiplicative form further conditions the improvement bonus on the attained performance, favoring branches that exhibit both strong performance and continued improvement. We therefore conducted an ablation of the root QQ-value formulation:

QQ-value Definition Average Rank
Ours y~imax⁡(1+Ri/Ni)\tilde y_i^{\max}\left(1+R_i/N_i\right) 1.3
Additive y~imax⁡+Ri/Ni\tilde y_i^{\max}+R_i/N_i 2.6
Performance only y~imax⁡\tilde y_i^{\max} 2.9
Improvement only Ri/NiR_i/N_i 3.2

The multiplicative design achieves the best performance, outperforming the additive combination and both single-signal variants. We will add the ablation to the revision.

Reviewer YZqh · CommentOpenReview ↗

I would like to thank the authors for their detailed and comprehensive rebuttal. The response has successfully addressed the majority of my concerns, particularly regarding the empirical clarifications, ablation studies, and ranking scopes. Therefore, I have decided to raise my score to 4.

My rationale for this score is that while the framework demonstrates solid empirical utility and effective engineering integration, its theoretical guarantees and certain mechanism designs remain largely based on heuristic modeling assumptions rather than fundamental derivations.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the careful reassessment and for raising the score. We appreciate the remaining reservation regarding the theoretical guarantees and mechanism design, and would like to clarify these two points.

Theoretical scope. Deriving an optimizer-level regret guarantee directly from an LLM's general ICL capability remains highly challenging; to our knowledge, existing ICL theory does not yet provide such a result for an adaptive LLM proposer. Accordingly, A.3 is introduced only as a conditional empirical model that provides an expression for the regret of the direct LLM-proposal branch. The regret bound for the LLM-enhanced BO branch, and hence the global convergence conclusion, do not rely on A.3. We regard deriving a rigorous optimizer-level regret expression for LLM ICL as an important direction for future theoretical research.

To make A.1 more realistic, we have replaced its original all-time deterministic gap with a high-probability gap-violation budget that allows early-stage and noise-induced misrankings. This provides an explicit quantitative degradation: the optimal-branch allocation changes from N∗(T)=T−O(T)N_*(T)=T-\mathcal O(\sqrt T) under controlled violations to N∗(T)=Ω(T)N_*(T)=\Omega(\sqrt T) in the most severe case considered. Since the optimal branch still receives an unbounded budget, the form of Eq. (10) and the convergence conclusion of Theorem 3.1 remain unchanged.

Mechanism design. Although certain design choices are not derived from an optimality principle, each has a clear motivation and is independently validated through controlled ablations, while all components are integrated within a unified tree-search framework:

  • BO–LLM trajectory integration.

    • Motivation: Evaluations generated by both proposers are organized in a shared, node-aligned trajectory, allowing LLM-based semantic exploration and BO-based model refinement to inform the same search process.
    • Experimental validation: The tree/flat comparison and the strengthened CASH-aware OPRO/LLAMBO comparisons isolate the contribution of this shared trajectory (Sec. 4.3 and Fig. 4; our first-round response to Reviewer YZqh, W3).
  • Dynamic BO–LLM selection.

    • Motivation: Proposer selection adapts to surrogate reliability. We assess this reliability using rank correlation under kk-fold cross-validation because BO primarily needs to distinguish better from worse configurations rather than predict their absolute performance. The metric is updated every kk observations, matching the number of CV folds. This favors the LLM during cold start and increasingly relies on BO as the surrogate's ranking ability improves.
    • Experimental validation: Comparisons with fixed mixing and single-proposer variants, together with the metric, update-frequency, and weak-LLM ablations, validate this adaptive behavior (Sec. 4.4 and Figs. 5–6; our response to Reviewer 4wF6, Q3(a) and Q6).
  • Selective Tuning Memory.

    • Motivation: STM combines globally strong attempts with locally relevant ancestral trajectories while filtering irrelevant history.
    • Experimental validation: Global-only, local-only, top-kk, full-history, and no-memory variants independently verify the need for this selective retrieval design (App. C.12 and Fig. 17).
  • Reflection.

    • Motivation: Each evaluated transition is converted into node-aligned textual feedback that can guide later proposals.
    • Experimental validation: The reflection ablation and its cost decomposition jointly demonstrate its independent optimization benefit and practical overhead (App. C.11 and Fig. 16; our response to Reviewer 4wF6, Q2).
  • PUCT and the root QQ-value.

    • Motivation: We choose PUCT because it is a standard strategy for tree-structured search that offers an exploration–exploitation trade-off. Alternatives such as UCT may waste evaluations on clearly weak branches because they lack prior information, whereas PUCT retains exploration while directing more budget toward globally promising branches through its priors. Its root QQ-value further combines attained performance with improvement consistency.
    • Experimental validation: Root-allocation analysis, tree-policy and exploration-weight ablations, and the performance-only, improvement-only, additive, and multiplicative QQ-value comparison separately validate these choices (Sec. 4.3 and Fig. 3; App. C.10 and Fig. 15; our first-round response to Reviewer YZqh, W4).

These analyses show that the mechanisms are not arbitrary and that each contributes as intended. We will revise the paper to clarify the motivation for each design choice and link it directly to the corresponding controlled ablation.

We thank the reviewer again for the constructive feedback, which has helped us sharpen both the theoretical scope and the presentation of our contributions.

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

This paper proposes LB-MCTS, a trajectory-structured optimization framework that synergizes Large Language Models (LLMs) and Bayesian Optimization (BO) through a Monte Carlo Tree Search (MCTS) tree for solving the Combined Algorithm Selection and Hyperparameter optimization (CASH) problem. The key innovation is using the MCTS tree as a shared state that supports algorithm selection, hyperparameter refinement, and dynamic proposer selection between LLM and BO. The framework introduces Selective Tuning Memory (STM) for path-aware, algorithm-specific context retrieval and a reliability-aware policy that adaptively shifts from LLM-driven to BO-driven proposals as surrogate models improve. Experiments on 104 AML datasets demonstrate that LB-MCTS achieves the best average validation rank of 2.16, outperforming BO-based, LLM-based, and hybrid baselines.

Strengths and weaknesses

Strengths

  • Novel and Well-Motivated Problem Formulation.
  • The framework is technically well-designed with coherent components:
    • Per-algorithm GP surrogates that reduce dimensionality and avoid cross-algorithm noise
    • PUCT-based algorithm selection with theoretically grounded priors
    • STM that balances global relevance (Pareto frontier) with local trajectory context
    • Dynamic proposer selection based on Kendall's rank correlation
    • Comprehensive theoretical analysis with finite-time regret bounds and convergence guarantees (Theorem 3.1, Appendix A.3)
  • The experimental evaluation is thorough and well-executed

Weakness

  • Limited Discussion of Prompt Sensitivity.
  • Computational Overhead of LLM Inference.
  • Reflection Mechanism Complexity.
  • Generalization to Other Search Spaces
Questions
  • Prompt Sensitivity: How sensitive is LB-MCTS to variations in prompt engineering? Did you experiment with different formulations of the EXPLORATION/EXPLOITATION directives? Could you share results from a sensitivity analysis?
  • Reflection Cost-Benefit: The reflection mechanism doubles LLM calls per iteration. Could you quantify the additional cost and compare against a variant that uses periodic reflection (e.g., every 5 iterations)? Would the performance degradation be acceptable for cost-sensitive applications?
  • Extreme Scenarios: How does LB-MCTS perform when:
    • The LLM consistently generates poor proposals (e.g., due to domain mismatch)?
    • The validation feedback is highly noisy (as mentioned in limitations)?
    • The search space has many conditional dependencies or constraints?
  • Comparison with AutoGluon/FLAML: The paper focuses on academic baselines. How does LB-MCTS compare against modern AutoML systems like AutoGluon or FLAML that use advanced techniques beyond standard BO?
  • Reproducibility: The code is provided as supplementary material. Could you clarify the exact environment setup (Python version, dependencies) and whether the results are deterministic (or provide seeds used)?
  • Dynamic Proposer Selection Threshold: The BO selection probability is updated every 5 observations based on Kendall's τ. Is this frequency optimal? Have you experimented with different update frequencies or alternative quality metrics (e.g., RMSE of GP predictions)?
Limitations

The paper appropriately acknowledges limitations in Appendix A.1:

  • Noisy validation feedback can mislead MCTS and LLM
  • Performance depends on LLM capability
  • Potential societal impacts (bias, privacy) from AutoML deployment

I appreciate the transparency about these limitations. The suggestions for future work (noise-aware LLM tuning, domain adaptation) are reasonable.

Additional limitations worth considering:

  • The framework assumes access to a powerful LLM with strong reasoning capabilities, which may not be available in all deployment scenarios
  • The MCTS tree can grow large; memory/scalability for very large budgets (>1000 iterations) isn't discussed
  • The per-algorithm GP surrogates assume independent hyperparameter spaces, which may not hold if algorithms share hyperparameters (e.g., regularization strength)
Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Q1/W1 — Prompt sensitivity

The analysis in Sec. 4.3 and Fig. 4 evaluates the effect of the EXPLORATION/EXPLOITATION mechanism, but does not isolate sensitivity to their exact wording. We therefore extended the experiment with two controlled prompt variants while keeping all other prompt components fixed. Simplification retains only the first sentence of each original directive and removes the subsequent detailed guidance. Paraphrasing uses three independently generated, semantics-preserving rewrites of both directives. The table below reports the normalized scores of all methods; for Paraphrasing, we report the mean and standard deviation across three rewrites.

Round LB-MCTS Exploration Only Exploitation Only LB-Flat Simplification Paraphrasing
100 0.79 0.72 0.80 0.76 0.75 0.77±0.030.77\pm0.03
200 0.92 0.84 0.86 0.82 0.91 0.93±0.020.93\pm0.02
300 0.98 0.91 0.90 0.85 0.95 0.97±0.010.97\pm0.01

The paraphrased directives remain within 0.02 of the original LB-MCTS mean at every reported checkpoint. Simplification causes a slightly larger but still limited reduction, with a maximum gap of 0.04 and a final score of 0.95. In contrast, changing the mechanism by retaining only EXPLORATION or EXPLOITATION reduces the final score to 0.91 and 0.90, respectively, while LB-Flat reaches 0.85. These results indicate that the dual-directive mechanism is substantially more consequential than its exact surface wording. We will add the sensitivity analysis to the revision.

Q2/W2/W3 — LLM overhead and reflection cost-benefit

The measured overall LLM overhead is modest in our benchmark. As reported in Appendix C.7, LB-MCTS incurs an average API cost of $0.127 per task, while LLM inference takes 13.78 s per iteration, compared with 63.02 s for black-box model evaluation. A finer-grained breakdown attributes $0.058 per task and 7.01 s per LLM-proposer iteration to reflection. In return, Appendix C.11 reports that, across the 10 datasets, the final average validation rank is 1.1 with reflection, compared with 1.7 without reflection.

We appreciate the reviewer’s suggestion of periodic reflection. However, in LB-MCTS, each reflection is tied to a specific attempt and tree node, and is later retrieved by STM based on relevance and performance. Delaying reflection for five iterations while still producing one reflection per attempt preserves this design but offers little cost reduction. Alternatively, generating one summary per period reduces calls, but creates global experience that the current STM cannot route to the appropriate algorithm, branch, or directive prompt at the appropriate time. Unconditional injection may bias subsequent exploration. Thus, periodic-(5) would require a new global-experience routing mechanism, making its effect difficult to attribute solely to the reflection interval. We therefore view periodic reflection as a distinct design direction for future exploration.

Q3 — Extreme scenarios

(a) Poor LLMs

To test this scenario, we replaced GPT-4o-mini with Qwen3.5-9B and compared LB-MCTS against B-MCTS (BO only) and L-MCTS (LLM only). In our runs, Qwen3.5-9B was substantially less reliable at following optimization instructions and often failed to return a valid configuration JSON; in such cases, we used the default configuration as a safe fallback. It therefore serves as a stress test for consistently poor LLM proposals.

Method Normalized Score Gain over B-MCTS
LB-MCTS (GPT-4o-mini) +0.05
LB-MCTS (Qwen3.5-9B) +0.01
L-MCTS (GPT-4o-mini) -0.02
L-MCTS (Qwen3.5-9B) -0.08

The LLM-only variant underperforms B-MCTS under both backbones and deteriorates further with Qwen3.5-9B. In contrast, although the weaker LLM reduces the gain of the complete framework, LB-MCTS (Qwen3.5-9B) remains comparable to the BO-only reference. This robustness stems from dynamic proposer selection: as the surrogate becomes reliable, LB-MCTS shifts toward BO rather than continuing to rely on a poor LLM proposer. Thus, LLM quality primarily affects the finite-budget gain, while BO provides a performance safeguard.

(b) Highly noisy validation feedback

We agree that noisy validation feedback can weaken LB-MCTS. This issue is particularly relevant for small datasets, where fewer validation samples lead to higher sampling variance in empirical losses and make apparent improvements less reliable. This interpretation is consistent with the task-characteristic analysis in Appendix C.4 and Fig. 10(b), where LB-MCTS performs progressively better as dataset size increases. To quantify the validation noise of each dataset, we evaluate an XGBoost proxy model using five-fold cross-validation and compute the coefficient of variation (CV) of its five fold-specific validation losses, defined as their standard deviation divided by their mean. A larger CV indicates greater relative fluctuation across folds and therefore a noisier validation signal for the optimizer.

To further examine the relationship between dataset scale, validation noise, and optimization performance, we partitioned all 104 datasets into three equal-sized groups by sample size:

Dataset Size Average CV LB-MCTS Average Rank Second-Best Average Rank
Small 4.1% 2.31 3.50
Medium 2.3% 2.24 3.23
Large 1.7% 1.94 3.75

As the average CV decreases from 4.1% on small datasets to 1.7% on large datasets, LB-MCTS’s average rank improves from 2.31 to 1.94, consistent with the method benefiting from more reliable feedback. Nevertheless, even in the small-data regime, it retains the best average rank. These results suggest that natural validation noise can reduce the attainable gain but does not eliminate the method’s overall advantage in our benchmark.

(c) Conditional/constrained search spaces (also W4)

Appendix C.5 already evaluates LB-MCTS on a hierarchical DL-and-feature-engineering CASH space. The space contains multiple conditional dependencies: optimizer (Adam/SGD), and scheduler choices activate their corresponding parameters. It also contains explicit constraints, like attention-dimension divisibility in FT-Transformer. LB-MCTS achieves the best average rank of 1.5 across the 10 datasets, showing that its advantage extends to this substantially more conditional and constrained DL setting. In the revision, we will provide the complete DL search-space specification.

Q4 — Comparison with AutoGluon

To address this request, we added AutoGluon as a strong modern end-to-end AutoML baseline. AutoGluon’s best_quality preset trains models from 108 predefined configurations and dynamically stacks them into an ensemble. Because this portfolio-specific pipeline is not directly transferable to our CASH space, we compare AutoGluon end-to-end on the 10 representative datasets against the ensemble-augmented baselines in Appendix C.6.

Method Average Test Rank
LB-MCTS 2.9
AutoGluon 3.4
RB 4.8
SMAC 5.4
OptDivBO 5.5
LLAMBO 6.1
BORA 6.2
MOSAIC 6.6
OPRO 7.0
BOPRO 7.1

LB-MCTS achieves the best average test rank of 2.9, followed by AutoGluon at 3.4. Importantly, AutoGluon’s system-level strength relies on a sophisticated and tailored ensemble-learning pipeline, whereas LB-MCTS uses only the simple post-hoc ensemble selection in Appendix C.6. Thus, an ensemble strategy tailored specifically to the configurations discovered by LB-MCTS may further improve its end-to-end performance.

Q5 — Reproducibility

Our experiments were conducted on Linux with Python 3.8.20. Key dependencies include scikit-learn 1.3.2, OpenBox 0.8.1, ConfigSpace 0.4.21, and the OpenAI Python SDK 2.2.0. We used seed 1 for optimizer and data splits.

Q6 — Dynamic proposer update frequency and metric

Switching metric. We prefer correlation-based metrics to cross-validation prediction error (e.g., RMSE) because the latter is task-scale dependent; directly mapping such errors to [0,1] selection probabilities can therefore produce overly polarized and unstable switching behavior across tasks. Rank correlation is particularly appropriate because BO mainly requires the surrogate to order candidate configurations correctly, rather than to predict their absolute performance exactly. Empirically, Pearson correlation performs worse, whereas Spearman’s ρ\rho and Kendall’s τ\tau achieve similarly strong results.

Update frequency. We update every five observations, aligning with five-fold CV to balance evidence accumulation and responsiveness. We compared update intervals of 5, 10, 15, and 20 iterations, which yielded average ranks of 2.2, 2.1, 2.4, and 3.3, respectively. Performance is thus highly stable over the practical range of 5–15 iterations and degrades only at 20, where proposer adaptation becomes delayed.

Additional Limitations

We appreciate these thoughtful considerations. First, we agree that LB-MCTS benefits from an LLM with sufficient reasoning capabilities. Nevertheless, the B-MCTS component provides an empirical performance safeguard when the LLM proposer is unreliable. Second, the tree has linear space complexity, and we persist its contents to the file system to avoid memory pressure. STM retrieval and MCTS selection have at most linear time complexity and operate at the millisecond scale. GP fitting grows with the number of observations but remains on the order of seconds. Finally, some models may share hyperparameters. LB-MCTS currently instantiates these parameters separately under each corresponding Algo node and learns their model-conditional effects. Whether these effects should be learned independently or through partial information sharing across related model branches remains an interesting direction for future work. We will clarify these discussions in the revision.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer again for the positive and constructive review. We would like to briefly follow up on our rebuttal. In the order of your questions, we addressed: 1) prompt sensitivity through controlled simplification and paraphrasing experiments; 2) the cost–benefit of LLM inference and reflection, together with why periodic reflection requires a distinct routing mechanism; 3) robustness to poor LLM proposals, noisy validation feedback, and conditional/constrained search spaces; 4) an end-to-end comparison with AutoGluon; 5) the exact environment, dependencies, and random seed; 6) alternative proposer-quality metrics and update frequencies; and 7) the additional limitations concerning LLM capability, large-budget scalability, and shared hyperparameters. We hope these additions address your questions. If time permits, we would be very grateful for your feedback and would be happy to discuss or clarify any remaining concerns.

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

Missing a submission?

Loading the discussion…