AutoML automates hyperparameter tuning so you can find optimal model configurations without manually running and comparing training jobs.
AutoML searches for the best hyperparameter values by running structured experiments. Each experiment spawns multiple trials, and each trial executes one or more training tasks — using the hyperparameter combination assigned to it — until a stop condition is met.
Key concepts
|
Concept |
Description |
|
Experiment |
A single AutoML run. Configure the hyperparameter search space, search algorithm, and stop conditions. AutoML manages the experiment end-to-end and returns results when it completes. |
|
Trial |
One iteration within an experiment. Each trial trains a model using one hyperparameter combination generated by the search algorithm. Trials can run concurrently to shorten total training time. |
|
Training task |
The compute job that executes within a trial. Tasks run as DLC jobs on general computing resources or intelligent computing LINGJUN resources, or as MaxCompute tasks on MaxCompute computing resources. |
How it works
Configure the hyperparameter search space, search algorithm, and experiment stop conditions. AutoML creates an experiment from this configuration, then proceeds as follows:
-
The experiment generates hyperparameter combinations using the configured search algorithm and assigns one combination to each trial.
NoteConfigure multiple trials to run concurrently to accelerate model training. Concurrency increases resource costs.
Each trial runs one or more training tasks based on its assigned hyperparameter combination. Tasks execute as DLC jobs on general computing resources or intelligent computing LINGJUN resources, or as MaxCompute tasks on MaxCompute computing resources. Billing, configuration, and resource usage differ between DLC jobs and MaxCompute tasks.
-
AutoML continuously monitors task metrics during the experiment.
The experiment stops when any of the following conditions is met: the maximum number of search combinations is reached, the algorithm's own stop condition is triggered, or all combinations have been evaluated.
AutoML returns results containing hyperparameter combinations or trained models for each trial. Specify a model storage path to view models. Results are also available in logs.
What to configure
Before starting an experiment, configure the following parameter groups:
|
Parameter group |
Description |
|
Basic experiment settings |
Experiment name, description, and output configuration, including the model storage path. |
|
Trial settings |
Number of trials, concurrency level, and stop conditions for individual trials (including early stopping). |
|
Compute settings |
DLC job settings (for general computing or intelligent computing LINGJUN resources) or MaxCompute task settings. Billing, configuration methods, and resource consumption differ between the two. |
|
Hyperparameter search settings |
Search space (value ranges per hyperparameter), search algorithm, and experiment-level stop conditions. |