Supercharge Your Innovation With Domain-Expert AI Agents!

Class-based filter pruning method

A filter and pruning technology, applied in the field of platforms with less computing resources, can solve problems such as filter redundancy, achieve the effect of reducing network parameters and retaining classification performance

Pending Publication Date: 2021-12-28
TIANJIN UNIV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most of the current pruning methods have certain limitations, ignoring that the filters corresponding to different categories of images in the classification network are different, and there is still some redundancy in the retained important filters.

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
  • Class-based filter pruning method
  • Class-based filter pruning method
  • Class-based filter pruning method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In the pruning method applicable to image classification of the present invention, the shallow layer of the network is used to extract low-level features, and the category difference is not large, so the order of importance of each filter is used to remove convolution kernels that produce less useful information. The high-level features extracted by the deep layer of the network have strong specificity, so only filters with large differences in responses to different categories are retained to reduce the amount of model parameters. A pruning method suitable for image classification is proposed based on the principle of different roles between the shallow layer and the deep layer in the classification network.

[0044] The following will further describe the implementation in detail in conjunction with the VGG16 network in the accompanying drawings:

[0045] (1) Data preparation:

[0046] (a) Divide the data set, this method uses the classification general data set Cifa...

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 relates to a class-based filter pruning method, which comprises the following steps: performing reconstruction based on original VGG-16, adding an activation value generation module, obtaining a new network model, and the activation value generation module being composed of an average pooling layer and two full-connection layers; training the network model added with the activation value generation module, so that the test accuracy of the model on the test set reaches the highest, and obtaining an optimal model; inputting the training set into the optimal model again, and obtaining an activation value of each filter by using an activation value generation module and an input picture; calculating the activation value variances of the filters of all channel importance pruning parts, selecting the filters needing to be reserved according to the variances, and then obtaining the pruning result of the deep network; obtaining a global pruning result of different layers, calculating the number of remaining channels after pruning of each layer, changing the number of channels of each layer of an original network, and retraining the cut original network by using a data set to recover the precision.

Description

technical field [0001] The invention relates to the field of lightweight models in image processing, and is especially suitable for platforms with less computing resources. Background technique [0002] Image classification and detection is a very active research direction in the field of computer vision and machine learning. Image classification and detection are widely used in many fields, including face recognition, garbage classification, behavior recognition, etc. It can be said that object classification and detection have been applied to all aspects of people's daily life. [0003] In the deep learning network, with the deepening of the network depth, the existing convolutional neural network such as VGG [1] 、ResNet [2] 、GoogleNet [3] 、DenseNet [4] The high amount of storage space and computing resource consumption brought about by the amount of calculation and parameters of complex models such as complex models prevents the model from being directly deployed on ...

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/04G06N3/08
CPCG06N3/082G06N3/048G06N3/045
Inventor 褚晶辉李梦吕卫
Owner TIANJIN UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More