ENTMOOT: A Framework for Optimization over Ensemble Tree Models

Alexander Thebelt, Jan Kronqvist, Miten Mistry, Robert M. Lee, Nathan Sudermann-Merx, Ruth Misener · DOI

Abstract

Bayesian Optimization (BO) is a powerful strategy for optimizing expensive black-box functions. While Gaussian Processes (GPs) are the traditional surrogate models for BO, they often struggle with high-dimensional spaces and categorical variables. Ensemble tree models, such as Gradient Boosted Regression Trees (GBRTs), offer a robust alternative but lack natural uncertainty quantification and are difficult to optimize due to their non-differentiable nature. This paper presents ENTMOOT (ENsemble Tree MOdel Optimization Tool), a framework that incorporates a distance-based uncertainty measure and transforms the acquisition function optimization into a Mixed-Integer Programming (MIP) problem. By ensuring global optimality in the suggestion of new points, ENTMOOT significantly outperforms traditional sampling-based tree models and GP-based approaches in high-dimensional search spaces.

Introduction

In many scientific and engineering domains, researchers encounter "black-box" functions—processes where the internal mechanism is unknown or too complex to model analytically, and evaluations are costly in terms of time or resources. Bayesian Optimization has emerged as the standard approach for these problems, typically utilizing Gaussian Processes to build a surrogate model. However, GPs face significant scaling issues as the number of dimensions or data points increases.

Ensemble tree models, such as Random Forests and GBRTs, are highly effective at handling large, high-dimensional datasets and heterogeneous data types. Despite these advantages, their integration into BO has been hindered by two primary obstacles: the absence of a built-in uncertainty measure and the difficulty of optimizing the resulting discontinuous, non-differentiable acquisition functions.

The ENTMOOT Framework

ENTMOOT addresses these challenges through a novel combination of spatial heuristics and mathematical programming.

Distance-Based Uncertainty

To facilitate the exploration-exploitation trade-off essential to BO, ENTMOOT introduces a distance-based uncertainty metric. Rather than relying on complex statistical approximations, the framework uses the spatial distance from a query point to the nearest point in the existing training data. By supporting both squared Euclidean and Manhattan distances, ENTMOOT provides a reliable proxy for model uncertainty; as the distance from known data increases, the uncertainty grows, prompting the algorithm to explore uncharted regions of the search space.

Mixed-Integer Programming Formulation

The most significant contribution of ENTMOOT is the translation of the ensemble tree structure into a set of mathematical constraints. By representing the decision splits within the trees as binary variables, the authors formulate the acquisition function as a Mixed-Integer Linear Program (MILP) or a Mixed-Integer Quadratic Program (MIQP). This formulation allows the use of state-of-the-art solvers like Gurobi to find the globally optimal next point for evaluation. This is a major departure from traditional tree-based BO methods, which typically rely on random sampling or local search heuristics that often fail in high-dimensional spaces.

Scalability and Efficiency

To maintain performance as datasets grow, ENTMOOT employs k-means clustering to represent data density efficiently. For models involving thousands of trees, the framework utilizes a specialized branch-and-bound strategy designed to exploit the hierarchical structure of the trees, allowing for faster pruning of the search space.

Experimental Evaluation

The authors validated ENTMOOT across a diverse set of benchmarks, ranging from synthetic functions to complex engineering simulations.

Synthetic Benchmarks

The framework was tested against standard optimization functions like the Rosenbrock, Rastrigin, and Ackley functions. Notably, these tests were scaled up to 200 dimensions. In these high-dimensional regimes, ENTMOOT consistently outperformed GP-based tools, which frequently succumbed to the "curse of dimensionality."

Real-World Applications

The practical utility of ENTMOOT was demonstrated on several high-stakes engineering problems:

  • Rover Navigation (60D): Optimizing path planning for planetary exploration.
  • Fermentation Optimization (80D): Maximizing yields in bioreactor chemical production.
  • Robot Pushing (14D): Navigating high-noise environments in robotic manipulation tasks.

Results and Discussion

The experimental results highlight several key insights:

  1. Optimization Strategy is Critical: Comparisons between ENTMOOT and a version using random sampling (ENTMOOT-RND) showed that the MIP-based global optimization is essential for success in high dimensions. Random sampling often fails to locate the narrow regions of improvement that the MIP solver identifies.
  2. Robustness to Noise: In tasks like Robot Pushing, ENTMOOT demonstrated superior stability compared to gradient-free evolutionary algorithms such as CMA-ES.
  3. Global Convergence: ENTMOOT provides a theoretical and practical guarantee of finding the global minimum of the acquisition function, a property rarely found in tree-based optimization frameworks.

Limitations and Future Outlook

While ENTMOOT offers significant advantages, it introduces a higher computational cost per iteration due to the complexity of solving Mixed-Integer Programs. This makes it most suitable for "expensive" black-box functions where the cost of a single evaluation outweighs the time spent on the MIP solver. Future work aims to extend the framework to multi-objective optimization and explore feature-weighted uncertainty measures to further improve performance in specialized domains.

Conclusion

ENTMOOT bridges the gap between the flexibility of ensemble tree models and the rigorous requirements of Bayesian Optimization. By framing the search for the next evaluation point as a global optimization problem, it provides a robust, scalable solution for high-dimensional black-box optimization challenges.

Summary updated

BibTeX
@article{thebelt2020entmoot,
  author = {Alexander Thebelt and Jan Kronqvist and Miten Mistry and Robert M. Lee and Nathan Sudermann-Merx and Ruth Misener},
  title = {{ENTMOOT: A Framework for Optimization over Ensemble Tree Models}},
  journal = {Comput. Chem. Eng.},
  year = {2020},
  doi = {10.1016/j.compchemeng.2021.107343},
}
Figure