Adversarial sample generation method and system for image data
A technology against samples and image data, applied in the field of machine learning, can solve problems such as attacks against samples, achieve the effect of improving security and robustness, strong practicability, and optimizing search time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Such as figure 1 As shown, this embodiment provides a method for generating an adversarial example for image data, including the following steps:
[0045] S1 data preparation: collect the original element data of the image, perform preliminary processing on the collected original element data and classify it, and obtain the training features. This embodiment uses the CIFAR10 data set to extract the images in the CIFAR10 data set. Class images are tagged and marked, and are divided into 10 categories in total, namely category 0 to category 10;
[0046] S2 model pre-training: use the training features to train a neural network model that has not undergone adversarial training to obtain the model to be attacked;
[0047] S3 Generating an adversarial sample: The model to be attacked is used as a parameter for calculating fitness, and a genetic algorithm is used to generate an adversarial sample based on this parameter, specifically:
[0048] S3.1 Data encoding: Use the ge...
Embodiment 2
[0071] This embodiment uses the CIFAR10 data set as the data set, such as figure 2 As shown, the images in the CIFAR10 dataset are divided into 10 categories, each category contains 6,000 images, of which 50,000 images are used for training, forming 5 training batches, each batch of 10,000 images, and another 10,000 images are used for testing. Individually constitute a batch. The images of the test batch are taken from each of the 10 categories, and 1000 images are randomly extracted from each category, and the remaining images are randomly arranged to form a training batch. It is worth noting that there is not a certain number of images of each category in a training batch. Same, but ensemble of 5 training batches including 5000 images for each class.
[0072] S1 data preparation: collect the original element data of the image, perform preliminary processing on the collected original element data and classify it, and obtain the training features. This embodiment uses the C...
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