TL;DR
Hyperparameter optimization (HPO) is typically treated as a black-box problem, but the evaluation pipeline itself can severely distort the optimization landscape. By applying Fitness Landscape Analysis (FLA) to a standard benchmark, this paper reveals that poor pipeline design (such as raw accuracy metrics on imbalanced data) causes wildly diverse hyperparameter configurations to collapse into identical, poorly performing "majority class" predictors. This creates rugged, artificial plateaus that can easily trip up search algorithms and waste massive amounts of compute.
What Problem Does This Paper Address?
Automated Machine Learning (AutoML) relies heavily on HPO to tune learning algorithms. However, we rarely look under the hood to see how the evaluation pipeline—the way we train and score each hyperparameter configuration—biases the optimization process itself.
The authors investigate a critical question: Can the landscape of HPO be biased by the pipeline used to evaluate individual configurations? If an evaluation setup is flawed, it can introduce artificial local optima or flat regions. This means optimization algorithms might spend substantial time and computational resources exploring useless or trivial models, rather than navigating a smooth path toward the true global optimum.
Methods
The authors employ Fitness Landscape Analysis (FLA) to diagnose issues in HPO spaces. Because hyperparameter spaces contain mixed data types (continuous, discrete, and categorical variables), standard distance metrics fail. To overcome this, they use Gower's similarity function to calculate distances between different hyperparameter configurations.
They focus on two primary FLA techniques:
- Fitness Distance Correlation (FDC): This measures the relationship between a configuration's distance to the known global optimum and its actual fitness value. It is visualized by plotting fitness against distance for a random sample of configurations.
- Locality Analysis: This examines whether configurations that are close to each other in the search space have similar fitness values, determining how "rugged" or smooth the landscape is.
Additionally, they introduce Neutrality Degree analysis in their discussion, which counts how many neighboring configurations share an identical fitness value, helping to identify flat plateaus in the search space.
Datasets
The methodology is evaluated using the DS-2019 HPO benchmark.
- This is a tabular dataset containing precomputed performance metrics for tuning a convolutional neural network (ResNet-18) across 10 different computer vision classification tasks (e.g., CIFAR-10, MNIST, SVHN, FLOWER, DVC).
- For each task instance, the search space consists of 15 hyperparameters (including batch size, epochs, and momentum).
- The fitness metric used throughout the benchmark is predictive accuracy.
Key Insights and Ideas
- The "Majority Class" Trap: In multiple datasets, highly diverse hyperparameter configurations yield the exact same poor fitness value. This happens because bad hyperparameter combinations prevent the network from learning, causing it to default to a trivial baseline: predicting the majority class.
- Visualizing Pipeline Malfunctions: When visualizing FDC, these majority-class failures manifest as distinct horizontal lines across the plots. This is a clear signature of an evaluation pipeline issue, showing that the landscape is artificially flattened regardless of how close a configuration is to the optimum.
- Metric Selection Matters: The root cause of this landscape distortion is often the choice of the fitness metric itself. Using raw predictive accuracy on datasets with class imbalances creates deceptive baselines (e.g., a naive majority guess yields 65% accuracy on SCMNIST), which warps the optimization terrain.
Key Results
- FDC Artifacts: The FDC plots clearly show multi-modal distributions with prominent horizontal lines corresponding exactly to the dataset's majority class proportions: roughly 50% for DVC, 25% for FLOWER, 65% for SCMNIST, and 20% for SVHN.
- Worsened Locality: In well-behaved instances like CIFAR-10, there is a strong correlation between a configuration's fitness and its neighborhood's average fitness (the box-plots align tightly with the diagonal bisector). However, for instances plagued by the majority-class issue (like SCMNIST or SVHN), this correlation degrades significantly, indicating a highly rugged and difficult-to-search local landscape.
Limitations and Future Work
- Limited Landscape Metrics: FDC and locality only offer a partial view. A complete picture requires exploring other FLA properties like ruggedness, local optima cardinality, and a deeper look into the neutrality degree.
- Benchmark Scope: This study only looks at the DS-2019 tabular benchmark. The authors note that future work must verify if these pipeline artifacts are also present in other widely used HPO datasets, such as KDD-2018 and YAHPO.
- Lack of Prescriptive Fixes: While the paper successfully diagnoses how the evaluation pipeline breaks the HPO landscape, it does not yet provide an automated framework or alternative metrics (like balanced accuracy or F1-score) to automatically mitigate these distortions in real-world applications.
Summary updated