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

Dynamic label smooth weighted loss method and device based on historical records

A technology of historical records and labels, applied in the field of image processing, can solve the problem of low recognition accuracy of machine learning models, and achieve the effect of avoiding overfitting, reducing penalties, and solving low recognition accuracy.

Pending Publication Date: 2020-10-16
UNIV OF SCI & TECH BEIJING +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a dynamic label smoothing weighted loss method and device based on historical records, which can solve the problem of low recognition accuracy of machine learning models caused by similarities between categories in classification tasks. The technical solution is as follows:

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
  • Dynamic label smooth weighted loss method and device based on historical records
  • Dynamic label smooth weighted loss method and device based on historical records
  • Dynamic label smooth weighted loss method and device based on historical records

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0042] Such as figure 1 As shown, the embodiment of the present invention provides a method for smoothing weighted loss of dynamic tags based on historical records. The method can be implemented by an electronic device, and the electronic device can be a terminal or a server. The method includes:

[0043]S1, establishing a fixed-length history queue for each image, wherein the initial value in the history queue is the real label category of the corresponding image;

[0044] S2, during each iterative training of the machine learning model, calculate the weight of the corresponding image belonging to the real category and other categories according to the historical queue, and combine the obtained weight with the cross entropy function t...

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 dynamic label smooth weighted loss method and device based on historical records, and belongs to the technical field of image processing. The method comprises the following steps: S1, building a historical queue with a fixed length for each image, and initial values in the historical queues are real label categories of the corresponding images; s2, during each iterative training of the machine learning model, calculating weights of corresponding images belonging to a real category and other categories according to a historical queue, and combining the obtained weightswith a cross entropy function to calculate loss so as to optimize the machine learning model; and S3, after each iterative training is completed, updating the corresponding historical queue by using the category to which each image belongs predicted by the machine learning model, and returning to S2 to continue iteration until the training is completed. By adopting the invention, the problem of low recognition accuracy of the machine learning model due to similarity among classes in the classification task can be solved.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a method and device for dynamic label smoothing and weighted loss based on historical records. Background technique [0002] Classification is a commonly used form of data analysis in data mining and is usually applied to predicting categories (or probabilities of categories) of data rather than continuous numerical values. In practical applications, limited by the understanding of the data or the requirements of the task, there are similarities between different types of data, which affects the learning process of the data mining model and causes the model to output wrong classification results. [0003] Taking the application scenario of cell cancer image data classification as an example, cell cancer is a continuous process, and it is impossible to set an absolute threshold to quantitatively distinguish which stage the current cell belongs to. For example, th...

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): G06T5/00G06N3/04G06N20/00
CPCG06N20/00G06T2207/20081G06N3/045G06T5/70Y02T10/40
Inventor 班晓娟白广栋姜淑芳马博渊王宇杨星
Owner UNIV OF SCI & TECH BEIJING