Model training method and device, equipment and storage medium

A model training and model technology, applied in the field of deep learning, can solve problems such as the inability to learn the sequence relationship, the inability to dynamically evaluate the model, and the inability to capture location information, so as to save homologous data labeling and labeling The effect of training cost

Pending Publication Date: 2021-08-06
联仁健康医疗大数据科技股份有限公司
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the existing model iteration methods based on the attention mechanism or setting the neglect area mainly use the attention mechanism for model iteration. The attention mechanism itself has some shortcomings. For example, the use of the attention mechanism in natural language processing cannot capture the position. information, that is, the order relationship in the sequence cannot be learned
Existing model optimization methods based on parameter merging, this type of method mainly combines the convolution and batch normalization parameters corresponding to the model in the optimization merging method during the optimization process of the deep learning model, which is a model parameter level. The optimization method cannot solve the problem of rapid iteration in a short period of time based on a small amount of data
Existing model optimization methods based on preset ranges mainly use artificially set ranges as the idea of ​​model optimization. Due to the dependence on range setting, there are many inter-class and intra-class problems in the actual model iteration and optimization. Changes will require a large amount of labeled data, the data cannot be used flexibly, and the model cannot be evaluated dynamically

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] figure 1 It is a flow chart of a model training method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of medical image labeling. The trained model can be a lesion detection model of medical images. By analyzing medical images in electronic medical records Labeling can detect whether the medical image corresponds to a certain type of disease. The method can be performed by a model training device, and specifically includes the following steps:

[0050] S110. Acquire a training data set, where the training data set includes initial labeled data.

[0051] Wherein, the training data set refers to the data set initially used to train the model. For example, the model is a lesion detection model for medical imaging, and the training data set is medical imaging. According to the defined business scenario, data source, and labeling rules, the initial labeling data for model training needs to be prepared. When the business scenari...

Embodiment 2

[0097] figure 2 It is a block flow diagram of a model training device provided in Embodiment 2 of the present invention, such as figure 2 As shown, the model training device in the embodiment of the present invention may specifically include the following modules:

[0098] The acquisition module 61 is configured to acquire a training data set, wherein the training data set includes initial labeled data.

[0099] Obtaining module 62, configured to perform model training based on the training data set to obtain an intermediate model.

[0100] The generation module 63 is used to obtain data from the data set to be marked as the data to be tested based on the preset data acquisition type, and generate a model reasoning result of the data to be tested based on the current intermediate model, based on the data to be tested, the The model inference results and label information of the data to be tested update the dynamic test set.

[0101] An evaluation module 64, configured to ...

Embodiment 3

[0121] image 3 A schematic structural diagram of a computer device provided in Embodiment 3 of the present invention, such as image 3 as shown,

[0122] It includes a memory 71, a processor 72, and a computer program stored in the memory 71 and operable on the processor 72. When the processor 72 executes the program, it implements the model training method as described in any of the above-mentioned embodiments.

[0123] The computer equipment includes a processor 72, a memory 71, an input device 73 and an output device 74; the number of processors 72 in the computer equipment can be one or more, image 3 Take a processor 72 as an example; the processor 72, memory 71, input device 73 and output device 74 in the computer equipment can be connected by bus or other methods, image 3 Take connection via bus as an example.

[0124] Memory 71, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as the corr...

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 model training method and device, equipment and a storage medium. The model training method comprises the following steps: performing model training based on a training data set to obtain an intermediate model; based on a preset data acquisition type, acquiring data from the to-be-labeled data set as to-be-tested data, and generating a model reasoning result of the to-be-tested data based on the current intermediate model; based on the dynamic test set and the fixed test set, testing and evaluating the model reasoning result; and if the evaluation result of the fixed test set does not meet the standard condition, adjusting a preset data acquisition type based on the evaluation result of the dynamic test set, performing iterative training on the intermediate model based on the to-be-tested data corresponding to the adjusted preset data acquisition type until the evaluation result of the fixed test set meets the standard condition, and obtaining a target model. Under the driving of small sample annotation data, dynamic model evaluation is carried out, model iteration is rapidly carried out, and then the effect of rapidly generating a model conforming to annotation is achieved.

Description

technical field [0001] Embodiments of the present invention relate to deep learning technology, and in particular to a model training method, device, device and storage medium. Background technique [0002] As an important research direction in the field of machine learning, deep learning is introduced into machine learning to make it closer to the original goal of artificial intelligence. The process of deep learning modeling generally starts from the original data, uses a given multi-layer algorithm, initial parameters and initial weights, conducts data analysis, compares it with the standard results, finds the factors that cause gaps, adjusts relevant parameters and The weights are then subjected to a new round of simulation, and finally the calculation process that minimizes the total tolerance between the calculated results and the actual results. In the practical application of deep learning, if it needs to be integrated into daily business, a basic problem that needs...

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): G06N5/04G06N3/04G06N3/08
CPCG06N5/04G06N3/08G06N3/045
Inventor 尹芳马晶马杰张晓璐
Owner 联仁健康医疗大数据科技股份有限公司
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