Hyperparameter Loss Surfaces Are Simple Near their Optima

Nicholas Lourie, He He, Kyunghyun Cho
10/3/2025
cs.LGcs.CLstat.ML

Official code: nicholaslourie/opda (31 stars, Apache-2.0, last commit 2025-08-02).

Abstract

Hyperparameters greatly impact models' capabilities; however, modern models are too large for extensive search. Instead, researchers design recipes that train well across scales based on their understanding of the hyperparameters. Despite this importance, few tools exist for understanding the hyperparameter loss surface. We discover novel structure in it and propose a new theory yielding such tools. The loss surface is complex, but as you approach the optimum simple structure emerges. It becomes characterized by a few basic features, like its effective dimension and the best possible loss. To uncover this asymptotic regime, we develop a novel technique based on random search. Within this regime, the best scores from random search take on a new distribution we discover. Its parameters are exactly the features defining the loss surface in the asymptotic regime. From these features, we derive a new asymptotic law for random search that can explain and extrapolate its convergence. These new tools enable new analyses, such as confidence intervals for the best possible performance or determining the effective number of hyperparameters. We make these tools available at https://github.com/nicholaslourie/opda .

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Design and analyze optimal deep learning models.

312Python, Jupyter NotebookMay 22, 20221 years agoApache-2.0
aiartificial-intelligencedeep-learningpython

Similar Papers

Cite this paper

@article{lourie2025hyperparameter,
  title  = {Hyperparameter Loss Surfaces Are Simple Near their Optima},
  author = {Nicholas Lourie and He He and Kyunghyun Cho},
  year   = {2025},
  eprint = {2510.02721},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.02721v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.02721.svg)](https://codeofpaper.com/paper/2510.02721)

Discussion