Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Classification model training method and device, electronic equipment and storage medium

A classification model and training method technology, applied in the field of artificial intelligence, can solve the problems such as the inability to exert the advantages of distributed training of large batch data, the classification and recognition accuracy of the classification model is not high, and the mining range of difficult samples is small.

Pending Publication Date: 2021-04-13
SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the actual model training task, difficult sample mining is limited to the samples in the current batch data batch size, and the multi-machine distributed training task adopts the data parallel training mode to be carried out under a single trainer worker. Hard sample mining will not be able to take advantage of the large batch data brought about by distributed training. Therefore, the existing difficult sample mining method is to mine in a small range of batch data. The mining range of difficult samples is small, making classification The classification and recognition accuracy of the model is not high

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 method and device, electronic equipment and storage medium
  • Classification model training method and device, electronic equipment and storage medium
  • Classification model training method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] 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 creative efforts fall within the protection scope of the present invention.

[0046] See figure 1 , figure 1 It is a flowchart of a training method for a classification model provided by an embodiment of the present invention, such as figure 1 shown, including the following steps:

[0047] 101. Obtain the gradient contribution corresponding to each sample in the current batch of data during the training process of the classification model.

[0048] In the embodiment of the present invention, the above-mentioned classification model may be...

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 method. The method comprises steps that the gradient contribution corresponding to each sample in the current batch of data is obtained in a training process of a classification model; samples with the gradient contribution larger than or equal to a preset gradient contribution threshold value in the current batch of data serve as first difficult samples and are added into a difficult sample set, the difficult sample set comprises second difficult samples, and the second difficult samples are samples with the gradient contribution larger than or equal to the preset gradient contribution threshold value in the non-current batch of data; and a third difficult sample is selected from the difficult sample set according to a preset screening rule, and the classification model is trained according to the third difficult sample. According to the method, difficult sample mining is carried out on the current batch of data and the non-current batch of data, and the third difficult sample is screened out from the first difficult sample and the second difficult sample, so the screening range of the third difficult sample is enlarged, more representative difficult samples can be obtained to train the classification model, and classification recognition accuracy of the classification model is improved.

Description

technical field [0001] The invention relates to the field of artificial intelligence, in particular to a training method, device, electronic equipment and storage medium for a classification model. Background technique [0002] In the training process of the classification model, it is necessary to use sample data as input, so that the classification model can learn the classification of the sample data under supervision. Sample data can be divided into simple samples and difficult samples. Simple samples and difficult samples are defined relative to the classification model. The classification model can accurately classify and identify samples as simple samples, and the classification model cannot accurately classify and identify samples as difficult samples. In order to improve the accuracy of the classification model, during the training process of the classification model, the method of mining difficult samples is usually used to train the model, so that the model only u...

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
IPC IPC(8): G06K9/62G06N3/04G06N3/08
CPCG06N3/084G06N3/045G06F18/241G06F18/214Y02T10/40
Inventor 杨傲楠
Owner SHENZHEN INTELLIFUSION TECHNOLOGIES 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
Eureka Blog
Learn More
PatSnap group products