LSTM circuit with selective input computation

US11790217B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11790217-B2
Application numberUS-201916583201-A
CountryUS
Kind codeB2
Filing dateSep 25, 2019
Priority dateSep 25, 2019
Publication dateOct 17, 2023
Grant dateOct 17, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An apparatus is described. The apparatus includes a long short term memory (LSTM) circuit having a multiply accumulate circuit (MAC). The MAC circuit has circuitry to rely on a stored product term rather than explicitly perform a multiplication operation to determine the product term if an accumulation of differences between consecutive, preceding input values has not reached a threshold.

First claim

Opening claim text (preview).

The invention claimed is: 1. An apparatus, comprising: a long short term memory (LSTM) circuit comprising a multiply accumulate circuit (MAC) having a multiplier circuit and an accumulator circuit, the LSTM circuit further comprising selection circuitry and a storage element, the selection circuitry to select a stored product term and the multiplier circuit to avoid explicit multiplication of a product term if an accumulation of differences between consecutive, preceding input values has not reached a threshold, the storage element to store the stored product term. 2. The apparatus of claim 1 wherein the MAC circuit is coupled to a sigmoid function block. 3. The apparatus of claim 2 wherein the sigmoid function block is to determine any of a forget, input and output gate of the LSTM circuit. 4. The apparatus of claim 1 wherein the MAC circuit is coupled to a tanh function block. 5. The apparatus of claim 4 wherein an output of the tanh function block is coupled to a multiplier, the multiplier to multiply the output of the tanh function and an input gate value of the LSTM circuit. 6. The apparatus of claim 1 wherein the MAC circuit is a serial MAC circuit that executes multiplications of product terms over a series of cycles within the MAC. 7. The apparatus of claim 1 wherein the MAC circuit is a parallel MAC that executes multiplications of product terms in parallel. 8. The apparatus of claim 1 wherein the multiplier circuit is to explicitly perform a multiplication operation to determine another product term if another accumulation of differences between consecutive, preceding input values has reached the threshold. 9. The apparatus of claim 1 wherein the storage element is at least one of: a memory, a register. 10. The apparatus of claim 1 wherein the apparatus further comprises a register to store the threshold value. 11. A computing system, comprising: a plurality of processing cores; a network interface; a main memory; a main memory controlled coupled between the main memory and the plurality of processing cores; and, a long short term memory (LSTM) circuit comprising a multiply accumulate circuit (MAC) having a multiplier circuit and an accumulator circuit, the LSTM circuit further comprising selection circuitry and a storage element, the selection circuitry to select a stored product term and the multiplier circuit to avoid explicit multiplication of a product term if an accumulation of differences between consecutive, preceding input values has not reached a threshold, the storage element to store the stored product term. 12. The computing system of claim 11 wherein the MAC circuit is coupled to a sigmoid function block. 13. The computing system of claim 12 wherein the sigmoid function block is to determine any of a forget, input and output gate of the LSTM circuit. 14. The computing system of claim 11 wherein the MAC circuit is coupled to a tanh function block. 15. The computing system of claim 14 wherein an output of the tanh function block is coupled to a multiplier, the multiplier to multiply the output of the tanh function and an input gate value of the LSTM circuit. 16. The computing system of claim 11 wherein the multiplier circuit is to explicitly perform a multiplication operation to determine another product term if another accumulation of differences between consecutive, preceding input values has reached the threshold. 17. The computing system of claim 16 wherein the storage element is at least one of: a memory, a register. 18. The computing system of claim 11 wherein the computing system further comprises a register to store the threshold value. 19. A method performed by an LSTM circuit, comprising: determining if an accumulation of differences between input values of consecutive time steps has reached a threshold; because the accumulation has reached the threshold, selecting with a selection circuit a product term from a storage element for a scalar that is used by the LSTM circuit and not performing a multiplication operation a with a multiplier circuit to determine the product term for the scalar that is used by the LSTM circuit; determining if another accumulation of differences between input values of other consecutive time steps has reached the threshold; because the other accumulation has not reached the threshold, performing a multiplication operation with the multiplier circuit to determine another product term for another scalar that is used by the LSTM circuit and not selecting with the selection circuit another product term from the storage element for the another scalar that is used by the LSTM circuit. 20. The method of claim 19 wherein the method is part of a recurring neural network's execution.

Assignees

Inventors

Classifications

  • characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU] · CPC title

  • G06N3/063Primary

    using electronic means · CPC title

  • word-serial, i.e. with an accumulator-register · CPC title

  • Multiplying only · CPC title

  • G06F7/5443Primary

    Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11790217B2 cover?
An apparatus is described. The apparatus includes a long short term memory (LSTM) circuit having a multiply accumulate circuit (MAC). The MAC circuit has circuitry to rely on a stored product term rather than explicitly perform a multiplication operation to determine the product term if an accumulation of differences between consecutive, preceding input values has not reached a threshold.
Who is the assignee on this patent?
Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06N3/063. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 17 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).