Apparatus and method for performing convolutional neural network training

A convolutional neural network and convolution kernel technology, applied in machine execution devices, neural learning methods, biological neural network models, etc., can solve the problems of limited inter-chip communication, insufficient on-chip cache, etc., to achieve flexible vector length, improve Execution performance, ease of use effects

Active Publication Date: 2017-11-10
CAMBRICON TECH CO LTD
View PDF5 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] The purpose of the present invention is to provide a device that supports reverse training of convolutional neural networks, so as to solve the problems existing in the prior art, such as limited inter-chip communication, insufficient on-chip cache, etc.

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
  • Apparatus and method for performing convolutional neural network training
  • Apparatus and method for performing convolutional neural network training
  • Apparatus and method for performing convolutional neural network training

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The invention provides a convolutional neural network reverse training device and a supporting instruction set, including a storage unit, a register unit and a convolutional neural network reverse training operation unit, and the storage unit stores data, input and output data gradients and convolution kernels , the register unit stores the data, the gradient of the input and output data, and the address of the convolution kernel. First, the input neuron vector is selected according to the convolution window, and the output data from the previous layer is selected to obtain the input data of the current layer, and then Calculate and update the convolution kernel based on the selected input data and the gradient of the output data from the next layer of the current layer, and then calculate the gradient of the input data based on the gradient of the convolution kernel and output data and the derivative of the activation function , and stored in the memory for the next lay...

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 present invention provides an apparatus and a method for performing convolution neural network inverse training. The apparatus comprises an instruction storage unit, a controller unit, a data access unit, an interconnection module, a main computing module, and a plurality of slave computing modules. The method comprises: for each layer, carrying out data selection on the input neuron vector according to the convolution window; and taking the data from the previous layer and the data gradient from the subsequent layer that are obtained according to selection as the inputs of the computing unit of the apparatus; calculating and updating the convolution kernel; and according to the convolution kernel, the data gradient, and the derivative function of the activation function, calculating the data gradient output by the apparatus, and storing the data gradient to a memory so as to output to the previous layer for inverse propagation calculation. According to the apparatus and method provided by the present invention, data and weight parameters involved in the calculation are temporarily stored in the high-speed cache memory, so that convolution neural network inverse training can be supported more flexibly and effectively, and the executing performance of the application containing a large number of memory access is improved.

Description

technical field [0001] The invention relates to a device and method for performing reverse training of convolutional neural network, which is used to efficiently and flexibly execute reverse training operation of convolutional neural network according to the reverse training operation instruction of convolutional neural network, and can well solve the problem of More and more algorithms in the current computer field include a large number of reverse training operations of convolutional neural networks. Background technique [0002] Convolutional neural network is an efficient recognition algorithm widely used in pattern recognition, image processing and other fields in recent years. It has the characteristics of simple structure, few training parameters and strong adaptability, translation, rotation and scaling. Since the feature detection layer of CNN / DNN learns through training data, when using CNN / DNN, it avoids explicit feature extraction and learns implicitly from train...

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/08
CPCG06N3/084G06N3/063G06N3/045G06F15/7867G06N3/048G06N3/08G06F9/30G06F7/5443
Inventor 陈云霁支天刘少礼郭崎陈天石
Owner CAMBRICON TECH CO LTD
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