Skip to main content
QUICK REVIEW

[Paper Review] Explaining Hyperparameter Optimization via Partial Dependence Plots

Julia Moosbauer, Julia Herbinger|arXiv (Cornell University)|Nov 8, 2021
Advanced Multi-Objective Optimization AlgorithmsComputer Science10 citations
TL;DR

This paper proposes uncertainty-aware partial dependence plots (PDPs) for Bayesian optimization-based hyperparameter tuning, using posterior uncertainty from surrogate models to guide sub-region partitioning and improve reliability. It demonstrates that sub-region PDPs yield significantly more confident and accurate interpretations than global PDPs, especially around optimal configurations.

ABSTRACT

Automated hyperparameter optimization (HPO) can support practitioners to obtain peak performance in machine learning models. However, there is often a lack of valuable insights into the effects of different hyperparameters on the final model performance. This lack of explainability makes it difficult to trust and understand the automated HPO process and its results. We suggest using interpretable machine learning (IML) to gain insights from the experimental data obtained during HPO with Bayesian optimization (BO). BO tends to focus on promising regions with potential high-performance configurations and thus induces a sampling bias. Hence, many IML techniques, such as the partial dependence plot (PDP), carry the risk of generating biased interpretations. By leveraging the posterior uncertainty of the BO surrogate model, we introduce a variant of the PDP with estimated confidence bands. We propose to partition the hyperparameter space to obtain more confident and reliable PDPs in relevant sub-regions. In an experimental study, we provide quantitative evidence for the increased quality of the PDPs within sub-regions.

Motivation & Objective

  • To address the lack of interpretability in automated hyperparameter optimization (HPO), especially regarding hyperparameter effects on model performance.
  • To mitigate sampling bias in HPO data—caused by Bayesian optimization focusing on high-performing regions—when applying interpretable machine learning (IML) methods like PDPs.
  • To develop a method that enhances the reliability of PDPs by incorporating uncertainty estimates from probabilistic surrogate models (e.g., Gaussian processes).
  • To enable more trustworthy and actionable insights for data scientists by partitioning the hyperparameter space into sub-regions with low uncertainty, improving local interpretability.
  • To provide a framework that supports trust, transparency, and interactive feedback in AutoML systems through interpretable surrogate model analysis.

Proposed method

  • Leverages the posterior uncertainty of a Bayesian optimization (BO) surrogate model (e.g., Gaussian process) to estimate confidence bands for partial dependence plots (PDPs).
  • Proposes a tree-based partitioning algorithm that splits the hyperparameter space into disjoint sub-regions based on uncertainty estimates, favoring regions with low variance in PDP estimates.
  • Uses the uncertainty measure to guide sub-region selection, ensuring that PDPs are computed only in areas where the surrogate model’s predictions are most reliable.
  • Applies the method to both synthetic functions and real-world deep neural network hyperparameter tuning, comparing global vs. regional PDPs.
  • Employs ICE (Individual Conditional Expectation) curves within sub-regions to detect feature interactions, enhancing interpretability beyond marginal effects.
  • Supports mixed and hierarchical hyperparameter spaces through flexible impurity measures and uncertainty-based splitting criteria.

Experimental results

Research questions

  • RQ1How does sampling bias in Bayesian optimization affect the reliability of standard partial dependence plots (PDPs)?
  • RQ2Can uncertainty estimates from probabilistic surrogate models improve the reliability of PDPs in hyperparameter optimization?
  • RQ3Does partitioning the hyperparameter space into low-uncertainty sub-regions lead to more confident and accurate PDPs compared to global PDPs?
  • RQ4How do the proposed uncertainty-aware PDPs compare to standard PDPs in terms of interpretability and alignment with the true underlying hyperparameter effects?
  • RQ5To what extent can sub-region PDPs support interactive and trustworthy AutoML workflows?

Key findings

  • The proposed uncertainty-aware PDPs with confidence bands significantly reduce bias in regions with sparse data, especially in underexplored areas of the hyperparameter space.
  • Sub-region partitioning based on uncertainty leads to PDPs with substantially lower variance and higher confidence in the region containing the optimal hyperparameter configuration.
  • In experimental studies, the regional PDPs achieved more reliable and stable estimates compared to global PDPs, particularly in high-dimensional and non-linear search spaces.
  • The method successfully identifies regions where hyperparameter effects are most certain, enabling data scientists to focus on trustworthy insights during HPO.
  • ICE curves within sub-regions revealed feature interactions that were obscured in global PDPs, demonstrating the added value of localized analysis.
  • The approach is applicable to various surrogate models, including Gaussian processes and random forests, and supports mixed and hierarchical hyperparameter spaces.

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.