Deep learning training data augmentation method, device, electronic device and medium for real-time generation of adversarial samples

A technology against samples and training data, applied in the field of deep learning training, can solve the problems of inability to meet the requirements of accuracy, decreased accuracy, limited application scope, etc., to avoid unexplainable misjudgment phenomenon, improve precision and recall, improve The effect of robustness

Active Publication Date: 2022-07-12
广州杰纳医药科技发展有限公司 +1
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This is also one of the reasons for the over-fitting phenomenon. The so-called over-fitting phenomenon means that the model can achieve high training accuracy on the training set, but the accuracy cannot meet the requirements in actual use.
For example, if a model only uses Gaussian noise and salt-and-pepper noise as data augmentation methods in training, when it encounters image distortion caused by video encoding and decoding in the application, it will have a serious decrease in accuracy.
[0005] Second, due to the black-box characteristics of the deep learning model, the model trainer cannot fully understand the features learned by the model
But its disadvantage is that the adversarial samples generated by this method are aimed at an already trained network, and its algorithm complexity is high, it cannot be combined with the model training process, and it cannot be dynamically adjusted according to the changing network during training. Parameters, constantly targeted to generate adversarial samples, so the scope of application is limited

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
  • Deep learning training data augmentation method, device, electronic device and medium for real-time generation of adversarial samples
  • Deep learning training data augmentation method, device, electronic device and medium for real-time generation of adversarial samples
  • Deep learning training data augmentation method, device, electronic device and medium for real-time generation of adversarial samples

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] This embodiment provides a deep learning training data augmentation method for generating adversarial samples in real time, such as figure 1 and figure 2 shown, including the following steps:

[0064] S1: input the image samples and random noise into the adversarial sample training network, and the adversarial sample training network generates adversarial samples;

[0065] S2: Input the adversarial samples into the deep learning network trained through the normal training process;

[0066] S3: Calculate the first loss function according to the output of the deep learning network and the label, and calculate the second loss function according to the output of the deep learning network and the label confused by the label;

[0067] S4: Use the adversarial optimizer to perform gradient backhaul on the second loss function and update the network parameters of the adversarial sample training network, and at the same time perform a gradient backhaul operation on the first l...

Embodiment 2

[0095] This embodiment provides a deep learning training data augmentation device for generating adversarial samples in real time, such as Figure 5 As shown, the device applies the deep learning training data augmentation method for generating adversarial samples in real time as described in Embodiment 1, including:

[0096] an adversarial sample generating module, the adversarial sample generating module is used to input the image sample and random noise to the adversarial sample training network, and the adversarial sample training network generates adversarial samples;

[0097] an input module, the input module is used to input the adversarial samples into the deep learning network trained through the normal training process;

[0098] a loss function calculation module, the loss function calculation module calculates the first loss function according to the output of the deep learning network and the label, and calculates the second loss function according to the output of...

Embodiment 3

[0105] This embodiment provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the computer program when running the computer program to implement The method described in Example 1.

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 present invention provides a deep learning training data augmentation method, device, electronic device and medium for generating confrontation samples in real time. The present invention uses network gradients to return modified input pictures, generates confrontation samples, and uses the generated confrontation samples to train depth in real time. Learning network; use two optimizers to optimize the adversarial sample training network and deep learning network parameters respectively during training, so as to achieve the effect that the adversarial parameters and network parameters can be optimized at the same time in one loop iteration, which accelerates the confrontation and training, And only need to add an adversarial parameter layer, a loss function, and an optimizer on the basis of the original network structure; effectively improve the robustness of the trained deep learning model, and improve the accuracy of the model in practical application. Recall can effectively avoid the unexplained misjudgment phenomenon of the model on unknown data.

Description

technical field [0001] The present invention relates to the technical field of deep learning training methods, and more particularly, to a deep learning training data augmentation, device, electronic device and medium for generating confrontation samples in real time. Background technique [0002] In the training of deep learning models, since the labeled training data is not easy to obtain, the common practice is to scale, rotate, crop, add noise, projective transformation, superposition, etc. to the training data, and then enrich it into the training set. These common operations to enrich the training set are called data augmentation. Data augmentation is to use limited training data to allow the model to learn as much as possible the visual features of the objects in the image that are independent of position, angle, and noise. [0003] Although the above-mentioned common data augmentation methods can generate a large amount of training data with limited annotated images...

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 Patents(China)
IPC IPC(8): G06N3/04G06N3/08G06K9/62
CPCG06N3/08G06N3/045G06F18/214
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