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

Compression method and device of convolutional neural network and electronic equipment

A technology of convolutional neural network and neural network, which is applied in the field of device and electronic equipment, and the compression method of convolutional neural network, can solve the problem of unfavorable convolutional neural network feature learning, convolutional neural network convolutional neural network accuracy reduction, etc. question

Pending Publication Date: 2021-02-02
HANGZHOU HIKVISION DIGITAL TECH +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the above-mentioned related technologies, the connection mode of neurons and the shape of the convolution kernel in the network structure of the convolutional neural network will change before and after compression, resulting in a large difference, which is not conducive to the application process of the compressed convolutional neural network. In the feature learning, the accuracy of the compressed convolutional neural network is greatly reduced compared with that of the uncompressed convolutional neural 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
  • Compression method and device of convolutional neural network and electronic equipment
  • Compression method and device of convolutional neural network and electronic equipment
  • Compression method and device of convolutional neural network and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0089] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0090]In related technologies, the amount of parameters and calculations of the convolutional neural network are reduced by cutting off neurons whose connection weights are close to zero in the large-scale convolutional neural network, and the compressed convolutional neural network is obtained. However, in this related technology, the connection mode of neurons and the shape of the convolution kernel in the network structure of the convolutional neural network...

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 embodiment of the invention provides a compression method and device of a convolutional neural network and electronic equipment. For each convolution layer, the method comprises the following steps: deforming a weight tensor of the convolution layer into a first two-dimensional matrix; determining a plurality of first singular value decomposition items of the first two-dimensional matrix; selecting at least one first singular value decomposition item from the plurality of first singular value decomposition items according to a first selection rule; performing approximate decomposition on the first two-dimensional matrix by utilizing each first singular value decomposition item to obtain a first decomposition matrix and a second decomposition matrix; respectively deforming the first decomposition matrix and the second decomposition matrix into a first sub-weight tensor and a second sub-weight tensor as compressed weight tensors; and after obtaining the compressed weight tensor of each convolutional layer of the target convolutional neural network, obtaining the compressed target convolutional neural network. Compared with the prior art, by applying the scheme provided by the embodiment of the invention, the accuracy difference between the convolutional neural networks before and after compression can be reduced.

Description

technical field [0001] The present invention relates to the technical field of artificial intelligence, in particular to a convolutional neural network compression method, device and electronic equipment. Background technique [0002] At present, with the continuous development of artificial intelligence technology, convolutional neural networks have made major breakthroughs in tasks such as image recognition, target detection, and image semantic segmentation, and are widely used in the fields of the Internet, security, and smart homes. [0003] With the advent of the mobile Internet era, people's demand for the application of convolutional neural networks on mobile devices to complete tasks such as target recognition, detection, and tracking is becoming more and more urgent. However, due to the limited storage and computing capabilities of mobile devices, and the current excellent convolutional neural network usually has a large amount of parameters and calculations, it is ...

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/063G06N3/08
CPCG06N3/063G06N3/082G06N3/045
Inventor 尹东党韩兵徐鹏张世峰董鹏宇
Owner HANGZHOU HIKVISION DIGITAL TECH