All Products
Search
Document Center

Platform For AI:AutoML

Last Updated:Sep 22, 2026

Tuning hyperparameters manually is time-consuming and error-prone at scale. PAI AutoML automates hyperparameter optimization (HPO) so you can find the best-performing model configuration faster, with less compute waste.

Concepts

  • Hyperparameter: External parameters set before model training begins. Unlike model parameters, which are updated continuously during training, hyperparameters remain fixed throughout the training run.

  • Hyperparameter optimization (HPO): The process of finding the optimal hyperparameter values for a model. In this topic, HPO refers to the AutoML service that searches and fine-tunes hyperparameters automatically, freeing algorithm developers to focus on modeling.

  • Search space: The range of possible hyperparameter values that AutoML explores when searching for the optimal combination.

  • Experiment: A search session that AutoML runs to find the best hyperparameter combination within the defined search space.

  • Trial: A single run involving model training, generation, and evaluation using one specific hyperparameter combination. An experiment runs multiple trials and compares results to identify the optimal combination. For more information, see How AutoML works.

  • Job type: The compute environment used for model training in a trial. Valid values: Deep Learning Containers (DLC) and MaxCompute.

    EarlyStop: Monitors intermediate results during trial execution — such as periodic accuracy evaluation on datasets — and terminates a trial early when the current hyperparameter combination is unlikely to improve further. Proper configuration helps reduce overall compute consumption.

Background information

In machine learning, hyperparameters are external parameters set before training begins. They remain fixed throughout the training run — unlike model parameters, which are continuously updated during learning.

HPO is the process of finding optimal hyperparameter values. For models with multiple hyperparameters, the hyperparameters form a multi-dimensional vector. HPO finds the specific vector value that yields optimal model performance — such as the minimum loss function value — across all possible value ranges.

For example, a model with two hyperparameters A and B — where A takes values a, b, or c and B takes values d or e — has six possible combinations. HPO identifies which combination yields the best model performance by training on each combination using the same dataset and comparing results.

HPO in AutoML

Real-world models typically have many hyperparameters of mixed types — integers and floating-point. Exhaustively evaluating every combination demands substantial compute. AutoML provides an automated HPO engine that efficiently searches the hyperparameter space on your behalf.

AutoML delivers:

  • Less manual effort: Automated search replaces hand-tuning, saving significant time and engineering effort.

  • Better model quality: Multiple PAI algorithms work together to locate optimal hyperparameter combinations quickly, producing more accurate models.

  • Lower compute cost: AutoML evaluates model performance during training and terminates unpromising trials early, so you get the best hyperparameters without evaluating every combination.

  • Flexible compute options: Run training jobs on either DLC or MaxCompute resources, whichever fits your infrastructure.

Use cases

AutoML applies to any machine learning task that requires hyperparameter tuning. Common scenarios include:

  • Binary classification — for example, determining whether a user is a paying user.

  • Regression — for example, estimating the payment amount a user makes within seven days.

  • Clustering — for example, determining the optimal number of store locations for a cosmetic brand in a city.

  • Recommendation — for example, fine-tuning ranking and retrieval models to improve Area Under Curve (AUC) metrics.

  • Deep learning — for example, improving accuracy on image or video multi-classification tasks.

Related topics

  • How AutoML works

    (Recommended) Describes how AutoML works and the relationship between experiments, trials, and training tasks. Read this before configuring your first experiment.

  • Create an experiment

    Describes how to create an experiment in the PAI console and configure key parameters.

  • Use cases

    Provides use cases for using AutoML to fine-tune hyperparameters.