Skip to main content
QUICK REVIEW

[Paper Review] Tree ensemble kernels for Bayesian optimization with known constraints over mixed-feature spaces

Alexander Thebelt, Calvin Tsay|arXiv (Cornell University)|Jul 2, 2022
Machine Learning and Data ClassificationComputer Science5 citations
TL;DR

This paper proposes a tree ensemble kernel Gaussian process framework for Bayesian optimization that enables uncertainty quantification and constrained optimization in mixed-feature spaces. By interpreting tree ensembles as Gaussian process priors, the method efficiently computes model variance and formulates a mixed-integer second-order cone optimization problem to maximize acquisition functions under known constraints, outperforming state-of-the-art methods on constrained, mixed-variable black-box optimization tasks.

ABSTRACT

Tree ensembles can be well-suited for black-box optimization tasks such as algorithm tuning and neural architecture search, as they achieve good predictive performance with little or no manual tuning, naturally handle discrete feature spaces, and are relatively insensitive to outliers in the training data. Two well-known challenges in using tree ensembles for black-box optimization are (i) effectively quantifying model uncertainty for exploration and (ii) optimizing over the piece-wise constant acquisition function. To address both points simultaneously, we propose using the kernel interpretation of tree ensembles as a Gaussian Process prior to obtain model variance estimates, and we develop a compatible optimization formulation for the acquisition function. The latter further allows us to seamlessly integrate known constraints to improve sampling efficiency by considering domain-knowledge in engineering settings and modeling search space symmetries, e.g., hierarchical relationships in neural architecture search. Our framework performs as well as state-of-the-art methods for unconstrained black-box optimization over continuous/discrete features and outperforms competing methods for problems combining mixed-variable feature spaces and known input constraints.

Motivation & Objective

  • To address the challenge of uncertainty quantification in tree ensemble-based Bayesian optimization for mixed-variable and constrained search spaces.
  • To develop a differentiable, optimization-compatible formulation of the acquisition function that handles piecewise constant responses from tree ensembles.
  • To integrate known domain-specific constraints—such as hierarchical relationships and conditional feature dependencies—into the optimization process to improve sampling efficiency.
  • To enable scalable and efficient Bayesian optimization over continuous, discrete, and categorical features with structural constraints, particularly in engineering and neural architecture search settings.
  • To provide a practical, open-source implementation that outperforms existing methods on constrained, mixed-type optimization benchmarks.

Proposed method

  • The method interprets a tree ensemble as a Gaussian process prior using a kernel derived from tree agreement ratios, enabling principled uncertainty quantification.
  • It formulates the acquisition function optimization as a mixed-integer second-order cone program (MISOCP), allowing exact optimization over discontinuous, piecewise-constant response surfaces.
  • The tree ensemble kernel incorporates known constraints by encoding variable hierarchies and conditional dependencies directly into the kernel structure and optimization formulation.
  • The framework supports mixed-variable spaces by modeling continuous, integer, and categorical features through appropriate kernel and constraint design.
  • The approach uses a hyperparameter, the tree agreement ratio, to represent model uncertainty, which is shown to be sufficient for effective exploration.
  • The optimization is implemented via a compatible MISOCP formulation that enables efficient, global optimization of the acquisition function under constraints.

Experimental results

Research questions

  • RQ1Can tree ensemble kernels be effectively interpreted as Gaussian process priors to enable reliable uncertainty quantification in black-box optimization?
  • RQ2How can acquisition function optimization be efficiently formulated for tree ensemble-based models with discontinuous, piecewise-constant response surfaces?
  • RQ3To what extent can known input constraints—such as hierarchical dependencies or conditional feature activation—be integrated into tree ensemble-based Bayesian optimization to improve sampling efficiency?
  • RQ4Does the proposed MISOCP-based acquisition optimization outperform sampling-based strategies in constrained, mixed-variable optimization settings?
  • RQ5How does the proposed method compare to state-of-the-art Bayesian optimization algorithms on benchmarks with complex feature constraints?

Key findings

  • The proposed tree ensemble kernel Gaussian process framework achieves performance on par with state-of-the-art methods on unconstrained black-box optimization tasks involving continuous and discrete features.
  • The method significantly outperforms competing approaches on problems with mixed-variable feature spaces and known input constraints, particularly in neural architecture search benchmarks.
  • The use of the tree agreement ratio as a surrogate for model uncertainty was shown to be sufficient and effective for guiding exploration in the search space.
  • The MISOCP formulation for acquisition function optimization demonstrated superior convergence and sampling efficiency compared to sampling-based strategies, especially under complex constraints.
  • The framework successfully handles hierarchical and conditional feature dependencies, such as deactivating hyperparameters for inactive layers in neural architectures, improving optimization efficiency.
  • An open-source implementation is available, enabling reproducibility and integration into real-world engineering and machine learning workflows.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.