Hyperparameter Tuning
Hyperparameter tuning is the process of selecting the best configuration settings for a machine learning model before or during training. These settings, called hyperparameters, are chosen by the practitioner rather than learned automatically from the data, and adjusting them can affect how well the model performs. The goal is to find values that produce good results for the task at hand.
Hyperparameter tuning, also known as hyperparameter optimization, is the problem of choosing a set of optimal hyperparameters for a learning algorithm. Hyperparameters are configuration values set prior to the learning process (as distinct from model parameters learned during training), and tuning involves systematically identifying and selecting values intended to improve model performance for a given objective. As commonly described, it is a standard part of the machine learning model development workflow. Note: the specific search strategies (for example, grid search, random search, or Bayesian methods) and the criteria used to judge performance are not detailed in the evidence provided here and fall outside this entry's scope.
Why it matters
Hyperparameter tuning directly shapes how a model behaves, and because the practitioner chooses these settings rather than learning them from data, the choices become part of the model development record that governance and validation functions must be able to review. From a model risk management perspective, the configuration decisions made during tuning influence model performance and can affect whether a model generalizes appropriately or overfits to its development data. This makes tuning a natural point of scrutiny for documentation, reproducibility, and independent challenge.
Because tuning is intended to improve performance for a given objective, the way that objective is defined matters as much as the search itself. A model optimized against a narrow or poorly chosen performance criterion may look strong on the metric that was tuned while performing poorly on outcomes that matter for the deployment context. This is where hyperparameter tuning intersects with, but does not replace, broader governance concerns: strong tuning does not establish that a model is fit for purpose, fair, or robust, and it should not be treated as a substitute for validation.
It is worth distinguishing model performance, which tuning aims to improve, from model risk, which concerns the potential for adverse consequences from model use or error. Tuning can raise measured performance without necessarily reducing residual risk, particularly if the evaluation criteria and data do not represent real-world conditions. The evidence available here does not detail specific tuning methods or the criteria used to judge performance, so claims about how much tuning improves outcomes in any particular setting fall outside what can be stated with confidence.
Who it's relevant to
Inside Hyperparameter Tuning
Common questions
Answers to the questions practitioners most commonly ask about Hyperparameter Tuning.