# US 2022/0035878 A1 · Framework for optimization of machine learning architectures

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0035878 A1
- Document ID: US20220035878A1
- Status: Published application
- Kind: A1
- Application number: 17/505,568
- Filed: 2021-10-19
- Published: 2022-02-03
- Earliest claimed: 2021-10-19
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Anthony Sarah; Daniel Cummings; Juan Pablo Munoz; Tristan Webb
- Web page: https://patentgrep.com/patent/US20220035878A1

## CPC

- G06F 16/953: Querying, e.g. by the use of web search engines
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/086: using evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 3/09: Supervised learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/092: Reinforcement learning
- G06N 3/12: using genetic models
- G06N 5/027: {Frames}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure is related to framework for automatically and efficiently finding machine learning (ML) architectures that are optimized to one or more specified performance metrics and/or hardware platforms. This framework provides ML architectures that are applicable to specified ML domains and are optimized for specified hardware platforms in significantly less time than could be done manually and in less time than existing ML model searching techniques. Furthermore, a user interface is provided that allows a user to search for different ML architectures based on modified search parameters, such as different hardware platform aspects and/or performance metrics. Other embodiments may be described and/or claimed.

## Claims

### Claim 1

An apparatus for identifying machine learning (ML) architectures, the apparatus comprising:
a population initializer configured to initialize a set of candidate ML architectures based on an ML configuration;
an architecture search type engine connected to the population initializer, the architecture search type engine configured to determine a search strategy for searching the initialized population;
a multi-objective candidate generator (MOCG) connected to the architecture search type engine, the MOCG configured to:
search the initialized set of candidate ML architectures according to the search strategy, and
determine, based on the search, a set of optimal ML architectures from the set of candidate ML architectures, the set of optimal ML architectures satisfy one or more of a set of ML parameters and hardware platform information (HPI) included in the ML configuration; and
a performance metric evaluator connected to the MOCG, the performance metric evaluator configured to evaluate performance of each optimal ML architecture in the set of optimal ML architectures.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the ML configuration includes a supernetwork, and the set of candidate ML architectures include sub-networks, wherein the sub-networks have fewer parameters than the supernetwork.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the population initializer is configured to operate a warm start mechanism to:
analyze characteristics of ML architectures that were previously found to be optimal ML architectures based on the ML parameters; and
initialize the set of candidate ML architectures based on the analyzed characteristics.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the warm start mechanism is an informed warm start mechanism, and the population initializer is configured to:
generate the set of candidate ML architectures using information from one or more previously generated optimal ML architectures, the previously generated optimal ML architectures being one or more of ML architectures determined to solve a same or similar ML task indicated by the ML configuration, are associated with a same or similar ML domain indicated by the ML configuration, and are associated with a same or similar hardware platform indicated by the HPI.

### Claim 5 (depends on 3)

The apparatus of claim 3, wherein the warm start mechanism is an heuristic warm start mechanism, and the population initializer is configured to:
generate the set of candidate ML architectures using one or more heuristics derived from at least one previously generated optimal ML architecture, the one or more heuristics indicating a relationship between individual ML parameters of the at least one previously generated optimal ML architecture.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the search strategy is a constrained search strategy, wherein the search of the initialized set of candidate ML architectures is based on one or more constraints between two or ML parameters of the candidate ML architectures in the initialized set of candidate ML architectures.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the search strategy is a full search strategy, and the search of the initialized set of candidate ML architectures is a search of an entirety of the set of candidate ML architectures.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein, to determine the set of optimal ML architectures, the MOCG is configured to operate one or more optimization algorithms to solve a multi-objective optimization problem.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the one or more optimization algorithms include one or more of grid search, random search, Bayesian optimization, an evolutionary algorithm, a tree-structured Parzen estimator, and a user-defined optimization algorithm.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the evolutionary algorithm is Strength Pareto Evolutionary Algorithm 2 (SPEA-2) or Nondominated Sorting Genetic Algorithm-II.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein, to generate the set of optimal ML architectures, the MOCG is configured to determine the set of optimal ML architectures to be a set of Pareto optimal solutions.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the MOCG is configured to:
for each optimization iteration of a set of optimization iterations until convergence is reached,
rank each candidate ML architecture in the set of candidate ML architectures;
perform crowding distance sorting mechanism to select individual candidate ML architectures from the ranked set of candidate ML architectures; and
carry the selected individual candidate ML architectures into a next optimization iteration.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the performance metric evaluator is configured to:
operate each optimal ML architecture using a test dataset; and
measure one or more performance metrics based on the operation of respective optimal ML architectures in the set of optimal ML architectures.

### Claim 14 (depends on 1)

