Sparsity-based neural network mapping to computing units in a system-on-chip
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 53 · Forward citations: 0.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
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 of a system-on-chip (SOC); detecting a temperature associated with each of multiple computing units of the plurality of computing units of the SOC; mapping the plurality of kernels to the plurality of computing units of the SOC based on the detected temperature associated with each of the multiple computing units and a sparsity of each of the plurality of kernels; performing convolution operations of the set of input values with the plurality of kernels using the plurality of computing units, wherein a most sparse kernel of the plurality of kernels is convolved with the set of input values on a computing unit associated with a greatest temperature of the multiple computing units; and generating an inference based on the convolution operations.
- Claim 2Depends on #1
The method of claim 1, further comprising: determining a first order of the computing units based on the detected temperature associated with each of the multiple computing units and a second order of the kernels based on the sparsity; 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 3Depends 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 temperature; 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 computing unit associated with a lowest detected temperature of the multiple computing units and the most sparse kernel is assigned to the computing unit associated with the greatest temperature of the multiple computing units.
- Claim 4Depends on #1
The method of claim 1, further comprising detecting a current consumption of each of the plurality of computing units of the SOC, and wherein the mapping is based on the current consumption.
- Claim 5Depends 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 6Depends 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 7Depends 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 8Independent Claim
An apparatus for an artificial neural network, comprising: at least one memory; and at least one processor coupled to the at least one 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 of a system-on-chip (SOC); to detect a temperature associated with each of multiple computing units of the plurality of computing units of the SOC; to map the plurality of kernels to the plurality of computing units of the SOC based on the detected temperature associated with each of the multiple computing units and a sparsity of each of the plurality of kernels; to perform convolution operations of the set of input values with the plurality of kernels using the plurality of computing units, wherein a most sparse kernel of the plurality of kernels is convolved with the set of input values on a computing unit associated with a greatest temperature of the multiple computing units; and to generate an
Technical Overview & Description
BACKGROUND Field Aspects of the present disclosure generally relate to artificial neural networks, and more particularly to improved processing and mapping. Background Artificial neural networks may comprise interconnected groups of artificial neurons (e.g., neuron models). The artificial neural network may be a computational device or represented as a method to be performed by a computational device. Convolutional neural networks, such as deep convolutional neural networks, are a type of feed-forward artificial neural network. Convolutional neural networks may include layers of neurons that may be configured in a tiled receptive field. Deep convolutional neural networks (DCNs) are used in various technologies, such as image recognition, speech recognition, autonomous driving, and Internet-of-Things (IoT) devices. Embedded IoT devices may have constrained resources, such as limited on-chip memory. As such, the use of DCNs on these devices may be constrained. It is desirable to improve the use of DCNs on devices with limited resources. SUMMARY In an aspect of the present disclosure, a method for an artificial neural network is presented. The method includes receiving a set of input values to be convolved with multiple kernels via multiple computing units. The method also includes determining one or more thermally-stressed computing units of the multiple computing units. The method additionally includes mapping the multiple kernels to the multiple computing units of a system-on-chip (SOC) based on the one or more thermally-stressed computing units. Further, the method includes performing a convolution of the set of input values and a most sparse kernel of the multiple kernels on the most thermally-stressed computing unit. In an aspect of the present disclosure, an apparatus for an artificial neural network is provided. The apparatus includes a memory and one or more processors coupled to the memory. The processor(s) are configured to receive a set of input values to b
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (53)
Non-Patent Literature (7)
- International Search Report and Written Opinion
- —
- PCT/US2022/018954
- —
- ISA/EPO
- —
- Jun. 24, 2022.