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

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

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150619) · [OpenReview](https://openreview.net/forum?id=gmg28fq6Rq) · [Open on the map](../papers.html#p150619)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Evolutionary Optimization with LLMs](../pgroup/326.md) · Type: new method · Keywords: algorithm selection, hyperparameter tuning, Monte Carlo Tree Search, Bayesian Optimization, Large Language Models, AutoML

Areas: [AI Agents](../areas/agents.md) › Agentic Decision Making › Language Model Agents

## Summary
LB-MCTS introduces a trajectory-structured optimization framework that synergizes Monte Carlo Tree Search, Bayesian Optimization, and Large Language Models to efficiently solve the joint algorithm selection and hyperparameter tuning problem across high-dimensional datasets.

## Explained to a 5-year-old
We want computers to automatically choose the best way to solve problems and set the right settings for them. Some methods need a lot of information first, and others don't work well on big problems. This paper creates a new way that uses a tree to share information between a smart math method and a language model that can suggest ideas. It helps the computer learn faster and do better on many tasks. The result is a simpler way to make machines smarter without needing experts.

## Explained to a 5-year-old, longer
We want computers to automatically choose the best algorithm and set the right settings for solving problems. Traditional methods that use math models often need a lot of initial data, while methods that use language models sometimes fail when the problems are very large and complex. This paper proposes a new framework that builds a tree structure to keep track of information shared between a math model and a language model. The tree helps the math model make better guesses about which algorithm to use and what settings to try. Meanwhile, the language model looks at the path taken so far and suggests new ideas or reflections. As the math model learns more, the system gradually trusts the math model more and the language model less, balancing their strengths. This combined approach works well on many different datasets, improving performance over existing methods. The overall effect is a more efficient and scalable way to automate machine learning tasks, making it easier for people without deep expertise to get good results.

## For a technical reader
The paper presents a unified search framework that leverages Monte Carlo Tree Search to maintain a shared state for both algorithm selection and hyperparameter tuning. Bayesian Optimization provides quantitative surrogate models for each algorithm, while a Large Language Model supplies semantic proposals and reflections using path-aware memory. A reliability-aware policy dynamically balances contributions from the LLM and BO as confidence in the surrogate grows. Experiments on a standard AutoML benchmark suite show consistent gains over pure BO, pure LLM, and hybrid baselines.

## Problem
Automating both algorithm selection and hyperparameter tuning together is difficult because Bayesian Optimization methods often lack initial information, and language model based approaches struggle to generalize to complex, high-dimensional optimization landscapes.

## Method
The approach employs a Monte Carlo Tree Search tree as a shared state to coordinate algorithm selection, hyperparameter refinement, and a collaborative loop between Bayesian Optimization surrogate models and Large Language Models that generate semantic proposals. As the surrogate improves, a reliability-aware policy gradually shifts from LLM-driven to BO-driven suggestions within a unified search trajectory.

## Results
The approach consistently achieves superior performance compared to Bayesian Optimization, LLM-based, and hybrid baselines across the evaluated datasets.

## Contributions
A trajectory-structured optimization framework that integrates Monte Carlo Tree Search, Bayesian Optimization surrogate modeling, and Large Language Models with path-aware memory to jointly handle algorithm selection and hyperparameter tuning, along with a reliability-aware proposer policy that adapts between LLM and BO guidance.

## Research questions this paper is counted under

- [How can Bayesian optimization be made more effective and reliable for complex, high-dimensional black-box problems?](../q/70.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150619)
