[Paper Review] Random Search Hyper-Parameter Tuning: Expected Improvement Estimation and the Corresponding Lower Bound
This paper proposes a statistically rigorous method to estimate the expected accuracy improvement from an additional iteration in random hyperparameter search, leveraging the Dvoretzky–Kiefer–Wolfowitz (DKW) inequality to bound estimation error at $ O\left(\sqrt{\frac{\log k}{k}}\right) $ with high probability. It further establishes a theoretical lower bound of $ \Omega\left(\frac{\alpha^2 f_X(\alpha)}{k}\right) $ on the best possible mean absolute error, providing the first such bound for random search hyperparameter tuning.
Hyperparameter tuning is a common technique for improving the performance of neural networks. Most techniques for hyperparameter search involve an iterated process where the model is retrained at every iteration. However, the expected accuracy improvement from every additional search iteration, is still unknown. Calculating the expected improvement can help create stopping rules for hyperparameter tuning and allow for a wiser allocation of a project's computational budget. In this paper, we establish an empirical estimate for the expected accuracy improvement from an additional iteration of hyperparameter search. Our results hold for any hyperparameter tuning method which is based on random search \cite{bergstra2012random} and samples hyperparameters from a fixed distribution. We bound our estimate with an error of $O\left(\sqrt{\frac{\log k}{k}} ight)$ w.h.p. where $k$ is the current number of iterations. To the best of our knowledge this is the first bound on the expected gain from an additional iteration of hyperparameter search. Finally, we demonstrate that the optimal estimate for the expected accuracy will still have an error of $\frac{1}{k}$.
Motivation & Objective
- To estimate the expected accuracy improvement from an additional hyperparameter search iteration in random search.
- To provide a high-probability error bound for the expected improvement estimator under random search with fixed hyperparameter distributions.
- To establish a theoretical lower bound on the best possible estimation error for any such estimator.
- To enable data-driven stopping rules for hyperparameter tuning by quantifying diminishing returns.
- To address the lack of standardized computational budget allocation in neural network hyperparameter tuning.
Proposed method
- Uses the Dvoretzky–Kiefer–Wolfowitz (DKW) inequality to non-parametrically estimate the empirical cumulative distribution function $ \widehat{F}_X $ of model accuracy from $ k $ random hyperparameter trials.
- Estimates expected improvement via the inverse of the empirical CDF, avoiding direct density estimation.
- Derives an error bound of $ O\left(\sqrt{\frac{\log k}{k}}\right) $ for the expected improvement estimator with high probability.
- Analyzes the estimation error of the optimal estimator by bounding the expected deviation of $ I(\widehat{\mu}, \widehat{\sigma}, \alpha) $ from $ I(\mu, \sigma, \alpha) $, where $ I $ is a convex function of mean and standard deviation.
- Applies concentration inequalities and properties of chi-squared distributions to derive lower bounds on the mean absolute error of any estimator.
- Shows that the best possible estimator cannot achieve error better than $ \Omega\left(\frac{\alpha^2 f_X(\alpha)}{k}\right) $ under normality assumptions.
Experimental results
Research questions
- RQ1What is the expected improvement in model accuracy from one additional random hyperparameter search iteration?
- RQ2How can this expected improvement be estimated with bounded error using only $ k $ prior evaluations?
- RQ3What is the tightest possible lower bound on the mean absolute error of any estimator for expected improvement in random search?
- RQ4Can the estimation error be quantified with high probability as a function of the number of iterations $ k $?
- RQ5How does the estimation error scale with $ k $, and what is the fundamental limit of accuracy for such estimators?
Key findings
- The expected improvement from an additional random search iteration can be estimated with error $ O\left(\sqrt{\frac{\log k}{k}}\right) $ with high probability.
- The best possible estimator for expected improvement has a mean absolute error bounded from below by $ \frac{\sigma^2}{2\sqrt{2\pi}k} \cdot \left[1 - F_X(\alpha)\right] $.
- For $ \alpha \geq \mu + \sqrt{\frac{3}{2}}\sigma $, the lower bound improves to $ \Omega\left(\frac{\alpha^2 f_X(\alpha)}{k}\right) $.
- The estimation error cannot be better than $ \frac{1}{k} $, establishing a fundamental limit on the precision of such estimators.
- The proposed estimator is non-parametric and does not require assumptions about the underlying accuracy distribution $ f_X $.
- The results provide a theoretical foundation for adaptive stopping rules in hyperparameter tuning with limited computational budgets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.