Hyperparameter Optimization
Searching for the best training settings, such as learning rate, batch size, or regularization, instead of fixing them by hand.
Which search won under the same budget?
An archive compares random search with a grid for selecting a model’s learning rate and penalty. Each receives twelve trials and the same validation split.
Best trial
Record the score, settings and training cost for the best candidate from each search. Keep failed trials in the budget.
Independent test
Freeze the winning settings before evaluating new objects. Repeated searches can adapt to chance patterns in the validation records.
What is being optimized?
Name the metric and resource limit. The best result after twelve trials is evidence about that search budget, not proof that the settings are globally optimal.
Why It Matters
A model architecture can look weak under one training setup and strong under another. That is why HPO matters so much in real machine learning workflows: it affects whether teams are comparing models fairly or accidentally favoring whichever one happened to get better tuning.
Why It Connects To NAS
Neural architecture search and HPO are closely related because architecture and training configuration influence each other. A model found by architecture search may only perform well when paired with the right optimizer, schedule, or regularization strategy.
That is why HPO is often discussed alongside supernets, surrogate models, and transfer learning. Search systems increasingly optimize all of them together rather than pretending architecture design happens in isolation.
What Good HPO Looks Like
Good HPO balances search cost against confidence. It uses enough trials to find reliable settings without spending more compute on tuning than the model itself is worth. In modern AutoML systems, HPO is often a core part of building models that are both strong and reproducible.
Follow the idea
Examples in the AI guides
Related Yenra articles (3)
Related concepts (5)
Source · Scikit-learn guide to hyperparameter search
Return to Hyperparameter Optimization in the A–Z glossary