# US 2021/0279556 A1 · Area and power efficient implementations of modified backpropagation algorithm for asymmetric rpu devices

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

- Number: US 2021/0279556 A1
- Document ID: US20210279556A1
- Status: Published application
- Kind: A1
- Application number: 16/808,811
- Filed: 2020-03-04
- Published: 2021-09-09
- Earliest claimed: 2020-03-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: TAYFUN GOKMEN; SEYOUNG KIM; MURAT ONEN
- Web page: https://patentgrep.com/patent/US20210279556A1

## CPC

- G06N 3/063: using electronic means
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06N 3/065: Analogue means
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G11C 7/16: Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters
- G11C 11/54: using elements simulating biological cells, e.g. neuron
- G11C 13/0002: {using resistive RAM [RRAM] elements}
- G11C 13/004: {Reading or sensing circuits or methods}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Aspects of the invention include a first matrix resistive processing unit (“RPU”) array receives a first input vector along the rows of the first matrix RPU. A second matrix RPU array receives a second input vector along the rows of the second matrix RPU. A reference matrix RPU array receives an inverse of the first input vector along the rows of the reference matrix RPU and an inverse of the second input vector along the rows of the reference matrix RPU. A plurality of analog to digital converters are coupled to respective outputs of a plurality of summing junctions that receive respective column outputs of the first matrix RPU array, the second matrix RPU array, and the reference RPU array and provides a digital value of the output of the plurality of summing junctions.

## Claims

### Claim 1

A device for use in artificial intelligence implementing a deep neural network, the device comprising:
a first matrix resistive processing unit (“RPU”) array having rows and columns including a plurality of resistors coupled between its respective rows and columns and receiving a first input vector along the rows of the first matrix RPU array;
a second matrix RPU array having rows and columns including a plurality of resistors coupled between its respective rows and columns and receiving a second input vector along the rows of the second matrix RPU array;
a reference matrix RPU array having rows and columns storing a reference vector in a plurality of resistors coupled between its respective rows and columns receiving an inverse of the first input vector along the rows of the reference matrix RPU array and an inverse of the second input vector along the rows of the reference matrix RPU array; and
a plurality of analog to digital converters coupled to respective outputs of a plurality of summing junctions that receive respective column outputs of the first matrix RPU array, the second matrix RPU array, and the reference RPU array that provides a digital value of the output of the plurality of summing junctions.

### Claim 2 (depends on 1)

The device of claim 1 further comprising a first inverter coupled between the input rows of the first matrix RPU array and the input rows of the reference matrix RPU array.

### Claim 3 (depends on 1)

The device of claim 1 further comprising a second inverter coupled between the input rows of the second matrix RPU array and the input rows of the reference matrix RPU array.

### Claim 4 (depends on 1)

The device of claim 1 wherein each of the plurality of summing junctions comprises an operational amplifier that receives the column outputs of the first matrix RPU array, the second matrix RPU array, and the reference RPU array at a first input and provides the sum of the column outputs of the first matrix RPU array, the second matrix RPU array, and the reference matrix RPU array at its output that is fed to its respective analog to digital converter.

### Claim 5 (depends on 1)

The device of claim 1, wherein the reference matrix RPU array is adjusted such that when the first input vector and the second input vector are zero, the first matrix RPU array is placed at its symmetry point.

### Claim 6 (depends on 1)

The device of claim 1, wherein when the first input vector is set to zero, the output of the analog to digital converter is proportional to the reference vector less the second input vector.

### Claim 7 (depends on 1)

The device of claim 1, wherein when the second input vector is set to zero, the output of the analog to digital converter is proportional to the reference vector less the first input vector.

### Claim 8

A device for use in artificial intelligence implementing a deep neural network, the device comprising:
a first matrix resistive processing unit (“RPU”) array having rows and columns including a plurality of resistors coupled between its respective rows and columns and receiving a first input vector along the rows of the first matrix RPU;
a second matrix RPU array having rows and columns including a plurality of resistors coupled between its respective rows and columns and receiving a second input vector along the rows of the second matrix RPU array;
a reference matrix RPU array having rows and columns storing a reference vector in a plurality of resistors coupled between its respective rows and columns receiving an inverse of the first input vector along the rows of the reference matrix RPU array and an inverse of the second input vector along the rows of the reference matrix RPU array;
a first plurality of analog to digital converters coupled to respective outputs of a plurality of summing junctions that receive respective column outputs of the first matrix RPU array and the reference matrix RPU array and provides a digital value of the sum of the output of the first matrix RPU array and the reference RPU array; and
a second plurality of analog to digital converters coupled to respective outputs of a plurality of summing junctions that receive respective column outputs of the second matrix RPU array and the reference RPU array and provides a digital value of an output of the summing junctions.

### Claim 9 (depends on 8)

The device of claim 8 further comprising a first inverter coupled between the input rows of the first matrix RPU array and the input rows of the reference matrix RPU array.

### Claim 10 (depends on 8)

The device of claim 8 further comprising a second inverter coupled between the input rows of the second matrix RPU array and the input rows of the reference matrix RPU array.

### Claim 11 (depends on 8)

The device of claim 8, wherein each of the first plurality of summing junctions comprises an operational amplifier that receives the column outputs of the first matrix RPU array and the reference matrix RPU array at a first input and provides the sum of the column outputs of the first matrix RPU array and the reference matrix RPU array at its output that is fed to its respective analog to digital converter.

### Claim 12 (depends on 11)

The device of claim 11, wherein each of the second plurality of summing junctions comprises an operational amplifier that receives the column outputs of the second matrix RPU array and the reference matrix RPU array at a first input and provides the sum of the column outputs of the second matrix RPU array and the reference RPU array at its output that is fed to its respective analog to digital converter.

### Claim 13 (depends on 8)

The device of claim 8, wherein the reference matrix RPU array is adjusted such that when the first vector and the second vector are zero, the first matrix RPU array is placed at its symmetry point.

### Claim 14 (depends on 8)

The device of claim 8 further comprising a processor to digitally sum the output of the first analog to digital converter and the second analog to digital converter.

### Claim 15

A method for use in artificial intelligence implementing a deep neural network, comprising:
storing a first error vector in a column input of a first matrix RPU array;
receiving a second error vector in a second matrix RPU array;
receiving a first input vector at a row input of the first matrix RPU array;
receiving a second input vector at a row input of the second matrix RPU array;
receiving an inverse of the first input vector and an inverse of the second input vector at a row input of a reference matrix RPU array; and
summing a columnar output of the first matrix RPU array, the second matrix RPU array, and the reference matrix RPU array to provide an output of the first vector and the second vector.

### Claim 16 (depends on 15)

The method of claim 15 further comprising converting the output from analog to digital.

### Claim 17 (depends on 15)

The method of claim 15 further comprising setting the second error vector to zero.

### Claim 18 (depends on 15)

The method of claim 15 further comprising setting the first error vector to zero.

### Claim 19 (depends on 15)

The method of claim 15 further comprising setting the first error vector to be the same value as the second error vector.

### Claim 20 (depends on 15)

The method of claim 15 further comprising adjusting the reference matrix RPU array such that when the first input vector and the second input vector are zero, the first RPU matrix array is placed at its symmetry point.
