Hyperparameter Tuning

Also known as: Hyperparameter Optimization, HPO

Category: Foundations of ML/AI

The process of finding the optimal configuration of hyperparameters that are set before training begins and control the learning process.

Full Explanation

Hyperparameter tuning involves systematically searching for the best combination of settings that govern the training process, such as learning rate, batch size, number of layers, and regularization strength. Unlike model parameters that are learned during training, hyperparameters are set before training begins and directly affect model performance. Common search strategies include grid search, random search, and Bayesian optimization. Automated hyperparameter tuning tools like Optuna, Ray Tune, and Weights & Biases Sweeps streamline this process. Poor hyperparameter choices can lead to slow convergence, overfitting, or underfitting. Hyperparameter tuning is one of the most time-consuming aspects of the machine learning workflow.

Related Terms

More in Foundations of ML/AI

Explore More