# US 2022/0284271 A1 · Sparsity-based neural network mapping to computing units in a system-on-chip

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

- Number: US 2022/0284271 A1
- Document ID: US20220284271A1
- Status: Published application
- Kind: A1
- Application number: 17/194,202
- Filed: 2021-03-05
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Hee Jun PARK; Colin Beaton VERRILLI
- Web page: https://patentgrep.com/patent/US20220284271A1

## CPC

- G06N 3/063: using electronic means
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06F 9/5094: {where the allocation takes into account power or heat criteria (power management in computers in general G06F1/3203; thermal management in computers in general G06F1/206)}
- G06F 11/3062: {where the monitored property is the power consumption (power management in a computing system G06F1/3203)}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/09: Supervised learning
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for an artificial neural network includes receiving a set of input values to be convolved with multiple kernels via multiple computing units. One or more thermally-stressed computing units of the multiple computing units are determined. The multiple kernels are mapped to the multiple computing units of a system-on-chip (SOC) based on the one or more thermally-stressed computing units. A convolution is performed on the set of input values and a most sparse kernel of the multiple kernels on the most thermally-stressed computing unit.

## Claims

### Claim 1

A method for an artificial neural network, comprising:
receiving a set of input values to be convolved with a plurality of kernels via a plurality of computing units;
determining at least one thermally-stressed computing unit of the plurality of computing units;
mapping the plurality of kernels to the plurality of computing units of a system-on-chip (SOC) based on the at least one thermally-stressed computing unit; and
performing a convolution of the set of input values and a most sparse kernel of the plurality of kernels on a most thermally-stressed computing unit.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining a first order of the computing units based on an amount of thermal stress and a second order of the kernels based on a sparsity metric; and
assigning each of the plurality of kernels to one of the plurality of computing units based on the first order and the second order.

### Claim 3 (depends on 2)

The method of claim 2, in which the first order comprises the plurality of kernels in a layer arranged according to decreasing sparsity and the second order comprises the plurality of computing units arranged according to increasing thermal stress; and
assigning each of the kernels to one of the plurality of computing units in an order such that a least sparse kernel is assigned to a least thermally-stressed computing unit and a most sparse kernel is assigned to the most thermally-stressed computing unit.

### Claim 4 (depends on 1)

The method of claim 1, further comprising detecting at least one of a temperature or a current consumption of each of the plurality of computing units of the SOC, and wherein the mapping is based on the temperature or the current consumption.

### Claim 5 (depends on 4)

The method of claim 4, in which the mapping is performed for computing units of the plurality of computing units having a temperature or current that exceeds a threshold.

### Claim 6 (depends on 1)

The method of claim 1, further comprising computing statistical information of each kernel of the plurality of kernels, and in which the mapping is further based on the statistical information.

### Claim 7 (depends on 1)

The method of claim 1, in which the mapping comprises dynamically assigning the plurality of kernels to the plurality of computing units of the SOC during runtime.

### Claim 8

An apparatus for an artificial neural network, comprising:
a memory; and
at least one processor coupled to the memory, the at least one processor configured:
to receive a set of input values to be convolved with a plurality of kernels via a plurality of computing units;
to determine at least one thermally-stressed computing unit of the plurality of computing units;
to map the plurality of kernels to the plurality of computing units of a system-on-chip (SOC) based on the at least one thermally-stressed computing unit; and
to perform a convolution of the set of input values and a most sparse kernel of the plurality of kernels on a most thermally-stressed computing unit.

### Claim 9 (depends on 8)

The apparatus of claim 8, in which the at least one processor is further configured:
to determine a first order of the computing units based on an amount of thermal stress and a second order of the kernels based on a sparsity metric; and
to assign each of the plurality of kernels to one of the plurality of computing units based on the first order and the second order.

### Claim 10 (depends on 9)

The apparatus of claim 9, in which the first order comprises the plurality of kernels in a layer arranged according to decreasing sparsity and the second order comprises the plurality of computing units arranged according to increasing thermal stress, and
in which the at least one processor is further configured to assign each of the kernels to one of the plurality of computing units in an order such that a least sparse kernel is assigned to a least thermally-stressed computing unit and a most sparse kernel is assigned to the most thermally-stressed computing unit.

### Claim 11 (depends on 8)

The apparatus of claim 8, in which the at least one processor is further configured:
to detect at least one of a temperature or a current consumption of each of the plurality of computing units of the SOC, and
to map the plurality of kernels to the plurality of computing units based on the temperature or the current consumption.

### Claim 12 (depends on 11)

The apparatus of claim 11, in which the at least one processor is further configured to assign computing units of the plurality of computing units having a temperature or current that exceeds a threshold.

