Neural network interlayer activation value quantification method and apparatus

A technology of neural network and quantization method, which is applied in the field of activation value quantification between neural network layers, which can solve the estimation deviation of quantized maximum and minimum values, does not take into account the dynamic changes of convolutional neural networks, and deviates from optimal convolutional neural network models. Model and other problems to achieve the effect of reducing the estimation bias

Inactive Publication Date: 2018-09-14
ENC DATA SERVICE CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the estimation is inaccurate, it will cause the quantized convolutional neural network model to deviate from the optimal model in the optimization space
The applicant found that: the existing quantization algorithms predetermine the maximum and minimum values ​​of quantization according to a certain fixed model, without considering that the activation of the convolutional neural network changes dynamically during the training process, which leads to Quantify the estimated deviation of the maximum and minimum values

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 interlayer activation value quantification method and apparatus
  • Neural network interlayer activation value quantification method and apparatus
  • Neural network interlayer activation value quantification method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, ...

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

A neural network interlayer activation value quantification method and apparatus, wherein the method comprises: acquiring an activation value of the previous activation layer of a neural network; obtaining an activation value limit of a current activation layer according to the activation value of the previous activation layer; determining respective activation values of the current activation layer according to the activation value limit of the current activation layer and the activation value of the previous activation layer. Therefore, the activation value information of the previous activation layer can be transmitted to the current activation layer. Compared with the fixedly set limit in the prior art, the technical solution provided by the present invention can dynamically adapt to the change of the activation value according to the activation value of the previous activation layer, thereby reducing the estimated deviation of quantization.

Description

technical field [0001] The invention relates to the technical field of neural networks, in particular to a method and device for quantifying activation values ​​between layers of a neural network. Background technique [0002] With the development of artificial intelligence, especially the development of convolutional neural network, it has been widely used in the field of intelligent monitoring and has become an indispensable tool, such as face recognition, vehicle detection, object recognition, etc. However, as the number of layers of modern convolutional neural networks deepens, the complexity of the network becomes larger and larger. For example, for a convolutional neural network, the number of convolutional layers can exceed 10 layers. In addition, all convolutional layers The amount of calculation accounts for almost 80% of the entire network's calculation amount. As a result, similar convolutional neural networks cannot be run on embedded devices such as surveillanc...

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/02
CPCG06N3/02
Inventor 许震王运节张如高
Owner ENC DATA SERVICE 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