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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com