Pruning threshold determination method and device and model pruning method and device

A pruning and threshold technology, applied in the computer field, can solve the problems that a fixed threshold is not conducive to ensuring the pruning effect, the compression effect is not obvious, and the compression ratio is improved.

Inactive Publication Date: 2018-08-17
JINAN INSPUR HIGH TECH TECH DEV CO LTD
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually, when the threshold is too large, the compression factor increases but the loss of accuracy also increases; if the threshold is too small, the compression effect is not obvious
[0004] Because the weight distribution of different layers of the model is different, the existing implementation of fixed threshold is not conducive to ensuring the pruning effect

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
  • Pruning threshold determination method and device and model pruning method and device
  • Pruning threshold determination method and device and model pruning method and device
  • Pruning threshold determination method and device and model pruning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part 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 those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0063] Such as figure 1 As shown, the embodiment of the present invention provides a method for determining the pruning threshold, which may include the following steps:

[0064] Step 101: For the current convolution layer of the preset model, determine at least one convolution kernel index position corresponding to the convolution kernel combination o...

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 pruning threshold determination method and device and a model pruning method and device. The pruning threshold determination method includes: aiming at a current convolution layer of a preset model, determining at least one convolution kernel index position corresponding to convolution kernel combination of the current convolution layer, wherein the current convolution layer refers to any convolution layer of the preset model; obtaining a cumulative distribution function according to a weight value at each convolution kernel index position; taking a preset model compression ratio as a dependent variable, substituting into the cumulative distribution function, and determining an obtained numerical value as a pruning threshold of the current convolution layer. Sincethresholds applicable to any layers of the model are determined on the basis of weight distribution conditions of the corresponding layers of the model, pruning effect optimization is benefited.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for determining a pruning threshold, and a model pruning method and device. Background technique [0002] With the development and maturity of artificial intelligence technology, more and more deep neural network models are designed, trained, and deployed to different application scenarios. In order to reduce the computational complexity of the model, the trained neural network can be compressed by pruning. Among them, the threshold method is the most commonly used pruning strategy to cut off unimportant connections between neurons in the model, so as to reduce the complexity of the model. [0003] Currently, a threshold can be predetermined and fixed. A fixed threshold can be applied to all layers of the model. Usually, when the threshold is too large, the compression factor increases but the loss of accuracy also increases; if the threshold is too small...

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): G06F19/00G06N3/04
CPCG06N3/04G16Z99/00
Inventor 高岩于治楼姜凯段成德李朋
Owner JINAN INSPUR HIGH TECH TECH DEV 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