# US 2021/0081775 A1 · Resistive processing unit cell having multiple weight update and read circuits for parallel processing of data using shared weight value

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

- Number: US 2021/0081775 A1
- Document ID: US20210081775A1
- Status: Published application
- Kind: A1
- Application number: 16/568,950
- Filed: 2019-09-12
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Effendi Leobandung; Zhibin Ren; Malte Rasch
- Web page: https://patentgrep.com/patent/US20210081775A1

## CPC

- G06N 3/065: Analogue means
- G11C 11/54: using elements simulating biological cells, e.g. neuron
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G11C 13/0021: {Auxiliary circuits}
- G11C 13/003: {Cell access}
- G11C 13/004: {Reading or sensing circuits or methods}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A resistive processing unit cell includes a weight storage device to store a weight value of the resistive processing unit cell, and multiple circuit blocks. Each circuit block includes a weight update circuit coupled to dedicated update control lines, and a weight read circuit coupled to dedicated read control lines. The circuit blocks are configured to operate in parallel to (i) perform separate weight read operations in which each read circuit generates a read current based on a stored weight value, and outputs the read current on the dedicated read control lines of the read circuit, and (ii) perform separate weight update operations in which each update circuit receives respective update control signals on the dedicated update control lines, generates update currents based on the respective update control signals, and applies the update current to the weight storage device to adjust the weight value based on the update current.

## Claims

### Claim 1

A device, comprising:
a resistive processing unit cell, wherein the resistive processing unit cell comprises:
a plurality of circuit blocks, wherein each circuit block comprises a weight update circuit coupled to dedicated update control lines, and a weight read circuit coupled to dedicated read control lines; and
a weight storage device configured to store a weight voltage which represents a weight value of the resistive processing unit cell;
wherein the resistive processing unit cell is configured to enable shared access to the weight storage device by the plurality of circuit blocks;
wherein the plurality of circuit blocks are configured to operate in parallel to perform separate weight read operations in which each read circuit is configured to generate a read current based on the stored weight voltage of the resistive processing unit cell, and output the read current on the dedicated read control lines of the read circuit; and
wherein the plurality of circuit blocks are configured to operate in parallel to perform separate weight update operations in which each weight update circuit is configured to receive respective update control signals on the dedicated update control lines, generate an update current based on the respective update control signals, and apply the update current to the weight storage device to adjust the stored weight voltage based on the update current.

### Claim 2 (depends on 1)

The device of claim 1, wherein the resistive processing unit cell further comprises:
a transmission gate coupled to the weight storage device and to each of the circuit blocks;
wherein the transmission gate selectively connects the weight storage device to each of the circuit blocks of the resistive processing unit cell in response to an assertion of a transmission gate enable signal.

### Claim 3 (depends on 1)

The device of claim 1, wherein the weight storage device comprises a capacitor.

### Claim 4 (depends on 1)

The device of claim 1, wherein the weight value of the resistive processing unit cell represents a value of a kernel matrix of a convolution layer of a neural network.

### Claim 5 (depends on 1)

The device of claim 1, wherein each circuit block of the resistive processing unit cell is configured to concurrently operate on a different data set using the same weight value of the resistive processing unit cell.

### Claim 6 (depends on 1)

The device of claim 1, where the weight read circuit of each circuit block of the resistive processing unit cell comprises a read transistor comprising a gate terminal, a first source/drain terminal, and a second source/drain terminal, wherein the gate terminal is connected to the weight storage device, wherein the first source/drain terminal is connected to a row read control line, and wherein the second source/drain terminal is connected to a column read control line, wherein the read transistor is configured to generate a weight current in response to the weight voltage applied to the gate terminal of the read transistor.

### Claim 7 (depends on 1)

The device of claim 1, where the weight update circuit of each circuit block of the resistive processing unit cell comprises:
a coincidence detector having an first input connected to an update row control line and a second input connected to an update column control line;
a first current source; and
a second current source;
wherein the coincidence detector is configured to output a detection signal in response to each detected coincidence of the stochastic bits streams of the input vectors applied on the update row and update column control lines; and
wherein first and second current sources are responsive to the detection signal to generate one of a charging current and a discharging current to the weight storage device to update the storage weight voltage.

### Claim 8 (depends on 1)

The device of claim 1, wherein the device comprises an resistive processing unit crossbar array system comprising an array of resistive processing unit cells.

### Claim 9

