Learning Search Space Partition for Black-box Optimization using Monte Carlo Tree Search

Linnan Wang, Rodrigo Fonseca, Yuandong Tian

TL;DR

LA-MCTS (Latent Action Monte Carlo Tree Search) is a meta-algorithm that scales black-box optimization to high-dimensional spaces by recursively partitioning the search space. By using machine learning to dynamically draw nonlinear boundaries around high-performing regions, it allows local optimizers like Bayesian Optimization to work efficiently without succumbing to the curse of dimensionality.

What Problem Does This Paper Address?

Black-box optimization—finding the maximum or minimum of an unknown, expensive-to-evaluate function—is critical for tasks like neural architecture search, robotics planning, and hyperparameter tuning. However, when the search space has dozens, hundreds, or thousands of dimensions, standard approaches break down.

Global surrogate models, such as those used in traditional Bayesian Optimization (BO), suffer from the "curse of dimensionality," requiring an impractical number of samples to accurately map the entire space. Conversely, purely local or greedy search strategies frequently get trapped in sub-optimal local minima. While previous space-partitioning methods attempted to solve this by breaking the space into smaller regions, they relied on rigid, hand-designed, objective-independent splitting rules (like uniform grids) that fail to adapt to the actual shape of the target function.

Methods

The authors introduce LA-MCTS, a hierarchical meta-algorithm that learns how to partition a search space online using a small number of samples.

The core workflow operates in three main steps:

  1. Learning & Splitting (Latent Actions): Instead of using linear or fixed splits, LA-MCTS uses unsupervised learning to determine boundaries. For a given region, it applies the $K$-means algorithm to cluster existing data points into "good" and "bad" performance categories based on their function values. It then trains a Support Vector Machine (SVM) to learn a nonlinear decision boundary (the "latent action") separating these clusters, splitting the parent node into high- and low-performing child nodes.
Latent Action Model
  1. Selection: To navigate the tree of partitioned spaces, the algorithm uses the Upper Confidence Bound (UCB1) formula. This balances exploitation (sampling from regions known to yield high values) and exploration (visiting under-sampled regions in case a global optimum is hidden there).
  2. Sampling via Local Optimizers: Once a promising leaf region is selected, LA-MCTS acts as a meta-algorithm wrapper. Rather than uniformly sampling the space, it deploys an existing state-of-the-art local optimizer—such as TuRBO (Trust Region Bayesian Optimization) or standard BO—to pinpoint the best candidates strictly within that bounded, lower-complexity subregion.
Figure 2: The workflow of LA-MCTS: In an iteration, LA-MCTS starts with building the tree via splitting, then it selects a region based on UCB. Finally, on the selected region, it samples by BO.

Datasets

The authors evaluated LA-MCTS across several challenging benchmarks:

  • MuJoCo Locomotion Tasks: Reinforcement learning continuous control environments (Swimmer, Hopper, Walker-2d, Half-Cheetah, Ant, and Humanoid), ranging from 16 to 6,392 parameters.
  • High-Dimensional Synthetic Functions: Standard optimization benchmarks including Ackley, Rosenbrock, Levy, and Rastrigin, tested at 20 and 100 dimensions.
  • Lunar Landing: A 12-parameter heuristic policy optimization task from OpenAI Gym.
  • Rover-60d: A 60-variable trajectory planning problem.

Key Insights and Ideas

  • Classification is Easier Than Regression: A key philosophical insight of the paper is that to find an optimum, you don't need a surrogate model that perfectly predicts the exact function value everywhere. It is much more sample-efficient to learn a simple classifier that accurately answers: "Is this subregion good or bad?"
  • Dynamic, Objective-Dependent Boundaries: By using $K$-means and SVMs inline, the tree structure dynamically warps its boundaries to match the actual topology (e.g., contours) of the objective function, drastically reducing the search space volume.
  • Boosting Local Models: Trust-region methods like TuRBO work well locally but struggle with global exploration and initialization. LA-MCTS provides an ideal global scaffolding, helping local models initialize in promising areas upon restarts and preventing them from getting stuck.

Key Results

  • MuJoCo Scaling: On the highly complex 6,392-dimensional Humanoid task, LA-MCTS achieved significantly higher rewards than state-of-the-art black-box solvers within a 30k sample budget.
  • Meta-Algorithm Effectiveness: When paired with TuRBO or standard BO, LA-MCTS consistently boosted the baseline performance of those optimizers, particularly as the dimensionality of synthetic functions scaled from 20d to 100d.
  • Hyperparameter Robustness: Ablation studies demonstrated that the algorithm is relatively insensitive to hyperparameter tuning, performing reliably across various splitting thresholds ($\theta$) and exploration constants ($C_p$).

Limitations and Future Work

While LA-MCTS shows strong sample efficiency as a black-box optimizer, the authors note that it is still less sample-efficient than pure gradient-based reinforcement learning methods (like ARS or TRPO) on simpler, low-dimensional tasks where gradient approximations are highly effective. This is due to the inherent sample cost that black-box methods must pay to explore globally.

For future work, the authors plan to extend this learned space-partitioning framework to Multi-Objective Optimization problems.

Summary updated

BibTeX
@inproceedings{wang2020learning,
  author = {Linnan Wang and Rodrigo Fonseca and Yuandong Tian},
  title = {{Learning Search Space Partition for Black-box Optimization using Monte Carlo Tree Search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=ZoCOuo0vDx},
}
Figure