Abstract
Hyperparameter Importance (HPI) is a critical tool for understanding model performance, yet traditional methods like functional ANOVA (f-ANOVA) are often limited by their global focus and high computational costs. We present PED-ANOVA, an ultra-fast algorithm that quantifies hyperparameter importance within specific high-performance regions. By leveraging Pearson Divergence (PED) and a "scale-ignorant" Lebesgue split, PED-ANOVA identifies local importance that global methods overlook, processing up to $10^8$ data points in under a minute.
Introduction
In the development of deep learning models, identifying which hyperparameters (HPs) most significantly impact performance is essential for efficient search space design. Standard tools like f-ANOVA provide a global measure of importance across the entire search space. However, researchers are typically most interested in the "local" regions where performance is optimal. A hyperparameter may be critical for achieving top-tier results while appearing insignificant when averaged over the entire space.
Existing local HPI methods often suffer from mathematical bias or require computationally expensive Monte-Carlo sampling, making them impractical for high-dimensional spaces or large datasets. PED-ANOVA addresses these challenges by shifting the focus from predicting exact performance values to analyzing the distribution of high-performing configurations.
Methodology: The PED-ANOVA Approach
PED-ANOVA introduces several key innovations to streamline importance quantification:
Lebesgue Split and the $\gamma$-set
Instead of defining local regions using arbitrary box constraints (a Riemann split), PED-ANOVA uses a performance-based Lebesgue split. It focuses on the "$\gamma$-set"—the subset of hyperparameter configurations that yield performance in the top $\gamma$ percentile of the observed data.
Pearson Divergence and KDE
To quantify importance, the algorithm measures the divergence between the distribution of HPs in a "good" region versus a "better" region. By utilizing 1D Kernel Density Estimation (KDE) and Pearson Divergence, the authors derive a closed-form solution for HPI. This bypasses the heavy Monte-Carlo sampling used in traditional f-ANOVA, allowing the algorithm to scale linearly with the number of data points.
Scale Ignorance
A key feature of PED-ANOVA is its "scale-ignorant" nature. Unlike f-ANOVA, which is sensitive to the magnitude of performance changes, PED-ANOVA only considers whether a configuration belongs to the target quantile. This prevents high-variance "tails" in poor-performing regions from biasing the importance metrics, ensuring the analysis remains focused on the most promising domains.
Experimental Evaluation
The method was validated using synthetic toy functions and the JAHS-Bench-201 surrogate benchmark, which contains performance data for millions of configurations across datasets like CIFAR-10, CIFAR-100, and Fashion-MNIST.
Key Results
- Computational Efficiency: PED-ANOVA demonstrates a massive speedup over traditional methods. While f-ANOVA can take over a week to process $10^5$ points, PED-ANOVA completes the task in less than a second. It successfully handled $10^8$ points in approximately 60 seconds.
- Local vs. Global Insights: Experiments on JAHS-Bench revealed that HPs critical for general performance often differ from those required for peak performance. For example, structural parameters like "Width Multiplier" were essential for reaching the top 10%, but data augmentation strategies like "TrivialAugment" became the dominant factor for reaching the top 1%.
- Search Space Refinement: The algorithm effectively identified unimportant HPs, such as "Activation Function," which could be safely removed to streamline future optimization tasks.
Conclusion
PED-ANOVA provides a scalable and robust framework for local hyperparameter importance analysis. Its speed enables interactive exploration of search spaces, while its performance-based splitting avoids the biases of global methods. Future work includes integrating PED-ANOVA into automated optimizers to dynamically reduce search spaces as they converge toward the global optimum.
Summary updated