Supercharge Your Innovation With Domain-Expert AI Agents!

Classification model training and object classification method and device

A classification model and training method technology, applied in the computer field, can solve the problems of not being able to extract global features, diluting effective features, and affecting the accuracy of classification models

Active Publication Date: 2020-05-19
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the maximum pooling will strengthen the local features of the sample, this part of the features may not be important information related to object classification
Furthermore, average pooling dilutes the effective features
Therefore, traditional training methods often cannot extract effective global features from samples, which will affect the accuracy of the trained classification model.

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
  • Classification model training and object classification method and device
  • Classification model training and object classification method and device
  • Classification model training and object classification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The solutions provided in this specification will be described below in conjunction with the accompanying drawings.

[0047] Before describing the scheme provided by this specification, the inventive concept of this scheme is explained as follows.

[0048] As mentioned above, in the traditional classification model training method, in the pooling layer, the global features are extracted from the local features obtained through the convolutional layer through the maximum pooling and average pooling operations. However, since the maximum pooling will strengthen the local features of the sample, these features may not be highly correlated with the label. Furthermore, average pooling dilutes effective features. Therefore, based on traditional training methods, it is often impossible to train an effective classification model.

[0049]Therefore, the applicant of the present application proposes to introduce a pooling method based on an attention mechanism in the training p...

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 classification model training and object classification method and device. In the training method, a sample with a classification label is obtained; in the embedding layer, a feature vector of a sample and a tag vector of a classification tag are determined. And in the convolution layer, based on a plurality of convolution windows with different widths, multiple convolution processing is carried out on the feature vector of the sample to obtain a plurality of convolution results. And in the pooling layer, the similarity between each convolution resultand the label vector of the classification label is calculated, and an attention weight value corresponding to each convolution result is determined based on the calculated similarity. And based on the attention weight value corresponding to each convolution result, weighted average pooling operation is performed on each convolution result to obtain a pooling result. And the pooling result is taken as a sample representation vector of the sample, and prediction loss is determined at least based on the sample representation vector and the label vector of the classification label. And parameters of the classification model are adjusted based on the prediction loss.

Description

technical field [0001] One or more embodiments of this specification relate to the field of computer technology, and in particular, to a classification model training, object classification method and device. Background technique [0002] Object classification refers to predicting which category the object to be classified belongs to in each specific category under a specific classification system through a pre-trained classification model. The classification model here may be, for example, a convolutional neural network, and the convolutional neural network may include a convolutional layer and a pooling layer. [0003] Taking the classification model as a convolutional neural network as an example, in the traditional model training method, in the convolution layer, local features are extracted from samples through convolution operations. In the pooling layer, global features are extracted from local features by max pooling or average pooling operations. However, since ma...

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/62
CPCG06F18/22G06F18/214G06F18/24
Inventor 曹绍升
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
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