SageMaker tuning strategy that stops weak trials early
MLA-C02
ML Model and Foundation Model (FM) Development
Medium
Question 6 of 30
A machine learning engineer is configuring an Amazon SageMaker AI automatic model tuning (AMT) job for an image classification deep neural network that publishes validation accuracy metrics after every training epoch. The tuning job operates under a strict compute budget, runs multiple training jobs in parallel, and must automatically stop configurations that are underperforming early in training.
Which hyperparameter tuning strategy will meet these requirements?
Show answer and explanation
AHyperband over the specified hyperparameter ranges
Hyperband is the ideal tuning strategy because it uses both intermediate and final metrics from training jobs to dynamically allocate compute epochs to promising configurations while automatically stopping underperforming configurations early, effectively maximizing optimization within a fixed compute budget. Random search is incorrect because it selects hyperparameter combinations independently at random without evaluating intermediate epoch metrics or stopping unpromising trials. Grid search is incorrect because it evaluates fixed combinations across categorical grids exhaustively and does not perform early stopping based on intermediate metrics. Bayesian optimization is incorrect because it relies on completed training job results to build a probabilistic model for choosing subsequent trials and does not dynamically reallocate epochs mid-training.
Source: docs.aws.amazon.com/
Anonymous, no account needed. Your tally stays in this browser.