Neural network accelerator for facing multi-variant LSTM and data processing method thereof

A neural network and accelerator technology, applied in the field of computing, can solve problems such as reducing the utilization of computing resources, and achieve the effect of improving data processing efficiency and achieving compatibility.

Inactive Publication Date: 2018-08-07
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF7 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The LSTM network is a time-recursive cyclic neural network that can learn long-term dependent information. It is often used to learn language translation, robot control, image analysis, etc. The main part of the calculation process is the multiplication and accumulation operation of each gate value vector and The iterative operation process of each layer; in order to adapt to different application requirements, LSTM has many variants, such as threshold repeat unit (GRU) variants, etc., while the neural network accelerator in the prior art is usually only for one LSTM or LSTM variant monolithic design, which severely reduces computing resource utilization

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Neural network accelerator for facing multi-variant LSTM and data processing method thereof
  • Neural network accelerator for facing multi-variant LSTM and data processing method thereof
  • Neural network accelerator for facing multi-variant LSTM and data processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solution and advantages of the present invention more clear, the neural network accelerator and data processing method provided in the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0026] When calculating the LSTM network, it is mainly for the calculation of the "cell state" that transmits information from the previous unit to the next unit. The LSTM network will use a structure that selectively passes information, that is, the "gate (gate)” to control the discarding or adding of information to the “cell state” to realize the function of forgetting or remembering.

[0027] The general formula of the known LSTM model is:

[0028] I t =δ(W xi ·X t +W hi ·H (t-1) +b it ) 1.1

[0029] f t =δ(W xf ·X t +W hf ·H (t-1) +b ft ) 1.2

[0030] o t =δ(W xo ·X t +W ho ·H (t-1) +b ot ) 1.3

[0031] G t =h(W xg ·X t +W hg ·H (t-1) +b gt )...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a neural network accelerator for facing a multi-variant LSTM. The neural network accelerator comprises the components of a storage unit which is used for storing neuron data and weight data of the LSTM and the variant network and outputting; a matrix multiplication unit which is used for receiving data from the storage unit, executing a vector multiplying and accumulatingoperation on the received data and outputting an operation result; a multifunctional operating unit which is used for receiving data from a vector multiplication operation unit, performs a specific operation which corresponds with the LSTM or the variant network for aiming at the received data and outputs an operation result; an activating unit which is used for receiving data from the multifunctional operating unit and the storage unit, performs an activation operation for aiming at the received data and outputs an activation result; and a vector parallel multiplying and adding unit which isused for receiving data from the activating unit and the storage unit and performing a multiplying operation and an adding operation for aiming at the received data.

Description

technical field [0001] The invention relates to the computing field, in particular to a multi-variant LSTM-oriented neural network accelerator and a data processing method. Background technique [0002] Neural network is one of the perception models with a high level of development in the field of artificial intelligence. Once it appeared, it became a research hotspot in academia and industry. With the deepening of research, different types of neural networks have been proposed one after another. For example, long-term and short-term Memory network (LSTM, Long Short-Term Memory). [0003] The LSTM network is a time-recursive cyclic neural network that can learn long-term dependent information. It is often used to learn language translation, robot control, image analysis, etc. The main part of the calculation process is the multiplication and accumulation operation of each gate value vector and The iterative operation process of each layer; in order to adapt to different app...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06N3/063
CPCG06N3/063
Inventor 韩银和闵丰许浩博王颖
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products