Deep learning training data augmentation method and device for generating adversarial sample in real time, electronic equipment and medium
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 sample and random noise to the adversarial sample training network, and the adversarial sample training network generates an adversarial sample;
[0065] S2: Input the adversarial sample 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 return and adversarial sample training network parameter update operations on the second loss function, and at the same time perform a gradient return operation on the first loss function an...
Embodiment 2
[0095] This embodiment provides a deep learning training data augmentation device that generates adversarial samples in real time, such as Figure 5 As shown, the device applies the deep learning training data augmentation method for real-time generation of adversarial samples described in Embodiment 1, including:
[0096] An adversarial sample generation module, the input module is used to input image samples 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 confrontation sample 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 the deep learning network an...
Embodiment 3
[0105] This embodiment provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor runs the computer program, it executes to implement the 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