A Unified Gaussian Process for Branching and Nested Hyperparameter Optimization
Jiazhao Zhang, Ying Hung, Chung-Ching Lin, Zicheng Liu
TL;DR
The paper addresses conditional hyperparameter dependencies in deep learning by introducing a unified Gaussian process model that handles branching and nested tuning parameters. A three-type product kernel $R(\mathbf{x},\mathbf{x}') = R_{\boldsymbol{\theta}}(\mathbf{w},\mathbf{w}') R_{\boldsymbol{\gamma}}(\mathbf{z},\mathbf{z}') R_{\boldsymbol{\phi}}(\mathbf{v},\mathbf{v}')$ is proposed to couple continuous, branching, and nested inputs, with a nested-kernel $R_{\boldsymbol{\phi}_k}$ and a sufficient condition for positive definiteness $\min_b [ \exp(-\phi^b_{kj})+(1-\exp(-\phi^b_{kj}))/g^b_j ] \ge \exp(-\gamma_k)$. The framework provides convergence guarantees in an RKHS and an EI acquisition that accounts for conditional structure, achieving a simple-regret rate of $\mathcal{O}(L^{\nu/d}(n/\log n)^{-\nu/d}(\log n)^{\alpha})$ under a continuum-armed-bandit setting. Empirical results on synthetic functions and CIFAR-100/ResNet/MobileNet hyperparameter tuning demonstrate higher prediction accuracy and faster optimization than strong baselines, with informative sensitivity analyses revealing how hyperparameters interact to affect accuracy.
Abstract
Choosing appropriate hyperparameters plays a crucial role in the success of neural networks as hyper-parameters directly control the behavior and performance of the training algorithms. To obtain efficient tuning, Bayesian optimization methods based on Gaussian process (GP) models are widely used. Despite numerous applications of Bayesian optimization in deep learning, the existing methodologies are developed based on a convenient but restrictive assumption that the tuning parameters are independent of each other. However, tuning parameters with conditional dependence are common in practice. In this paper, we focus on two types of them: branching and nested parameters. Nested parameters refer to those tuning parameters that exist only within a particular setting of another tuning parameter, and a parameter within which other parameters are nested is called a branching parameter. To capture the conditional dependence between branching and nested parameters, a unified Bayesian optimization framework is proposed. The sufficient conditions are rigorously derived to guarantee the validity of the kernel function, and the asymptotic convergence of the proposed optimization framework is proven under the continuum-armed-bandit setting. Based on the new GP model, which accounts for the dependent structure among input variables through a new kernel function, higher prediction accuracy and better optimization efficiency are observed in a series of synthetic simulations and real data applications of neural networks. Sensitivity analysis is also performed to provide insights into how changes in hyperparameter values affect prediction accuracy.
