Validation Curve
A validation curve shows how training and validation performance change as a hyperparameter changes. It helps choose model complexity, regularization strength, learning rate, augmentation strength, or other settings without using the test set.
For a hyperparameter , train a model:
Then evaluate:
The selected value is usually:
where is the searched hyperparameter set.
Common Uses
- Model size: width, depth, number of layers, hidden dimension.
- Regularization: weight decay, dropout, label smoothing, augmentation strength.
- Optimization: learning rate, warmup length, schedule, batch size.
- Early stopping: maximum epoch, patience, validation frequency.
- Inference settings: threshold, temperature, decoding parameters.
Interpretation
| Curve shape | Likely meaning |
|---|---|
| Train and validation both poor across all | wrong feature, loss, data, or capacity range |
| Train improves but validation degrades | hyperparameter increases overfitting |
| Validation has a broad flat optimum | robust setting; choose simpler or cheaper option |
| Validation optimum is sharp | selection may be unstable; repeat across seeds or folds |
| Validation improves at search boundary | search space may be too narrow |
Selection Bias
The more hyperparameter values are tried, the more the validation curve can overfit validation noise:
Selecting the minimum over many noisy estimates can make look better than it really is. This is why large searches need a final held-out test set or nested validation design.
Checks
- Is the x-axis one hyperparameter or a controlled search dimension?
- Are all points trained with the same split, budget, and preprocessing contract?
- Are failed runs shown or explained?
- Is the final selection made before test evaluation?
- Does the selected stay stable across seeds, folds, or nearby settings?
- Is the chosen setting also practical for compute, latency, or memory constraints?