The apparatus of claim 1, wherein the performance metric evaluator is configured to:
predict one or more performance metrics of each optimal ML architecture using one or more proxy functions.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the one or more proxy functions include one or more of associative arrays, mapping functions, dictionaries, hash tables, look-up tables (LUTs), linked lists, ML classifiers, parameter counting, computational throughput metrics, Jacobian covariance functions, saliency pruning functions, channel pruning functions, heuristic functions, and hyper-heuristic functions.

### Claim 16 (depends on 1)

The apparatus of claim 1, wherein the HPI includes an identifier of a hardware platform on which a selected one of the set of optimal ML architectures is to be deployed.

### Claim 17 (depends on 1)

The apparatus of claim 1, wherein the HPI includes data of one or more hardware components of a hardware platform.

### Claim 18

One or more non-transitory computer readable media (NTCRM) comprising instructions for operating a machine learning architecture search interface (MLASI), wherein execution of the instructions by one or more processors of a compute node is to cause the compute node to:
serve the MLASI to a client device; and
in response to receipt of an individual machine learning (ML) configuration from the client device via the MLASI:
determine a set of candidate ML architectures based on a super network indicated by the individual ML configuration,
perform multi-objective optimization on the set of candidate ML architectures to determine a set of optimal ML architectures that satisfy one or more of a combination of ML parameters and hardware platform information (HPI) included in the ML configuration,
determine performance metrics for each optimal ML architecture in the set of optimal ML architectures, and
indicate, via the MLASI, the set of optimal ML architectures and the determined performance metrics for each optimal ML architecture.

### Claim 19 (depends on 18)

The one or more NTCRM of claim 18, wherein execution of the instructions is to further cause the compute node to:
receive, via the MLASI, a selection of an optimal ML architecture from among the indicated set of optimal ML architectures; and
send, via the MLASI, the selected optimal ML architecture.

### Claim 20 (depends on 18)

The one or more NTCRM of claim 18, wherein the set of optimal ML architectures is a Pareto frontier of a multi-objective optimization problem, and the indication of the set of optimal ML architectures is a graphical representation of the Pareto frontier.

### Claim 21 (depends on 18)

The one or more NTCRM of claim 18, wherein, to determine the set of candidate ML architectures, execution of the instructions is to cause the compute node to:
determine the set of candidate ML architectures by including ML architectures that were previously found to be optimal ML architectures based on one or more of the ML parameters and the HPI; or
determine the set of candidate ML architectures using one or more heuristics derived from at least one previously generated optimal ML architecture, the one or more heuristics indicating a relationship between individual ML parameters of the at least one previously generated optimal ML architecture.

### Claim 22 (depends on 18)

The one or more NTCRM of claim 18, wherein execution of the instructions is to further cause the compute node to:
determine a search strategy for searching the determined set of candidate ML architectures, wherein the search strategy is one of a full search strategy or a constrained search strategy, the full search strategy including a search of an entirety of the set of candidate ML architectures, and the constrained search strategy including a search of the set of candidate ML architecturesbased on one or more constraints between two or more? ML parameters of the candidate ML architectures in the set of candidate ML architectures.

### Claim 23 (depends on 18)

The one or more NTCRM of claim 18, wherein, to perform the multi-objective optimization, execution of the instructions is to further cause the compute node to:
operate one or more optimization algorithms to solve a multi-objective optimization problem, wherein the one or more optimization algorithms include one or more of grid search, random search, Bayesian optimization, a genetic algorithm, a tree-structured Parzen estimator, Strength Pareto Evolutionary Algorithm 2 (SPEA-2), Nondominated Sorting Genetic Algorithm-II, and a user-defined optimization algorithm.

### Claim 24 (depends on 18)

The one or more NTCRM of claim 18, wherein, to determine performance metrics, execution of the instructions is to further cause the compute node to:
operate each optimal ML architecture using a test dataset; and
measure the performance metrics from the operation of respective optimal ML architectures in the set of optimal ML architectures.

### Claim 25 (depends on 18)

The one or more NTCRM of claim 18, wherein, to determine performance metrics, execution of the instructions is to further cause the compute node to:
predict one or more performance metrics of each optimal ML architecture using one or more proxy functions, wherein the one or more proxy functions include one or more of associative arrays, mapping functions, dictionaries, hash tables, look-up tables (LUTs), linked lists, ML classifiers, parameter counting, computational throughput metrics, Jacobi an covariance functions, saliency pruning functions, channel pruning functions, heuristic functions, and hyper-heuristic functions.

### Claim 26 (depends on 18)

The one or more NTCRM of claim 18, wherein the HPI includes technical data of a hardware platform or technical data of one or more hardware components of the hardware platform.
