Sample weight allocation method, model training method, electronic equipment and storage medium

A technology of weight distribution and model training, applied in character and pattern recognition, instruments, computer parts, etc., can solve problems such as inability to fully express sample characteristics, large computing resources, and difficult to achieve, achieve good correction, improve expression ability, The effect of increasing the weight

Active Publication Date: 2018-06-29
SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing methods mainly use the following two methods to obtain samples with appropriate difficulty: first, after the model is trained to a certain stage, according to the characteristic expression of the model, some samples with moderate difficulty are selected, which is cumbersome to operate, and With the training of the model, the difficulty of the selected samples changes, and the original offline selected samples are no longer representative, and cannot fully express the characteristics of the subsequent added samples.
Second, in the process of model training, samples with moderate difficulty are selected according to the model for each training. Although the training samples selected by this method are representative and can effectively improve the expressive ability of the model, the computing resources required are too large. Large, difficult to achieve in actual model training

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
  • Sample weight allocation method, model training method, electronic equipment and storage medium
  • Sample weight allocation method, model training method, electronic equipment and storage medium
  • Sample weight allocation method, model training method, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] 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.

[0043] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0044] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the 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 invention provides a sample weight allocation method. The method comprises the following steps: acquiring training samples, wherein the training samples include a positive sample set and a negative sample set; calculating the distance of each positive sample couple in the positive sample set, and the distance of each negative sample couple in the negative sample set; determining distance distribution of the positive sample set according to the distance of each positive sample couple in the positive sample set; determining distance distribution of the negative sample set according to the distance of each positive sample couple in the negative sample set; and determining weight distribution of the training samples based on the distance distribution of the positive sample set and the distance distribution of the negative sample set. The invention further provides a model training method, electronic equipment and a storage medium. According to the sample weight allocation method disclosed by the invention, the weight of the sample couples with wrong classification can be increased, and contribution of the samples with classification errors to targeted loss is increased in the modeltraining process, so that model parameters can be well corrected, and the expression ability of the model parameters is improved.

Description

technical field [0001] The invention relates to the field of artificial intelligence, in particular to a sample weight distribution method, a model training method, electronic equipment and a storage medium. Background technique [0002] In the field of machine learning, in the training of models (such as feature extraction models, face feature expression models, etc.), loss functions are divided into two categories. The first category is based on classification measurements. Since the features are not directly measured, the performance is limited; The other type is an end-to-end method directly oriented to feature measurement. This type of method can converge well because it needs to select a sample network with an appropriate degree of difficulty. Existing methods mainly use the following two methods to obtain samples with appropriate difficulty: first, after the model is trained to a certain stage, according to the characteristic expression of the model, some samples with...

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/24G06F18/214
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
Try Eureka
PatSnap group products