A device comprising:
an array of resistive processing unit cells;
a plurality of weight update control lines coupled to each resistive processing unit cell in the array;
a plurality of weight read control lines coupled to each resistive processing unit cell in the array; and
control circuitry configured to control the array of resistive processing unit cells, wherein the control circuitry is configured to (i) generate read control signals that are applied to the read control lines to read weights of the resistive processing unit cells, and (ii) generate weight update control signals that are applied to the update control lines to update weights of the resistive processing unit cells;
wherein each resistive processing unit cell in the array of resistive processing unit cells comprises:
a plurality of circuit blocks, wherein each circuit block comprises a weight update circuit coupled to dedicated update control lines, and a weight read circuit coupled to dedicated read control lines; and
a weight storage device configured to store a weight voltage which represents a weight value of the resistive processing unit cell;
wherein the resistive processing unit cell is configured to enable shared access to the weight storage device by the plurality of circuit blocks of the resistive processing unit cell;
wherein the plurality of circuit blocks are configured to operate in parallel to perform separate weight read operations in which each read circuit of the resistive processing unit cell is configured to generate a read current based on the stored weight voltage of the resistive processing unit cell, and output the read current on the dedicated read control lines of the read circuit; and
wherein the plurality of circuit blocks are configured to operate in parallel to perform separate weight update operations in which each weight update circuit of the resistive processing unit cell is configured to receive respective update control signals on the dedicated update control lines, generate an update current based on the respective update control signals, and apply the update current to the weight storage device to adjust the stored weight voltage based on the update current.

### Claim 10 (depends on 9)

The device of claim 9, wherein each resistive processing unit cell further comprises:
a transmission gate coupled to the weight storage device and to each of the circuit blocks;
wherein the transmission gate selectively connects the weight storage device to each of the circuit blocks of the resistive processing unit cell in response to an assertion of a transmission gate enable signal.

### Claim 11 (depends on 9)

The device of claim 9, wherein the weight storage device of each resistive processing unit cell in the array comprises a capacitor.

### Claim 12 (depends on 9)

The device of claim 9, wherein the weight value of each resistive processing unit cell represents a value of a kernel matrix of a convolution layer of a neural network.

### Claim 13 (depends on 9)

The device of claim 9, wherein the circuit blocks of the resistive processing unit cells are configured to concurrently operate on a different data sets using the same weight values of the resistive processing unit cells.

### Claim 14 (depends on 9)

The device of claim 9, wherein the weight read circuit of each circuit block of each resistive processing unit cell comprises a read transistor comprising a gate terminal, a first source/drain terminal, and a second source/drain terminal, wherein the gate terminal is connected to the weight storage device, wherein the first source/drain terminal is connected to a row read control line, and wherein the second source/drain terminal is connected to a column read control line, wherein the read transistor is configured to generate a weight current in response to the weight voltage applied to the gate terminal of the read transistor.

### Claim 15 (depends on 9)

The device of claim 9, where the weight update circuit of each circuit block of each resistive processing unit cell comprises:
a coincidence detector having an first input connected to an update row control line and a second input connected to an update column control line;
a first current source; and
a second current source;
wherein the coincidence detector is configured to output a detection signal in response to each detected coincidence of the stochastic bits streams of the input vectors applied on the update row and update column control lines; and
wherein first and second current sources are responsive to the detection signal to generate one of a charging current and a discharging current to the weight storage device to update the storage weight voltage.

### Claim 16 (depends on 1)

The device of claim 1, wherein the device comprises an resistive processing unit crossbar array system comprising the array of resistive processing unit cells.

### Claim 17

A method comprising:
mapping kernel values of a convolutional kernel to an array of resistive processing unit cells which represents a convolutional layer of a neural network, wherein each resistive processing unit cell comprises (i) a weight storage device configured to store a weight voltage which represents a kernel value of the convolutional kernel, and (ii) a plurality of circuit blocks, wherein each circuit block comprises a weight update circuit coupled to dedicated update control lines, and a weight read circuit coupled to dedicated read control lines;
inputting a plurality of different input volumes to the array of resistive processing unit cells to perform a training process, wherein a number of the different input volumes equals a number of the circuit blocks of each resistive processing unit cell; and
performing a training process to train the kernel values of the convolutional kernel, wherein the training process comprises concurrently applying the convolutional kernel to each of the different input volumes in parallel by (i) performing separate weight read operations in parallel in each resistive processing unit cell wherein each read circuit is configured to generate a read current based on the stored weight voltage of the resistive processing unit cell, and output the read current on the dedicated read control lines of the read circuit, and (ii) performing separate weight update operations in parallel in each resistive processing unit cell wherein each weight update circuit is configured to receive respective update control signals on the dedicated update control lines, generate an update current based on the respective update control signals, and apply the update current to the weight storage device to adjust the stored weight voltage based on the update current;
wherein each corresponding circuit block in the resistive processing unit cells processes a corresponding one of the input volumes.

### Claim 18 (depends on 17)

The method of claim 17, wherein the input volumes comprise patches of an image volume.

### Claim 19 (depends on 17)

The method of claim 17, wherein the input volumes comprise output volumes of a previous convolutional layer.

### Claim 20 (depends on 17)

The method of claim 17, wherein each resistive processing unit cell comprises at least a first and second circuit block, wherein the input volumes comprise at least a first and second input volume, and wherein the first and second circuit block of each resistive processing unit cell processes the first and second input volume, respectively, of the input volumes.
