Population-Based Training for Machine Learning Hyperparameter Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for training machine learning models require separate searches for optimal hyperparameter values and model parameter values, which are time-consuming and inefficient, especially in distributed computing environments where parameter dependencies can lead to bottlenecks and scalability issues.

Innovation Solution

The Population-Based Training (PBT) system simultaneously trains machine learning models with multiple parameter values and searches for hyperparameter values by comparing candidate models across training sessions, allowing for the mutation and reproduction of better-performing models, thereby learning optimal hyperparameter values while updating model parameters in parallel.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If separate searches for optimal hyperparameter values and model parameter values are performed, then thorough optimization can be achieved, but training time and computational resources increase significantly

Engineering Contradiction:
Improvehyperparameter optimization accuracyVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent combines hyperparameter search and model training into a unified population-based training process. Multiple candidate models with different hyperparameter configurations are trained simultaneously in parallel, allowing hyperparameter optimization and model training to occur concurrently rather than sequentially. This merging eliminates the need for separate search phases while maintaining optimization thoroughness through population diversity.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system performs preliminary warm-starting of candidate models using checkpoint data from parent training sessions. By initializing candidate models with pre-trained parameters before full training begins, the system reduces the training time required for each candidate while still allowing comprehensive hyperparameter exploration across the population.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If hyperparameter search is performed before model training, then optimal hyperparameters can be identified, but the process requires re-training the model separately, increasing computational overhead

Engineering Contradiction:
Improvehyperparameter selection accuracyVSAvoidcomputational resources
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent merges hyperparameter search and model training into a single integrated process where both activities occur simultaneously across a population of candidate models. This eliminates the need for separate search and training phases, reducing computational overhead while maintaining the ability to identify optimal hyperparameters through performance comparison across the population.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system maintains continuous useful action by having multiple candidate models trained in parallel throughout the hyperparameter search process. Rather than completing a search phase before training begins, the population-based approach ensures that training and hyperparameter optimization proceed concurrently, maximizing resource utilization and eliminating idle computational periods.

Inventive Principle:
Principle #20Continuity of useful action

3Adaptability or versatility

If multiple candidate models are trained in parallel with parameter dependencies, then comprehensive hyperparameter exploration is possible, but bottlenecks and scalability issues arise in distributed environments

Engineering Contradiction:
Improvehyperparameter exploration coverageVSAvoiddistributed system scalability
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the training population into independent candidate models that can be trained in parallel without parameter dependencies. Each candidate model in the population maintains independent parameters and training state, allowing them to be distributed across multiple computing devices without requiring complex coordination or synchronization, thus improving scalability in distributed environments.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each candidate model in the population serves itself by maintaining independent training state and parameters. The models do not rely on shared parameter state from other candidates, eliminating the need for complex parameter synchronization mechanisms in distributed systems. This self-service approach allows each computing device to independently manage its assigned candidate models, improving system scalability.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11907821B2Population-based training of machine learning models
Publication Date: 2024.02.20 GDM HOLDING LLC
  • US11907821B2 patent drawing
  • US11907821B2 patent drawing
  • US11907821B2 patent drawing

AI summary

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for training a machine learning model. A method includes: maintaining a plurality of training sessions; assigning, to each worker of one or more workers, a respective training session of the plurality of training sessions; repeatedly performing operations until meeting one or more termination criteria, the operations comprising: receiving an updated training session from a respective worker of the one or more workers, selecting a second training session, selecting, based on comparing the updated training session and the second training session using a fitness evaluation function, either the updated training session or the second training session as a parent training session, generating a child training session from the selected parent training session, and assigning the child training session to an available worker, and selecting a candidate model to be a trained model for the machine learning model.