Introduction: The Sampling Bias Problem
Hyperparameter optimization (HPO) is a cornerstone of modern machine learning, yet it remains a "black box." While Bayesian Optimization (BO) is highly efficient at finding the best configuration, it suffers from significant sampling bias. Because the primary goal is to maximize performance, the optimizer focuses almost exclusively on "promising" regions, leaving the rest of the search space poorly explored.
This bias makes post-hoc Interpretable Machine Learning (IML) tools, such as Partial Dependence Plots (PDPs), unreliable. When applied to standard HPO data, these tools often produce distorted results—high confidence near the optimum but wild guesses elsewhere. This lack of global insight often forces practitioners back to manual tuning to understand hyperparameter behavior.
Methodology: BOBAX and EIG-PDP
To address this, we introduce BOBAX (Bayesian Optimization + Bayesian Algorithm Execution). The core innovation is treating the acquisition of a reliable global explanation as a first-class objective.
EIG-PDP Acquisition Function
Instead of relying solely on standard metrics like Expected Improvement (EI), BOBAX utilizes a new acquisition function based on Bayesian Algorithm Execution (BAX). This function, EIG-PDP, identifies points that provide the maximum "Information Gain" regarding the Partial Dependence Plot of the objective function.
Interleaving and Adaptive Strategies
BOBAX employs an interleaving strategy, alternating between standard optimization steps and BAX steps. An advanced variant, adaptive BOBAX (a-BOBAX), allows users to define a confidence threshold for the explanation. The algorithm prioritizes building an accurate map of the search space until the threshold is met, then shifts its entire budget to finding the global optimum.
Key Results: Interpretability at Low Cost
We evaluated BOBAX on synthetic benchmarks and real-world HPO tasks using the YAHPO Gym surrogate benchmark.
Superior Accuracy and Performance
The results demonstrate that interpretability is not "free," but it is remarkably "cheap." BOBAX achieved significantly lower $L_1$ error in its PDP estimates compared to standard BO. Crucially, this gain in interpretability comes with almost no sacrifice in optimization performance; BOBAX reaches final regret levels comparable to standard BO-EI.
Efficiency in Confidence
In neural network tuning tasks, a-BOBAX reached target precision for explanations nearly twice as fast as standard BO (11.5 iterations vs. 22). While standard methods often produce qualitatively incorrect PDPs due to sampling bias, BOBAX ensures a reliable global map.
Conclusion and Future Work
BOBAX bridges the gap between optimization and explainability. By intelligently gathering data to inform global explanations, it provides practitioners with the trust and insight needed for automated HPO. Future work will focus on reducing the computational overhead of calculating Expected Information Gain and scaling the method to higher-dimensional hyperparameter spaces.
Summary updated