Monte Carlo Tree Search based Space Transfer for Black Box Optimization

Shukuan Wang, Ke Xue, Lei Song, Xiaobin Huang, Chao Qian

Abstract

Black-box optimization (BBO) is essential for complex engineering tasks where objective functions lack analytical forms and evaluations are costly. While transfer learning offers a path to accelerate BBO by leveraging historical data, it often suffers from "negative transfer" when source and target tasks diverge. This paper presents MCTS-transfer, a novel framework that utilizes Monte Carlo Tree Search (MCTS) to adaptively partition the search space and transfer knowledge. By dynamically weighting source tasks and employing a unique "Treeify" reconstruction mechanism, MCTS-transfer effectively mitigates negative transfer and achieves faster convergence across diverse benchmarks, including robotics and hyperparameter optimization.

Introduction

In domains ranging from robotics and neural architecture search to integrated circuit design, researchers frequently encounter Black-box Optimization (BBO) problems. These problems are characterized by the absence of a known mathematical formula for the objective function, requiring expensive simulations or physical experiments for every evaluation.

Bayesian Optimization (BO) has emerged as the standard approach for BBO. However, standard BO typically starts from scratch for every new task, leading to a "cold start" problem. Transfer Bayesian Optimization (TBO) attempts to address this by incorporating data from previous (source) tasks. The primary challenge in TBO is Negative Transfer: if the source tasks are not sufficiently similar to the target task, the algorithm may be misled into sub-optimal regions of the search space. Existing TBO methods often lack the flexibility to detect and correct these misleading priors in real-time.

The MCTS-transfer Framework

MCTS-transfer addresses these challenges by representing the search space as a hierarchical tree that can be pruned, expanded, and reconstructed dynamically. The framework consists of four primary components:

1. Search Space Partitioning

Using the principles of MCTS, the algorithm recursively divides the high-dimensional search space into "good" and "bad" subspaces. Each node in the tree represents a specific region of the input space, allowing the optimizer to focus its budget on the most promising areas.

2. Pre-learning from Source Tasks

Before the target optimization begins, MCTS-transfer processes historical data from source tasks to build an initial tree structure. This "warm start" identifies regions that were successful in the past, providing a roadmap for the initial stages of the target search.

3. Adaptive Weighting and Similarity Discovery

A critical innovation of this framework is its approach to task similarity. Rather than assuming similarity a priori, MCTS-transfer calculates a similarity score between the target and each source task. These weights are updated dynamically as new observations are gathered from the target task. If a source task is found to be irrelevant or misleading, its influence is reduced via a decay factor ($\gamma$), allowing the model to "forget" unhelpful information.

4. Tree Reconstruction (Treeify)

To combat negative transfer, the authors introduce the Treeify process. If new data suggests that a branch previously labeled as "bad" is actually performing well for the current task, the algorithm triggers a reconstruction of that subtree. This allows the model to self-correct and adapt the search space topography to the specific needs of the new problem, rather than remaining tethered to outdated source data.

Experimental Evaluation

The researchers evaluated MCTS-transfer against a wide array of benchmarks to test its versatility and robustness:

  • Synthetic Benchmarks: The BBOB (Black-Box Optimization Benchmarking) suite provided controlled environments for testing convergence.
  • Real-world Robotics and Control: Tasks included LunarLander (control), RobotPush (robotics), and Rover (trajectory optimization).
  • High-Dimensional Design: The Design-Bench suite, featuring Superconductor design and morphology optimization for Ant and D’Kitty agents.
  • Large-scale HPO: The HPOB benchmark, containing 176 search spaces and millions of evaluations, tested the algorithm's scalability.

Key Results

  • Superiority in Mixed Transfer: In scenarios where source tasks contained a mix of relevant and irrelevant data, MCTS-transfer consistently outperformed baselines such as Box-GP and state-of-the-art surrogate models like PFN.
  • Accelerated Convergence: On LunarLander and RobotPush, the framework reached high-performing solutions significantly faster than standard BO, demonstrating the efficiency of the pre-learned tree.
  • Robustness to Dissimilarity: Even when source tasks were intentionally misleading, the Treeify mechanism allowed the algorithm to recover and locate the global optimum, whereas traditional transfer methods often remained trapped in sub-optimal regions.

Discussion and Future Work

MCTS-transfer demonstrates that MCTS is not just a search algorithm but a flexible map for hierarchical space partitioning. By treating transfer learning as a dynamic, corrective process rather than a static additive one, the framework provides a robust solution to the cold-start problem in BBO.

Currently, the framework requires that source and target tasks share the same domain and dimensionality. Future research will explore Heterogeneous Space Transfer to map knowledge between different input dimensions. Additionally, the authors aim to refine similarity measures using distribution-based comparisons and provide formal convergence proofs for the adaptive tree reconstruction mechanism.

Summary updated

BibTeX
@inproceedings{wang2024monte,
  author = {Shukuan Wang and Ke Xue and Lei Song and Xiaobin Huang and Chao Qian},
  title = {{Monte Carlo Tree Search based Space Transfer for Black Box Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=T5UfIfmDbq},
}
Figure