Convolutional neural network filter pruning technology based on similarity learning

A convolutional neural network and filter technology, which is applied in the field of neural networks, can solve problems such as inability to set the filter to zero, loss of precision, and damage to the network structure, and achieve good representation ability and precision, high precision and efficiency.

Active Publication Date: 2018-11-20
TSINGHUA UNIV
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Some techniques try to define the importance of filters in a certain way, remove some unimportant filters, and then retrain the network to restore its damaged accuracy. The limitation of this is that removing the entire filter is a negative A large damage to the network structure will cause a significant loss of accuracy and require a long period of retraining to restore its accuracy
Some techniques are pruning and retraining layer by layer, or even filter by filter, which is very inefficient on very deep networks
Other techniques try to introduce certain constraints and train the network in order to set some filters to zero, so that the accuracy loss of the network can be greatly reduced when removing this part of the filter; In addition, this method often cannot really set all the parameters of the filter to zero, but only reduces its magnitude to a certain limit, so the accuracy will still be caused when pruning. loss, still requires retraining to restore its accuracy

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
  • Convolutional neural network filter pruning technology based on similarity learning
  • Convolutional neural network filter pruning technology based on similarity learning
  • Convolutional neural network filter pruning technology based on similarity learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] A convolutional neural network filter pruning technique based on similarity learning, such as figure 1 Shown, including:

[0031] S1. Similarity investigation

[0032] Such as figure 2 As shown, the similarity investigation of the present invention is to indirectly estimate the similarity of the filter itself through the similarity of the output of the filter on a given data set. For example, for two filters in a certain layer of the input network, for the same input (such as a picture), these two filters generate two feature matrices; for the same given data set containing multiple pictures, the two Two filters produce two matrix sequences. However, it is actually not feasible to directly use the similarity of the two matrix sequences as the similarity of the two filters. Take the 64 filters of the first layer of ResNet-50 on the ImageNet dataset as an example. If only 1% of the ImageNet training set (12800 pictures) is used as the survey data set, 32-bit floating point ...

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 provides a convolutional neural network filter pruning technology based on similarity learning. The method comprises the steps of obtaining the similarity between different filters through similarity survey; performing clustering on the filters according to the similarity; enabling the filters in the same cluster to become more and more similar through convergent training; and finally pruning the filters after the convergent training. The technology solves the problem that the model representation capability is reduced and needs to be re-trained in a convolutional neural networkfilter pruning process, so that the representation capability and precision of a network can be better retained; and in addition, the precision loss of the convolutional neural network is hardly caused, the precision of a model does not need to be restored through re-training, and the better balance of model precision and efficiency is achieved.

Description

Technical field [0001] The invention belongs to the technical field of neural networks, and particularly relates to a convolutional neural network filter pruning technology based on similarity learning. Background technique [0002] In recent years, with the explosive growth of the amount of information in the human society and the enormous abundance of computing resources, data-driven deep learning methods have been widely and successfully applied in many fields. In particular, in the fields of computer vision and natural language processing, the success of Convolutional Neural Networks (CNN) is particularly prominent, and it has become an indispensable tool. [0003] However, as CNN becomes deeper and deeper, the number of parameters, energy consumption, the number of floating-point operations (FLOPs) required, and memory usage continue to increase, making it more and more difficult to deploy on platforms with limited computing resources. Such as mobile devices. Therefore, in r...

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): G06K9/62G06N3/04
CPCG06N3/045G06F18/23G06F18/214
Inventor 丁贵广丁霄汉
Owner TSINGHUA UNIV
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