Unlock instant, AI-driven research and patent intelligence for your innovation.

Weight value fixed-point quantification method for lightweight convolutional neural network

A technology of convolutional neural network and quantization method, which is applied in the field of fixed-point quantization of weight values, can solve the problems of accuracy loss, low parameter redundancy, and convolutional neural network accuracy loss, and achieves low accuracy loss and low hardware. The effect of resource consumption, fast retraining speed

Inactive Publication Date: 2020-02-25
XI AN JIAOTONG UNIV
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The most simple and direct method is to quantize the weights and inputs into low-precision integers, such as 8-bit or 16-bit integers, and use low-bit-width integer operations to save hardware resources, but this will lead to a loss in the accuracy of the convolutional neural network, while The weight of the lightweight neural network is extremely small, and the parameter redundancy is low, resulting in a more obvious loss of accuracy. Therefore, how to effectively avoid the serious loss of accuracy is the key to the quantization of convolutional neural networks.

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
  • Weight value fixed-point quantification method for lightweight convolutional neural network
  • Weight value fixed-point quantification method for lightweight convolutional neural network
  • Weight value fixed-point quantification method for lightweight convolutional neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0053] In this research field, Google proposed to introduce a pseudo-quantization method in the training process for the training process of the network, to realize the algorithm of directly training the quantized network, and the final quantization factor used fixed-point numbers to complete the integerization of the entire network. The tensorRT tool launched by NVIDIA, through the verification of 500 pictures, directly converts a pre-trained convolutional neural network model into an integer with only 8 bits of weight, thereby converting floating-point multiplication into 8-bit integer operations, without the need for any more. training, but the method's quantization and inverse quantization relies on floating-point multiplication. Intel China Research Institute proposed an incremental quantization and training process for neural networks, gradually transforming the model into a network with a weight of only a power of 2 or 0, and maintaining a good accuracy rate.

[0054]Th...

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 weight value fixed-point quantization method for a lightweight convolutional neural network. The method comprises the steps of dividing weights, extracting a quantization strategy from a specific set, training, completing multi-measurement iteration, obtaining a quantization factor and completing quantization. Compared with the prior art, the method has the advantages that the retraining speed is higher, the accuracy loss is lower on the lightweight convolutional neural network, and the hardware resource consumption is lower than that of convolutional 8-bit integer multiplication.

Description

technical field [0001] The invention belongs to the field of lightweight convolutional neural networks, and in particular relates to a weighted numerical fixed-point quantization method for lightweight convolutional neural networks. Background technique [0002] With the maturity of deep neural network technology in the field of computer vision, the classification ability of deep convolutional network for specific objects has approached the level of human eye classification. Convolutional neural network (CNN) is becoming more and more mature in the field of computer vision. In the competition, the convolutional neural network algorithm is far more effective than the traditional algorithm. Therefore, the convolutional neural network algorithm has become a commonly used image processing algorithm. It extracts image features through a large number of floating-point multiplication and addition operations. In many hardware devices, the floating-point arithmetic unit is relatively...

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
IPC IPC(8): G06N3/08G06N3/04G06K9/62
CPCG06N3/08G06N3/045G06F18/214
Inventor 杨晨李博文耿龙飞王逸洲耿莉
Owner XI AN JIAOTONG UNIV