Modified Adaptive Tree-Structured Parzen Estimator for Hyperparameter Optimization

Szymon Sieradzki, Jacek MandziukarXiv 2025 · DOI

Introduction

Hyperparameter Optimization (HPO) is a critical component of modern machine learning, focused on identifying the optimal configurations—such as learning rates or architectural depths—that maximize model performance. Given the high computational cost of training models, efficient optimizers are required to navigate the search space with minimal trials. This paper presents significant enhancements to the Adaptive Tree-Structured Parzen Estimator (ATPE), a Bayesian optimization framework that uses meta-learning to refine its own internal parameters.

The ATPE Framework

The standard Tree-Structured Parzen Estimator (TPE) models the probability of "good" versus "bad" hyperparameter sets. ATPE extends this by employing a secondary machine learning model, typically LightGBM, to dynamically tune the TPE's internal settings based on historical trial data.

Figure 1: The architectural flow of the ATPE optimization process, showing the interaction between the LightGBM meta-model and the TPE core.

Despite its sophistication, the original ATPE suffered from several limitations, including mathematical discontinuities in parameter transitions, rigid data filtering mechanisms, and overly simplistic surrogate functions that failed to capture the complexity of real-world loss landscapes.

Proposed Enhancements

The authors introduced four key modifications to address these "rough edges":

  • ATPE-r (Smooth Transitions): By redesigning the logic for "hyperparameter blocking," the authors eliminated discontinuities in the secondaryCutoff parameter. Reversing the selection sequence for positive and negative values ensures a smoother optimization trajectory.
  • Novel Filtering Schemes (ATPE-f): To better manage historical data, the researchers implemented Z-score-based filtering and Clustering-based filtering (using K-means). These methods allow the optimizer to prioritize extreme performance values or maintain a diverse set of samples, rather than relying on random pruning.
  • Enhanced Surrogate Functions (ATPE-cf): The internal meta-model is trained on thousands of simulated functions. The authors expanded this library to include Sigmoid and Hyperbolic product functions, which better represent the non-linear plateaus and sharp gradients common in neural network training.
  • Categorical Blocking (ATPE-c): To handle non-numerical hyperparameters (e.g., activation functions), the authors integrated Analysis of Variance (ANOVA), replacing the Spearman correlation used in the original ATPE.

Benchmarking and Landscapes

The effectiveness of these modifications was evaluated using the HPOlib 1.5 library across nine standard benchmark functions. These functions represent various optimization challenges, from simple low-dimensional surfaces to complex, multimodal landscapes.

Figure 2: A visualization of a Gaussian Valley, representing the type of smooth yet challenging landscape an optimizer must navigate.

Benchmarks included the Rosenbrock, Hartmann (3D and 6D), and Branin functions. These provide a known ground truth, allowing for precise measurement of how quickly and accurately the modified ATPE converges to the global optimum.

Key Results

The experimental results demonstrate that the proposed modifications consistently outperform the baseline ATPE and standard TPE:

  • Superior Performance: The combined model, ATPE-cf-zscore, achieved better median results on all nine benchmarks.
  • Significant Convergence Gains: On the complex Rosenbrock function, the average objective value was reduced from 3.617 to 2.479, representing a substantial improvement in optimization quality.
  • Meta-Model Stability: Experiments with alternative meta-models (CatBoost, SVM) confirmed that LightGBM remains the most effective choice for this specific meta-tuning task.

Conclusion

The modifications to ATPE—specifically smoother parameter logic, Z-score filtering, and more complex surrogate functions—significantly enhance its ability to navigate complex hyperparameter spaces. While no single configuration is optimal for every task, the ATPE-cf-zscore variant offers a robust and powerful tool for automated machine learning. Future research will focus on automated selection mechanisms to dynamically apply these modifications based on early-stage optimization progress.

Summary updated

BibTeX
@misc{sieradzki2025modified,
  author = {Szymon Sieradzki and Jacek Mandziuk},
  title = {{Modified Adaptive Tree-Structured Parzen Estimator for Hyperparameter Optimization}},
  year = {2025},
  eprint = {2502.00871},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.00871},
}
Figure