Sample complexity of data-driven tuning of model hyperparameters in neural networks with structured parameter-dependent dual function
Maria-Florina Balcan, Anh Tuan Nguyen, Dravyansh Sharma
TL;DR
The paper tackles data-driven tuning of continuous neural network hyperparameters under a task distribution, formalizing the learning problem via a dual-utility construction $u^*_{\boldsymbol{x}}(\alpha)$ defined as $u^*_{\boldsymbol{x}}(\alpha) = \max_{\boldsymbol{w}} f_{\boldsymbol{x}}(\alpha, \boldsymbol{w})$ where $f_{\boldsymbol{x}}(\alpha, \boldsymbol{w})$ is assumed to be piecewise polynomial. By developing a novel set of tools from differential and algebraic geometry, the authors bound the number of discontinuities and local extrema of the dual utility along the hyperparameter, linking these structural properties to pseudo-dimension and thus to learning guarantees for the data-driven hyperparameter choice. They provide concrete instance bounds for applications such as activation-function interpolation and graph-kernel tuning in GNNs, demonstrating that the resulting hyperparameter-tuning problems enjoy provable generalization bounds. The framework unifies piecewise-constant and piecewise-polynomial cases, offering a principled path toward extending learnability results to broader hyperparameter configurations and problem domains. Overall, the work advances theoretical understanding of hyperparameter tuning complexity in deep learning and supplies concrete, provable guarantees for practical data-driven configuration tasks.
Abstract
Modern machine learning algorithms, especially deep learning based techniques, typically involve careful hyperparameter tuning to achieve the best performance. Despite the surge of intense interest in practical techniques like Bayesian optimization and random search based approaches to automating this laborious and compute intensive task, the fundamental learning theoretic complexity of tuning hyperparameters for deep neural networks is poorly understood. Inspired by this glaring gap, we initiate the formal study of hyperparameter tuning complexity in deep learning through a recently introduced data driven setting. We assume that we have a series of deep learning tasks, and we have to tune hyperparameters to do well on average over the distribution of tasks. A major difficulty is that the utility function as a function of the hyperparameter is very volatile and furthermore, it is given implicitly by an optimization problem over the model parameters. To tackle this challenge, we introduce a new technique to characterize the discontinuities and oscillations of the utility function on any fixed problem instance as we vary the hyperparameter; our analysis relies on subtle concepts including tools from differential/algebraic geometry and constrained optimization. This can be used to show that the learning theoretic complexity of the corresponding family of utility functions is bounded. We instantiate our results and provide sample complexity bounds for concrete applications tuning a hyperparameter that interpolates neural activation functions and setting the kernel parameter in graph neural networks.
