# US 2019/0244058 A1 · Adjusting enhancement coefficients for neural network engine

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

- Number: US 2019/0244058 A1
- Document ID: US20190244058A1
- Status: Published application
- Kind: A1
- Application number: 16/234,166
- Filed: 2018-12-27
- Published: 2019-08-08
- Earliest claimed: 2018-02-08
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Luiz M. Franca-Neto
- Web page: https://patentgrep.com/patent/US20190244058A1

## CPC

- G06N 3/063: using electronic means
- G06F 18/21: Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06V 10/94: Hardware or software architectures specially adapted for image or video understanding
- G06V 10/955: {using specific electronic processors}
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Some embodiments include a special-purpose hardware accelerator that can perform specialized machine learning tasks during both training and inference stages. For example, this hardware accelerator uses a systolic array having a number of data processing units (“DPUs”) that are each connected to a small number of other DPUs in a local region. Data from the many nodes of a neural network is pulsed through these DPUs with associated tags that identify where such data was originated or processed, such that each DPU has knowledge of where incoming data originated and thus is able to compute the data as specified by the architecture of the neural network. These tags enable the systolic neural network engine to perform computations during backpropagation, such that the systolic neural network engine is able to support training.

## Claims

### Claim 1

A device for training a convolutional neural network comprising a plurality of layers, the device comprising:
an array comprising a plurality of processing units including processing circuitry and memory, wherein the array is configured to transmit data systolically between particular processing units;
a computer-readable memory storing instructions for using the array to perform computations of the neural network during the training; and
a controller configured by the instructions to:
provide input data representing an image into the array, the image including an array of pixels;
perform a forward pass of the input data through the plurality of layers;
for a particular location in the array of pixels, generate a pixel vector representing values output by the plurality of layers for that particular location, wherein the pixel vector includes a first value generated by a first layer of the plurality of layers and a second value generated by a second layer of the plurality of layers, wherein the second layer is deeper along the plurality of layers of the convolutional neural network than the first layer; and
adjust an enhancement coefficient of the first value of the first layer based on the second value of the second layer.

### Claim 2 (depends on 1)

The device of claim 1, wherein to adjust the enhancement coefficient includes increasing a weighting for the particular location based on finding a correspondence.

### Claim 3 (depends on 2)

The device of claim 2, wherein the correspondence includes an identification of similar values occurring at similar pixel locations.

### Claim 4 (depends on 1)

The device of claim 1, wherein to adjust the enhancement coefficient includes decreasing a weighting for the particular location based on not finding a correspondence.

### Claim 5 (depends on 1)

The device of claim 1, wherein the controller is further configured by the instructions to adjust the first value based on the enhancement coefficient to generate an adjusted output value; and provide the adjusted output value to the second layer.

### Claim 6 (depends on 1)

The device of claim 1, wherein to adjust the enhancement coefficient is based on image-correlated disturbance mode training by correlating disturbances to the image without a learned parameter.

### Claim 7 (depends on 1)

The device of claim 1, wherein to adjust the enhancement coefficient is based on set-correlated enhancement mode training using one or more learned parameters.

### Claim 8 (depends on 1)

The device of claim 1, wherein to adjust the enhancement coefficient includes computing the enhancement coefficient via an enhancement matrix by summing over corresponding positions across maps using masks of different volumes, the mask volumes producing coefficients to be placed in an enhancement matrix.

### Claim 9 (depends on 8)

The device of claim 8, wherein the different volumes of masks include at least one of: a 1×1, a 3×3, a 5×5, or a 7×7 mask.

### Claim 10 (depends on 1)

The device of claim 1, wherein the controller is further configured by the instructions to randomly turn off one or more neurons of a layer in the neural network during the training.

### Claim 11

A method for performing computations of a neural network comprising a plurality of layers including at least a first layer and a second layer, the method comprising:
accessing data representing an image including an array of pixels;
performing a forward pass of the data through the plurality of layers;
for a particular location in the array of pixels, generating a pixel vector representing values output by the plurality of layers for that particular location, wherein the pixel vector includes a first value generated by a first layer of the plurality of layers and a second value generated by a second layer of the plurality of layers, wherein the second layer is deeper along the plurality of layers of the neural network than the first layer; and
adjusting an enhancement coefficient of the first value of the first layer based on the second value of the second layer.

### Claim 12 (depends on 11)

The method of claim 11, wherein adjusting the enhancement coefficient includes increasing a weighting for the particular location based on finding a correspondence.

### Claim 13 (depends on 12)

The method of claim 12, wherein the correspondence includes an identification of similar values occurring at similar pixel locations.

### Claim 14 (depends on 11)

The method of claim 11, wherein adjusting the enhancement coefficient includes decreasing a weighting for the particular location based on not finding a correspondence.

### Claim 15 (depends on 11)

The method of claim 11, wherein the method further includes adjusting the first value based on the enhancement coefficient to generate an adjusted output value; and providing the adjusted output value to the second layer.

### Claim 16 (depends on 11)

The method of claim 11, wherein adjusting the enhancement coefficient is based on image-correlated disturbance mode training by correlating disturbances to the image without a learned parameter.

### Claim 17 (depends on 11)

The method of claim 11, wherein adjusting the enhancement coefficient is based on set-correlated enhancement mode training using one or more learned parameters.

### Claim 18

A controller comprising one or more processors configured to:
perform a forward pass of input data of an array of pixels through a plurality of layers of a neural network;
for a particular location in the array of pixels, generate a pixel vector representing values output by the plurality of layers for that particular location, wherein the pixel vector includes a first value generated by a first layer of the plurality of layers and a second value generated by a second layer of the plurality of layers; and
adjust an enhancement coefficient of the first value of the first layer based on the second value of the second layer.

### Claim 19 (depends on 18)

The controller of claim 18, wherein adjustment of the enhancement coefficient includes increase of a weighting for the particular location based on finding a correspondence.

### Claim 20 (depends on 19)

The controller of claim 19, wherein the correspondence includes an identification of similar values occurring at similar pixel locations, wherein the controller performs the operations by computer executable instructions stored in a non-transitory computer-readable medium.
