Bayesian Optimization (BO) is the gold standard for optimizing expensive, black-box functions—think tuning hyperparameters for a massive neural network or designing a new airfoil. However, BO famously hits a wall as the number of dimensions increases, a victim of the "curse of dimensionality."
In their NeurIPS 2022 paper, researchers propose MCTS-VS, a novel approach that uses Monte Carlo Tree Search (MCTS) to intelligently select which variables to optimize, making high-dimensional BO significantly more efficient and effective.
TL;DR
MCTS-VS overcomes the curse of dimensionality in Bayesian Optimization by using Monte Carlo Tree Search to automatically identify and prioritize "important" variables. By focusing optimization efforts on a dynamically selected low-dimensional subspace, it achieves state-of-the-art performance on complex tasks like Neural Architecture Search and robotic locomotion while remaining computationally lean.
What Problem Does This Paper Address?
Standard BO relies on surrogate models (usually Gaussian Processes) to map the input space. In high dimensions ($D > 20$), the volume of the search space grows exponentially, and the computational cost of updating the surrogate model becomes prohibitive.
Existing solutions generally fall into three camps:
- Decomposition: Assuming the function is a sum of simpler, low-dimensional functions.
- Embeddings: Projecting the high-dimensional space into a random low-dimensional one.
- Variable Selection: Choosing a subset of $d$ variables to optimize while keeping others fixed.
The challenge with variable selection (like the popular "Dropout" method) is that it often relies on random selection. If you have 500 variables but only 10 actually matter, picking 10 at random is unlikely to yield the "valid" ones. MCTS-VS aims to solve this by learning which variables are important on the fly.
Methods
The core innovation is MCTS-VS (Monte Carlo Tree Search based Variable Selection). Instead of partitioning the values of the search space (as seen in previous MCTS-based optimization), it partitions the set of variables themselves.
1. The Variable Score
The algorithm maintains a "variable score" vector. For each variable $x_i$, the score is the average objective value of all points sampled when $x_i$ was included in the optimized subset. This acts as a proxy for the variable's importance.
2. The MCTS Structure
- Nodes: Each node in the tree represents a subset of variables. The root contains all variables.
- Selection: Using the Upper Confidence Bound (UCB) formula, the algorithm traverses the tree to find a "leaf" node containing promising variables.
- Optimization: Once a subset is selected, any standard BO algorithm (like TuRBO or vanilla BO) is used to optimize those specific variables.
- The "Fill-in" Strategy: To evaluate a point, the variables not in the current subset must have values. MCTS-VS uses a "best-k" strategy: it randomly picks values for unselected variables from the top $k$ previously evaluated points.
- Expansion: If a node is visited enough times and contains many variables, it splits into two children: "important" variables (high scores) and "unimportant" variables (low scores).
Datasets
The authors evaluated MCTS-VS across three distinct domains:
- Synthetic Functions: Hartmann-6 and Levy-10, artificially inflated with "unrelated" dimensions to reach $D=300$ and $D=500$.
- Neural Architecture Search (NAS): NAS-Bench-101 and NAS-Bench-201, where the goal is to find the best-performing network architecture within a constrained search space.
- Reinforcement Learning (MuJoCo): The "Hopper" and "Walker2d" locomotion tasks, where the optimizer must find the best parameters for a linear policy to make a robot walk.
Key Insights and Ideas
- Automatic Dimensionality Reduction: Unlike embedding methods that require a pre-defined subspace dimension $d$, MCTS-VS can theoretically adapt. It treats variable selection as a search problem, balancing the exploration of new variables with the exploitation of known "valid" ones.
- Variable Partitioning vs. Space Partitioning: Most MCTS applications in optimization (like LA-MCTS) split the input domain into smaller boxes. MCTS-VS splits the features. This is much more scalable because the number of variables grows linearly, while the volume of the search space grows exponentially.
- Theoretical Justification: The authors provide a regret bound showing that the "gap" between the found solution and the optimum is directly tied to the importance of the unselected variables. This proves that a "good" selection method (one that picks high-importance variables) is mathematically guaranteed to perform better than random selection.
Key Results
- Superiority over Randomness: MCTS-VS consistently outperformed "Dropout-BO" (random selection). On synthetic benchmarks, MCTS-VS achieved a "recall" of valid variables (finding the ones that actually matter) of ~35-43%, compared to just 1-10% for random selection.
- Efficiency: MCTS-VS is significantly faster than SAASBO (a high-dimensional BO baseline). While SAASBO might take hours per iteration due to complex inference, MCTS-VS maintains a low overhead, often running in seconds.
- Real-World Performance: On MuJoCo tasks, MCTS-VS-TuRBO achieved higher rewards than state-of-the-art baselines like LA-MCTS and ALEBO, particularly on the 102-dimensional Walker2d task.
Limitations and Future Work
- Low-Effective Dimension Assumption: MCTS-VS relies on the assumption that only a subset of variables is truly "important." If a function is truly high-dimensional (where every variable has a significant, non-additive impact), the performance gain may diminish.
- Hyperparameter Sensitivity: While the authors claim robustness, the algorithm introduces several new parameters (batch sizes, split thresholds, $k$ for the fill-in strategy) that might require tuning for specific new domains.
- Future Direction: The authors suggest that combining MCTS-VS with more sophisticated "fill-in" strategies or hierarchical selection methods (like combining it with SAASBO) could further push the boundaries of high-dimensional optimization.
Summary updated