Introduction
Hyperparameter optimization (HPO) is a critical component in achieving peak performance for deep learning models. However, the process is computationally demanding, particularly in multi-objective (MO) scenarios where practitioners must simultaneously optimize for competing metrics such as accuracy, latency, and memory usage. While meta-learning—the practice of leveraging data from prior tasks to accelerate optimization on a new target task—has proven effective for Gaussian Process-based Bayesian Optimization, its application to the Tree-Structured Parzen Estimator (TPE) has remained a challenge.
TPE is widely favored for its ability to handle high-dimensional and conditional search spaces. Unlike Gaussian Processes, which use a global surrogate model, TPE employs Kernel Density Estimators (KDEs). This structural difference has historically made it difficult to share information across tasks. This paper introduces a novel meta-learning framework designed specifically to bridge this gap for TPE.
Methodology: Task Similarity via $\gamma$-sets
The core innovation of this work is a multi-task training method for TPE that defines task similarity based on the overlap of high-performing regions in the search space.
$\gamma$-set Similarity
Rather than comparing tasks by raw performance values, the authors focus on the "where" rather than the "how much." They define a $\gamma$-set as the top-$\gamma$ quantile of the search space—the region containing the best-performing hyperparameters. Similarity between two tasks is calculated by measuring the overlap between their respective $\gamma$-sets. If two tasks share similar optimal regions, knowledge can be effectively transferred.
Task-Conditioned Acquisition and Robustness
The framework utilizes a task-conditioned acquisition function that weights the KDEs of previous tasks based on their calculated similarity to the target task. To ensure robustness, the authors implemented two key features:
- $\epsilon$-greedy Exploration: This prevents the algorithm from converging prematurely on local optima by ensuring continuous refinement of the "good" regions.
- HPI-based Dimension Reduction: In high-dimensional spaces, the volume of optimal regions shrinks relative to the total search space, often making tasks appear artificially dissimilar. By using Hyperparameter Importance (HPI) via PED-ANOVA, the similarity calculation focuses only on the most influential parameters, mitigating the curse of dimensionality.
Experimental Evaluation
The proposed method was evaluated against several prominent tabular HPO benchmarks:
- HPOlib: Covering joint neural architecture search and HPO tasks (e.g., Naval Propulsion, Protein Structure).
- NMT-Bench: A benchmark for Neural Machine Translation across multiple languages (Somali, Swahili, Tagalog to English).
- AutoML 2022 Competition: The method was externally validated by winning the "Multiobjective Hyperparameter Optimization for Transformers" competition.
Key Results and Insights
The "Meta-learn TPE" approach consistently matched or outperformed state-of-the-art meta-learning baselines like RGPE and TST-R. On tasks with high similarity, the method achieved significantly faster convergence to the Pareto front (measured by Hypervolume) compared to standard MO-TPE.
A critical finding is the importance of identifying shared optima locations. Furthermore, the algorithm demonstrates graceful degradation; if meta-tasks are entirely unrelated to the target task, the system recovers to perform at least as well as standard, non-meta MO-TPE, ensuring it never hinders the optimization process.
Conclusion and Future Work
This work provides a viable path for meta-learning within the TPE framework, specifically for multi-objective optimization. While currently limited to non-hierarchical search spaces, the success of $\gamma$-set similarity suggests broad potential. Future research will focus on extending this kernel to hierarchical spaces and optimizing the computational overhead associated with calculating Total Variation Distance between KDEs as the number of meta-tasks scales.
Summary updated