# US 2025/0156708 A1 · Method and system for optimizing deep learning models

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

- Number: US 2025/0156708 A1
- Document ID: US20250156708A1
- Status: Published application
- Kind: A1
- Application number: 18/939,492
- Filed: 2024-11-06
- Published: 2025-05-15
- Earliest claimed: 2023-11-13
- Assignees: Mediatek Inc.
- Applicants: Mediatek Inc.
- Inventors: Tzu-Yun Chien; Bo-Yu Kuo; Jui-Yang Hsu; Kai-Ling Huang; Sheng-Je Hung
- Web page: https://patentgrep.com/patent/US20250156708A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/126: Evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for optimizing deep learning models includes: initializing a plurality of pools, each including a plurality of candidate solutions; concurrently performing a plurality of tuning algorithms respectively within the plurality of pools during a single tuning run, thereby obtaining a plurality of selected candidate solutions; and generating an optimized model configuration based on the plurality of selected candidate solutions.

## Claims

### Claim 1

A method for optimizing deep learning models, comprising:
initializing a plurality of pools, each including a plurality of candidate solutions;
concurrently performing a plurality of tuning algorithms respectively within the plurality of pools during a single tuning run, thereby obtaining a plurality of selected candidate solutions; and
generating an optimized model configuration based on the plurality of selected candidate solutions.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the plurality of pools is associated with a distinct algorithm and configured to operate within a distinct search space.

### Claim 3 (depends on 1)

The method of claim 1, wherein each of the plurality of pools is associated with a distinct set of compilation settings.

### Claim 4 (depends on 1)

The method of claim 1, wherein step of initializing the plurality of pools comprises:
initializing each of the plurality of pools with an identical quantity of candidate solutions.

### Claim 5 (depends on 1)

The method of claim 1, wherein the step of concurrently performing the plurality of tuning algorithms comprises:
sampling a specific tuning algorithm based on sampling probabilities that are proportional to a number of candidate solutions included in each of the plurality of pools;
generating offspring candidate solutions by performing the sampled specific tuning algorithm within its corresponding pool;
collecting the candidate solutions and the offspring candidate solutions across all of the plurality of pools; and
selecting one or more candidate solutions from the collected candidate solutions and the collected offspring candidate solutions based on at least one unified metric.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
after selecting the one or more candidate solutions, redistributing the selected candidate solutions back to their respective corresponding pools.

### Claim 7 (depends on 6)

The method of claim 6, wherein each of the plurality of pools retains exclusively those selected candidate solutions that originated from the pool after the selected candidate solutions are redistributed to their respective corresponding pools.

### Claim 8 (depends on 6)

The method of claim 6, wherein the step of sampling the specific tuning algorithm comprises:
calculating a sampling probability with respect to each pool as a ratio of a number of selected candidate solutions retained in the pool to a total number of selected candidate solutions retained in all of the plurality of pools; and
sampling the specific tuning algorithm based on calculated sampling probabilities.

### Claim 9 (depends on 8)

The method of claim 8, wherein the step of sampling the specific tuning algorithm based on calculated sampling probabilities comprises:
sampling the specific tuning algorithm corresponding to a pool having a highest sampling probability.

### Claim 10 (depends on 5)

The method of claim 5, further comprising:
in response to determining that a number of the selected candidate solutions reaches a predetermined threshold, generating the optimized model configuration based on the selected candidate solutions.

### Claim 11 (depends on 1)

The method of claim 1, wherein the optimized model configuration is associated with at least one of a configuration of layer fusion regarding a deep learning model and a configuration of tensor tiling regarding the deep learning model.

### Claim 12

A system for optimizing deep learning models, comprising:
a processor; and
a memory storing instructions that, when executed by the processor, cause the system to perform operations comprising:
initializing a plurality of pools each including a plurality of candidate solutions;
concurrently performing a plurality of tuning algorithms respectively within the plurality of pools during a single tuning run, thereby obtaining a plurality of selected candidate solutions; and
generating an optimized model configuration based on the plurality of selected candidate solutions.

### Claim 13 (depends on 12)

The system of claim 12, wherein each of the plurality of pools is associated with a distinct algorithm and configured to operate within a distinct search space.

### Claim 14 (depends on 12)

The system of claim 12, wherein each of the plurality of pools is associated with a distinct set of compilation settings.

### Claim 15 (depends on 12)

The system of claim 12, wherein when the instructions are executed by the processor, the system is caused to perform operation of:
initializing each of the plurality of pools with an identical quantity of candidate solutions.

### Claim 16 (depends on 12)

The system of claim 12, wherein when the instructions are executed by the processor, the system is caused to perform operations of:
sampling a specific tuning algorithm based on a sampling probability that is proportional to a number of candidate solutions included in each of the plurality of pools;
generating offspring candidate solutions by performing the sampled specific tuning algorithm within its corresponding pool;
collecting the candidate solutions and the offspring candidate solutions across all of the plurality of pools; and
selecting one or more candidate solutions from the collected candidate solutions and the collected offspring candidate solutions based on at least one unified metric.

### Claim 17 (depends on 16)

The system of claim 16, wherein when the instructions are executed by the processor, the system is caused to perform operation of:
after selecting the one or more candidate solutions, redistributing the selected candidate solutions back to their respective corresponding pools.

### Claim 18 (depends on 17)

The system of claim 17, wherein each of the plurality of pools retains exclusively those selected candidate solutions that originated from the pool after the selected candidate solutions are redistributed to their respective corresponding pools.

### Claim 19 (depends on 18)

The system of claim 18, wherein when the instructions are executed by the processor, the system is caused to perform operations of:
calculating a sampling probability with respect to each pool as a ratio of a number of selected candidate solutions retained in the pool to a total number of selected candidate solutions retained in all of the plurality of pools; and
sampling the specific tuning algorithm based on calculated sampling probabilities.

### Claim 20 (depends on 19)

The system of claim 19, wherein when the instructions are executed by the processor, the system is caused to perform operation of:
sampling the specific tuning algorithm corresponding to a pool having a highest sampling probability.

### Claim 21 (depends on 16)

The system of claim 16, when the instructions are executed by the processor, the system is caused to perform operation of:
in response to determining that a number of the selected candidate solutions reaches a predetermined threshold, generating the optimized model configuration based on the selected candidate solutions.

### Claim 22 (depends on 12)

The system of claim 12, wherein the optimized model configuration is associated with at least one of configuration of layer fusion regarding a deep learning model and configuration of tensor tiling regarding the deep learning model.

### Claim 23

A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform operations of:
initializing a plurality of pools, each including a plurality of candidate solutions;
concurrently performing a plurality of tuning algorithms respectively within the plurality of pools during a single tuning run, thereby obtaining a plurality of selected candidate solutions; and
generating an optimized model configuration based on the plurality of selected candidate solutions.
