HPO X ELA: Investigating Hyperparameter Optimization Landscapes by Means of Exploratory Landscape Analysis

Lennart Schneider, Lennart Schäpermeier, Raphael Patrick Prager, Bernd Bischl, Heike Trautmann, Pascal Kerschke · DOI

Introduction

Hyperparameter optimization (HPO) is a cornerstone of modern machine learning, yet the underlying objective functions are often treated as "black boxes." While we have developed sophisticated optimizers like Bayesian Optimization and Evolution Strategies, we frequently lack a fundamental understanding of the "terrain" they navigate. Is an HPO landscape for a gradient-boosted tree smooth and convex, or is it a rugged, multi-modal surface? This paper addresses this gap by applying Exploratory Landscape Analysis (ELA)—a suite of techniques from theoretical optimization—to characterize the structural properties of real-world HPO problems.

Methodology: Bridging Theory and Practice

The researchers developed a systematic framework to map HPO landscapes and compare them against standard synthetic benchmarks.

1. Landscape Sampling and Feature Extraction

The study focused on tuning the XGBoost algorithm across 10 diverse classification datasets from OpenML (e.g., wilt, adult, car, shuttle). To understand how complexity scales, they examined search spaces in 2D, 3D, and 5D. Using the flacco R package, the authors extracted ELA features that describe the landscape's geometry, including skewness, kurtosis, multimodality, and dispersion (the spatial distribution of high-performing solutions).

2. Benchmarking and Meta-Analysis

Five prominent optimizers were evaluated: Model-Based Optimization (MBO/Bayesian Optimization), CMA-ES, Generalized Simulated Annealing (GenSA), Grid Search, and Random Search. To provide a baseline, these results were compared against 360 instances of the Black-Box Optimization Benchmark (BBOB) suite, which consists of 24 well-defined mathematical functions. Principal Component Analysis (PCA) and clustering were then used to visualize the "feature space" and determine where real-world HPO problems sit relative to theoretical benchmarks.

Structural Insights: The "Benign" Nature of HPO

One of the most significant findings is that HPO landscapes for XGBoost are surprisingly "benign." Contrary to the intuition that high-dimensional tuning might be chaotic, the study found these landscapes to be generally unimodal and convex.

The Plateau Signature and Identifiability

Despite their smoothness, HPO landscapes possess a unique "structural fingerprint." They often exhibit low kurtosis and large plateaus—regions where performance remains nearly constant. This characteristic is so distinct that a simple decision tree could distinguish an HPO problem from a synthetic BBOB problem with 96.46% accuracy based solely on ELA features. Furthermore, the researchers identified specific BBOB functions that act as "neighbors" to HPO tasks in feature space, suggesting that performance on these specific synthetic functions is a strong predictor of success on real-world tuning tasks.

Key Results: Optimizer Performance

The benchmarking results revealed clear winners and losers in the HPO domain. MBO and CMA-ES emerged as the most robust and high-performing optimizers across both HPO and BBOB tasks.

Critical Difference plots comparing optimizer performance across BBOB and HPO tasks in 2D, 3D, and 5D.

As shown in the Critical Difference plots above, the relative ranking of algorithms shifts between synthetic and real-world tasks. Notably, GenSA struggled significantly with HPO problems despite performing well on high-dimensional synthetic benchmarks. This is likely due to the "plateau" nature of HPO landscapes; simulated annealing algorithms can become trapped in these flat regions where the gradient or local improvement signal is weak. Additionally, the "shape" of HPO problems remained structurally consistent as dimensionality increased from 2D to 5D, suggesting that the inherent difficulty of tuning a specific model is somewhat independent of the number of parameters being optimized.

Limitations and Future Directions

While this study provides a vital first look into HPO landscapes, several limitations remain:

  • Continuous vs. Categorical: The current analysis is restricted to continuous hyperparameters. Real-world HPO often involves categorical choices (e.g., activation functions) or hierarchical dependencies, which require new ELA methodologies.
  • Algorithm Scope: The findings are specific to XGBoost. Other architectures, particularly Deep Neural Networks, may exhibit significantly more "rugged" landscapes.
  • Computational Overhead: Calculating ELA features requires initial sampling, which adds to the HPO cost. Future research will explore using low-fidelity evaluations (e.g., training on data subsets) to estimate landscape features more efficiently.

By mapping the terrain of HPO, this work moves us closer to a future where we can automatically select the best optimizer for a given machine learning task based on its structural "fingerprint."

Summary updated

BibTeX
@misc{schneider2022hpo,
  author = {Lennart Schneider and Lennart Schäpermeier and Raphael Patrick Prager and Bernd Bischl and Heike Trautmann and Pascal Kerschke},
  title = {{HPO X ELA: Investigating Hyperparameter Optimization Landscapes by Means of Exploratory Landscape Analysis}},
  year = {2022},
  eprint = {2208.00220},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.00220},
}
Figure