Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Training model and small sample classification method and device

A technology for training models and training samples, applied in the field of training models and small sample classification, can solve problems such as insufficient adaptability, affecting the training effect of deep learning models, and low accuracy of labeling results.

Active Publication Date: 2021-04-02
BEIJING SANKUAI ONLINE TECH CO LTD +1
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the feature extraction model trained by the existing technology is usually a general model, that is, it is used for labeling samples in different scenarios, and there are differences in the similarity between samples in different scenarios, resulting in the labeling of samples obtained by existing training. The adaptability of the model is insufficient, and the accuracy of the labeling results is low, which affects the training effect of the subsequent deep learning model based on the labeled samples

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
  • Training model and small sample classification method and device
  • Training model and small sample classification method and device
  • Training model and small sample classification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to make the purpose, technical solution and advantages of this specification clearer, the technical solution of this specification will be clearly and completely described below in conjunction with specific embodiments of this specification and corresponding drawings. Apparently, the described embodiments are only some of the embodiments in this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this specification.

[0071] The technical solutions provided by each embodiment of this specification will be described in detail below in conjunction with the accompanying drawings.

[0072] figure 1 A schematic flow diagram of the training model provided for the embodiment of this specification, including:

[0073] S100: Obtain each support sample and each query sample of the marked category according to th...

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 a training model and small sample classification method and device, the similarity of local features between different samples is calculated, the subsequently determined weightdistribution can better reflect the importance degree of symbiotic information between the samples, and when an optimal transmission problem is constructed, the optimal transmission problem is solvedby adding an entropy regularization item. Therefore, a transmission cost matrix can be obtained through iterative optimization, and finally, a loss function is determined based on the transmission cost matrix of each sample pair and the annotation of each query sample in the training sample set, so that the feature extraction model learns to extract more effective features for classifying the query samples. Therefore, the training model does not learn the transmission cost matrix used for weighting, but calculates each sample pair to obtain the transmission cost matrix, so that the embodimentprovided by the specification is not limited by the learned general weighting matrix, and can adapt to samples of different types of scenes.

Description

technical field [0001] This specification relates to the technical field of automatic driving, and in particular to a method and device for training models and classifying small samples. Background technique [0002] At present, supervised learning has become an important model training method, but when training a deep learning model, a large number of training samples are required to ensure the effect of model training. [0003] When there are few training samples but a deep learning model needs to be trained, it is necessary to train the deep model based on small samples. One of the methods is to classify the test samples in the test sample library based on small samples, which can also be regarded as the labeling of the test samples, so as to obtain a large number of samples for training the deep learning model. It can be seen that the accuracy of the test sample annotation determines the training effect of the deep learning model. [0004] In the prior art, small sampl...

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/62G06K9/46
CPCG06V10/44G06F18/22G06F18/253G06F18/214
Inventor 张涛王铎夏华夏申浩何祎毛一年
Owner BEIJING SANKUAI ONLINE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products