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

Model compression method and device

A compression method and model technology, applied in the field of data processing, can solve the problems of limiting model generalization, low training efficiency, and large number of parameters.

Pending Publication Date: 2019-09-24
WEBANK (CHINA)
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this approach, the guidance process of multiple teacher models to the student model is limited to the training data (i.e. the output of the teacher model)
Therefore, the amount of parameters to be trained is huge, the training efficiency is low, and the output types of the teacher model and the student model are required to be the same, which limits the generalization of the model's learning

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
  • Model compression method and device
  • Model compression method and device
  • Model compression method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039]In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. 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.

[0040] With the improvement of computing power and the emergence of large-scale data, the deep neural network model has made breakthroughs in the fields of image, speech, and natural language. Typically, deep neural network fusion uses convolutional neural networks, recurrent neural networks, and deep neural networks combined into a structure suitable for a specific task. The model has the characteristics of deep layers and huge amount 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 embodiment of the invention discloses a model compression method and device, and the method comprises the steps: carrying out the feature extraction of the training data of a first model through employing a first model, and obtaining feature vectors output by the first model in N feature extraction layers of the first model; and taking the training data and the N first feature vectors output by the N feature extraction layers in the first model as training targets of the N feature extraction layers corresponding to the second model, and training the second model. Compared with the mode in the prior art, the prediction effect of the target model can be improved, and meanwhile the training amount of parameters of the model can be effectively reduced. Besides, since learning is the feature extraction layer, the output types of the first model and the second model can be different, so that the generalization ability of the learned model can be expanded, and the application range of model compression is widened.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a model compression method and device. Background technique [0002] In the field of deep learning technology, users can obtain deep learning network models with better prediction effects through training models. However, deep learning network models with better prediction effects usually have relatively complex network structures, thus occupying a large storage space. Correspondingly, when using the deep learning network model to predict the data to be predicted, due to the complex structure of the deep learning network model, it may cause waste of computing resources, making the prediction efficiency poor. [0003] In order to solve this problem, it is usually possible to compress the deep network model with a relatively complex structure to obtain a deep learning network model with a relatively simple network structure and good predictive performance. Knowledge extraction is a ...

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/08G06N3/04
CPCG06N3/082G06N3/045G06F18/214Y02T10/40
Inventor 凌光徐倩杨强
Owner WEBANK (CHINA)