### Claim 13 (depends on 8)

The apparatus of claim 8, in which the at least one processor is further configured:
to compute statistical information of each kernel of the plurality of kernels; and
to map the plurality of kernels to the plurality of computing units based on the statistical information.

### Claim 14 (depends on 8)

The apparatus of claim 8, in which the at least one processor is further configured to dynamically assigning the plurality of kernels to the plurality of computing units of the SOC during runtime.

### Claim 15

An apparatus for an artificial neural network, comprising:
means for receiving a set of input values to be convolved with a plurality of kernels via a plurality of computing units;
means for determining at least one thermally-stressed computing unit of the plurality of computing units;
means for mapping the plurality of kernels to the plurality of computing units of a system-on-chip (SOC) based on the at least one thermally-stressed computing unit; and
means for performing a convolution of the set of input values and a most sparse kernel of the plurality of kernels on a most thermally-stressed computing unit.

### Claim 16 (depends on 15)

The apparatus of claim 15, further comprising:
means for determining a first order of the computing units based on an amount of thermal stress and a second order of the kernels based on a sparsity metric; and
means for assigning each of the plurality of kernels to one of the plurality of computing units based on the first order and the second order.

### Claim 17 (depends on 16)

The apparatus of claim 16, in which the first order comprises the plurality of kernels in a layer arranged according to decreasing sparsity and the second order comprises the plurality of computing units arranged according to increasing thermal stress; and further comprising means for assigning each of the kernels to one of the plurality of computing units in an order such that a least sparse kernel is assigned to a least thermally-stressed computing unit and a most sparse kernel is assigned to the most thermally-stressed computing unit.

### Claim 18 (depends on 15)

The apparatus of claim 15, further comprising:
means for detecting at least one of a temperature or a current consumption of each of the plurality of computing units of the SOC; and
means for assigning the plurality of kernels to the plurality of computing units based on the temperature or the current consumption.

### Claim 19 (depends on 15)

The apparatus of claim 15, further comprising means for assigning kernels of the plurality of kernels to the computing units of the plurality of computing units having a temperature or current that exceeds a threshold.

### Claim 20 (depends on 15)

The apparatus of claim 15, further comprising means for computing statistical information of each kernel of the plurality of kernels, and means for assigning the kernels of the plurality of kernels to the computing units of the plurality of computing units based on the statistical information.

### Claim 21 (depends on 15)

The apparatus of claim 15, further comprising means for dynamically assigning the plurality of kernels to the plurality of computing units of the SOC during runtime.

### Claim 22

A non-transitory computer readable medium having encoded thereon program code for an artificial neural network, the program code being executed by a processor and comprising:
program code to receive a set of input values to be convolved with a plurality of kernels via a plurality of computing units;
program code to determine at least one thermally-stressed computing unit of the plurality of computing units;
program code to map the plurality of kernels to the plurality of computing units of a system-on-chip (SOC) based on the at least one thermally-stressed computing unit; and
program code to perform a convolution of the set of input values and a most sparse kernel of the plurality of kernels on a most thermally-stressed computing unit.

### Claim 23 (depends on 22)

The non-transitory computer readable medium of claim 22, further comprising:
program code to determine a first order of the computing units based on an amount of thermal stress and a second order of the kernels based on a sparsity metric; and
program code to assign each of the plurality of kernels to one of the plurality of computing units based on the first order and the second order.

### Claim 24 (depends on 23)

The non-transitory computer readable medium of claim 23, in which the first order comprises the plurality of kernels in a layer arranged according to decreasing sparsity and the second order comprises the plurality of computing units arranged according to increasing thermal stress; and
further comprising program code to assign each of the kernels to one of the plurality of computing units in an order such that a least sparse kernel is assigned to a least thermally-stressed computing unit and a most sparse kernel is assigned to the most thermally-stressed computing unit.

### Claim 25 (depends on 22)

The non-transitory computer readable medium of claim 22, further comprising:
program code to detect at least one of a temperature or a current consumption of each of the plurality of computing units of the SOC, and
program code to map the plurality of kernels to the plurality of computing units based on the temperature or the current consumption.

### Claim 26 (depends on 25)

The non-transitory computer readable medium of claim 25, further comprising program code to assign computing units of the plurality of computing units having a temperature or current that exceeds a threshold.

### Claim 27 (depends on 22)

The non-transitory computer readable medium of claim 22, further comprising:
program code to compute statistical information of each kernel of the plurality of kernels; and
program code to map the plurality of kernels to the plurality of computing units based on the statistical information.

### Claim 28 (depends on 22)

The non-transitory computer readable medium of claim 22, further comprising program code to dynamically assigning the plurality of kernels to the plurality of computing units of the SOC during runtime.
