# US 2021/0286544 A1 · Economic long short-term memory for recurrent neural networks

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

- Number: US 2021/0286544 A1
- Document ID: US20210286544A1
- Status: Published application
- Kind: A1
- Application number: 17/197,401
- Filed: 2021-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: University of Louisiana at Lafayette
- Applicants: University of Louisiana at Lafayette
- Inventors: Kasem Khalil; Omar Eldash; Ashok Kumar; Magdy Bayoumi
- Web page: https://patentgrep.com/patent/US20210286544A1

## CPC

- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0673: {Single storage device}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/063: using electronic means
- G06N 3/09: Supervised learning
- G06F 2207/4824: Neural networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Disclosed herein is a novel approach to Long Short-Term Memory (LSTM) that uses fewer units for processing than other LSTM systems currently available. This LSTM system has the ability to retain memory and learn data sequences using one gate. The benefit of the disclosed system is performing the learning process at a faster speed to the lower number computation units.

## Claims

### Claim 1

A long short term memory cell architecture of a convolutional neural network comprising:
one gate, comprising:
at least one output;
at least three inputs comprising:
an x(t) input;
an h(t−1) input; and
a c(t−1) input;
a memory layer;
an update layer;
an output layer;
two activation functions;
one or more elementwise multiplication operations;
one or more elementwise summation operations; and
one or more weight matrices operations;
wherein the input of one activation function comprises:
the x(t) input;
the h(t−1) input; and
a c(t−1) input.

### Claim 2 (depends on 1)

The architecture of claim 1, wherein the gate further comprises computer code capable of updating the data stored within the memory layer.

### Claim 3

A method for deleting memory within a long short term memory cell of a convolutional neural network comprising:
providing a long short term memory comprising:
one gate, comprising:
at least one output;
at least three inputs comprising:
an x(t) input;
an h(t−1) input; and
a c(t−1) input;
one or more activation functions;
one or more elementwise multiplication operations;
one or more elementwise summation operations; and
one or more weight matrices operations;
providing data by the output of the gate to a memory layer;
the memory layer receiving a value ft from the output of the gate; and
performing the forget step by multiplying ft with a memory state.

### Claim 4 (depends on 3)

The method of claim 3, wherein the forget step comprises:
generating a forget gate;
performing an elementwise product of (1−ft) and an output of an activation function;
wherein the activation function further comprises inputs:
the x(t) input;
the h(t−1) input; and
the c(t−1) input.

### Claim 5 (depends on 3)

The method of claim 3, wherein the forget step comprises:
generating a forget gate;
performing an elementwise product of (1−ft) and an output of a tanh function;
wherein a tanh function further comprises inputs:
the x(t) input;
the h(t−1) input; and
the c(t−1) input;

### Claim 6 (depends on 3)

The method of claim 3, wherein the output of the gate further provides data to an update layer.

### Claim 7 (depends on 3)

The method of claim 3, wherein the output of the gate further provides data to an output layer.

### Claim 8

A method for deleting memory within a long short term memory cell of a convolutional neural network comprising:
providing a long short term memory comprising:
at least four inputs, comprising:
a general input;
an input vector;
an output of the block at a time (t−1);
a stack comprising an internal state at the time (t−1);
a forget gate activation vector;
at least three convolutional weights;
one gate, comprising:
at least one output;
at least three inputs comprising:
an x(t) input;
an h(t−1) input; and
a c(t−1) input; and
two activation functions;
the output of the gate provides data to a memory layer;
the memory layer receives a value ft from the output of the gate; and
performing the forget step by multiplying ft with a memory state.

### Claim 9 (depends on 8)

The method of claim 8, wherein the forget gate activation vector comprises f (t)ϵRd×h×n, wherein d comprised the vector width, h comprised the vector height, and n comprised a total number of channels of ft.

### Claim 10 (depends on 8)

The method of claim 8, wherein the input vector comprises x(t)ϵRd×h×r, wherein r comprises a total number of input channels.

### Claim 11 (depends on 8)

The method of claim 8, wherein the input vector comprises one or more images.

### Claim 12 (depends on 8)

The method of claim 8, wherein the forget step comprises:
generating a forget gate;
performing an elementwise product of (1−ft) and an output of an activation function;
wherein the activation function further comprises inputs:
the x(t) input;
the h(t−1) input; and
the c(t−1) input.

### Claim 13 (depends on 8)

The method of claim 8, wherein the output of the gate can be represented by an equation comprising f(t)=σ(Wf·If+bf);
wherein If represents the general input;
wherein Wf represents a convolutional weight; and
wherein bf comprises a bias with a dimension of n×1.

### Claim 14 (depends on 8)

The method of claim 8, wherein the output of the gate can be represented by an equation comprising f(t)=σ([Wcf, Wxf, Uhf]·[x(t), c(t−1), h(t−1)]+bf);
wherein f(t) represents the forget gate activation vector;
wherein Wxf, Wcf, and Uhf represent the convolutional weights;
wherein h(t−1) represents the output of the block or cell at the time of (t−1);
wherein c(t−1) represents the internal state of the stack at (t−1); and
wherein bf comprises a bias with a dimension of n×1.

### Claim 15 (depends on 8)

The method of claim 8, wherein the output of the gate can be represented by an equation comprising f(t)=σ([Wcf, Wxf, Uhf]·[x(t), c(t−1), h(t−1)]+bf);
wherein Wxf, Wcf, and Uhf represent the convolutional weights, each comprising a dimension (m×m) for all the kernels;
wherein h(t−1) represents the output of the block or cell at the time of (t−1);
wherein c(t−1) represents the internal state of the stack at (t−1); and
wherein bf comprises a bias with a dimension of n×1.

### Claim 16

A method for updating memory within a long short term memory cell of a convolutional neural network comprising:
providing a long short term memory comprising:
at least four inputs, comprising:
a general input;
an input vector;
an output of the block at a time (t−1);
a stack comprising an internal state at the time (t−1);
a forget gate activation vector;
at least three convolutional weights;
one gate, comprising:
at least one output;
at least three inputs comprising:
an x(t) input;
an h(t−1) input; and
a c(t−1) input; and
at least two activation functions;
the output of the gate provides data to a memory layer;
the memory layer receives a value ft from the output of the gate;
performing the forget step by multiplying ft with a memory state;
generating an output U(t) from one said activation function;
multiplying U(t) by (1−ft) to generate a result; and
adding the result to the memory state.

### Claim 17 (depends on 16)

The method of claim 16, wherein the method for updating the memory state can be represented by an equation comprising C(t)=f(t)⊙C(t−1)+(1−f(t))⊙U(t);
wherein C(t) represents the updated memory state;
wherein f(t) represents the forget gate activation vector;
wherein c(t−1) represents the internal state of the stack at (t−1); and
wherein ⊙ represents performing elementwise multiplication.

### Claim 18 (depends on 16)

The method of claim 16, wherein the output of the updated memory state can be represented by an equation comprising h(t)=f(t)⊙tanh(C(t));
wherein C(t) represents the updated memory state;
wherein f(t) represents the forget gate activation vector; and
wherein ⊙ represents performing elementwise multiplication.
