Low-bit quantization method of depth separable convolution structure

A quantization method and low-bit technology, applied in neural learning methods, neural architectures, biological neural network models, etc., can solve problems such as network accuracy degradation, achieve the effects of reducing workload, facilitating implementation and application, and improving accuracy

Active Publication Date: 2020-01-07
INST OF SEMICONDUCTORS - CHINESE ACAD OF SCI
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a low-bit quantization method of a depth-separable convolution structure to solve the problem of network precision decline when performing low-bit quantization on the network

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
  • Low-bit quantization method of depth separable convolution structure
  • Low-bit quantization method of depth separable convolution structure
  • Low-bit quantization method of depth separable convolution structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0047] Such as figure 1 as shown, figure 1 It is a flowchart of a low-bit quantization method of a depth-separable convolution structure according to an embodiment of the present invention, and the method includes the following steps:

[0048] Step 1: Select the quantization coefficient to uniformly quantize the weight and feature map data of the depth separable convolutional neural network after training, so that the minimum mean square error of the weight and feature map data before and after quantization is the smallest;

[0049] Step 2: Quantize the weights in the deep separable convolutional neural network after training by channel;

[0050] Step 3: Input the picture, perform forward operation in the deep separab...

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 discloses a low-bit quantization method for a depth separable convolution structure. The method comprises the following steps: selecting a quantization coefficient to uniformly quantizethe weight of a trained depth separable convolution neural network and feature map data; performing channel-by-channel quantification on the weight in the trained deep separable convolutional neural network; quantifying the depth separable convolutional neural network layer by layer by utilizing the feature map data; performing forward operation in the trained depth separable convolutional neuralnetwork based on the training set, and updating moving average parameters in the batch normalization layer; and fusing the updated moving average parameters and learnable parameters in the batch normalization layer into a network weight quantization coefficient and offset to realize low-bit quantization of the depth separable convolution structure. The low-bit quantization method of the depth separable convolution structure provided by the invention does not need any labeled data participation, is simple in calculation, and improves the accuracy after low-bit quantization compared with a traditional method.

Description

technical field [0001] The invention relates to the fields of deep learning and artificial intelligence, in particular to a low-bit quantization method for a depth-separable convolution structure. Background technique [0002] Since 2012, deep convolutional neural network (CNN) has been widely used in computer vision fields such as image classification, image segmentation, and object detection. When using deep convolutional neural networks to solve problems, people often tend to design more complex networks in order to obtain higher performance. What follows is that the complexity of the model is greatly improved, which brings great challenges to the storage of the embedded model. At the same time, the model reasoning time is getting longer and longer, and the delay is getting bigger and bigger, which brings great challenges to the deep convolutional neural network. The promotion on terminal smart devices has brought great challenges. For example, the weight of the classic...

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/08G06N3/04
CPCG06N3/08G06N3/045
Inventor 吴绮李志远陈刚鲁华祥边昳
Owner INST OF SEMICONDUCTORS - 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