Image classification method based on vector standardization and knowledge distillation

A classification method and vector technology, applied in the field of image classification based on vector standardization and knowledge distillation, can solve the problems of student network performance degradation, manual selection of teacher network, and enhancement of student network performance, so as to alleviate the problem of capacity gap, good effect, The method is simple and effective

Active Publication Date: 2020-12-22
ZHEJIANG UNIV
View PDF4 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, knowledge distillation faces a problem known as the "capacity gap"
This describes a problem in the distillation process, where the performance of the student network degrades if the teacher network becomes too large
This leads to the need to manually select the appropriate size of the teacher network problem when performing distillation
In addition, this also makes it impossible to simply use a larger teacher network to enhance the performance of the student 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
  • Image classification method based on vector standardization and knowledge distillation
  • Image classification method based on vector standardization and knowledge distillation
  • Image classification method based on vector standardization and knowledge distillation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be noted that the following embodiments are intended to facilitate the understanding of the present invention, but do not limit it in any way.

[0049] Such as figure 1 As shown, an image classification method based on vector normalization and knowledge distillation includes the following steps:

[0050] S01, train a teacher model.

[0051] In this embodiment, the ImageNet data set is used as the training set, and the task is to determine the category of the image given an image. The dataset includes a total of a thousand categories, including animals, cars, etc.

[0052] The teacher model is a residual convolutional neural network (other image recognition artificial neural networks can also be used), and the image is input into the residual convolutional neural network. The neural network mainly includes two technologies, convolution...

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 discloses an image classification method based on vector standardization and knowledge distillation, and the method comprises the following steps: (1), constructing and training a teacher model which employs a deep convolutional neural network; (2) constructing a student model smaller than the teacher model, wherein the student model also adopts a deep convolutional neural network; (3) training the student model by using a distillation loss function, and standardizing probability coding vectors output by the student model and the teacher model in the training process; and (4) inputting a to-be-classified image into the trained student model, and carrying out classification prediction. By utilizing the method, the performance of the student network can be improved and the image classification precision can be improved under the condition of not introducing extra parameters and calculation overhead.

Description

technical field [0001] The invention belongs to the technical field of image classification, and in particular relates to an image classification method based on vector standardization and knowledge distillation. Background technique [0002] With the advent of the era of artificial intelligence, deep learning technology has been widely used in a variety of image classification fields: such as face recognition, automatic driving, fault detection, etc. [0003] Model compression is one of the hottest issues in deep learning model deployment. It requires the model to maintain a certain accuracy when the parameters are reduced. Currently, the most popular methods include parameter quantization, model pruning, knowledge distillation, etc. Among them, the method of knowledge distillation has a better effect and has received extensive attention. [0004] In knowledge distillation, a larger model (teacher) transfers knowledge to a smaller model (student). On some datasets, know...

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/04G06N3/08G06N20/20
CPCG06N3/08G06N20/20G06N3/047G06N3/045G06F18/2415G06F18/214
Inventor 郭嘉蔡登何晓飞陈铭浩胡尧朱琛
Owner ZHEJIANG 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