# US 2021/0081793 A1 · Hardened deep neural networks through training from adversarial misclassified data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0081793 A1
- Document ID: US20210081793A1
- Status: Published application
- Kind: A1
- Application number: 17/093,938
- Filed: 2020-11-10
- Published: 2021-03-18
- Earliest claimed: 2017-07-01
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: LI CHEN; RAVI L. SAHITA
- Web page: https://patentgrep.com/patent/US20210081793A1

## CPC

- G06N 3/094: Adversarial learning
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 18/24143: {Distances to neighbourhood prototypes, e.g. restricted Coulomb energy networks [RCEN]}
- G06N 3/02: Neural networks
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/086: using evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/09: Supervised learning
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/776: Validation; Performance evaluation
- G06V 10/82: using neural networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Various embodiments are generally directed to techniques for training deep neural networks, such as with an iterative approach, for instance. Some embodiments are particularly directed to a deep neural network (DNN) training system that generates a hardened DNN by iteratively training DNNs with images that were misclassified by previous iterations of the DNN. One or more embodiments, for example, may include logic to generate an adversarial image that is misclassified by a first DNN that was previously trained with a set of sample images. In some embodiments, the logic may determine a second training set that includes the adversarial image that was misclassified by the first DNN and the first training set of one or more sample images. The second training set may be used to train a second DNN. In various embodiments, the above process may be repeated for a predetermined number of iterations to produce a hardened DNN.

## Claims

### Claim 1

An apparatus, comprising:
circuitry; and
a memory device coupled to the circuitry, the memory device to store instructions that when executed by the circuitry cause the circuitry to:
modify at least a first pixel of a base image to generate an adversarial image, the adversarial image misclassified by a neural network (NN); and
train the NN with a training set comprising the adversarial image.

### Claim 2 (depends on 1)

The apparatus of claim 1, the memory device comprising instructions that when executed by the circuitry cause the apparatus to:
present the adversarial image to the NN to classify;
determine whether the NN classified the adversarial image into a classification associated with the base image; and
train the NN with the training set comprising the adversarial image based on a determination that the NN did not classify the adversarial image into the classification associated with the base image.

### Claim 3 (depends on 2)

The apparatus of claim 2, the memory device comprising instructions that when executed by the circuitry cause the apparatus to:
modify at least a second pixel of the base image to generate a second adversarial image;
determine whether the NN incorrectly classified the adversarial image;
present the second adversarial image to the NN to classify; and
determine whether the NN classified the second adversarial image into the classification associated with the base image.

### Claim 4 (depends on 3)

The apparatus of claim 3, the memory device comprising instructions that when executed by the circuitry cause the apparatus to train the NN with the training set comprising the adversarial image and the second adversarial image based on a determination that the NN did not classify the second adversarial image into the classification associated with the base image.

### Claim 5 (depends on 1)

The apparatus of claim 1, the memory device comprising instructions that when executed by the circuitry cause the apparatus to identify the at least the first pixel of the base image based on a sliding window technique, wherein the sliding window technique is used to combine portions of the base image with the at least the first pixel of the base image based on a sliding window.

### Claim 6 (depends on 1)

The apparatus of claim 1, the memory device comprising instructions that when executed by the circuitry cause the apparatus to utilize a fast gradient sign method to modify the at least the first pixel of the base image.

### Claim 7 (depends on 1)

The apparatus of claim 1, the memory device comprising instructions that when executed by the circuitry cause the apparatus to minimize a Chebyshev or L-infinity distance between the base image and the adversarial image.

### Claim 8

At least one non-transitory computer-readable medium comprising a set of instructions that in response to being executed at a computing device, cause the computing device to:
modify at least a first pixel of a base image to generate an adversarial image, the adversarial image misclassified by a neural network (NN); and
train the NN with a training set comprising the adversarial image.

### Claim 9 (depends on 8)

The at least one non-transitory computer-readable medium of claim 8, comprising instructions, that in response to being executed at the computing device, cause the computing device to:
present the adversarial image to the NN to classify;
determine whether the NN classified the adversarial image into a classification associated with the base image; and
train the NN with the training set comprising the adversarial image based on a determination that the NN did not classify the adversarial image into the classification associated with the base image.

### Claim 10 (depends on 9)

The at least one non-transitory computer-readable medium of claim 9, comprising instructions, that in response to being executed at the computing device, cause the computing device to:
modify at least a second pixel of the base image to generate a second adversarial image;
determine whether the NN incorrectly classified the adversarial image;
present the second adversarial image to the NN to classify; and
determine whether the NN classified the second adversarial image into the classification associated with the base image.

### Claim 11 (depends on 10)

The at least one non-transitory computer-readable medium of claim 10, comprising instructions, that in response to being executed at the computing device, cause the computing device to train the NN with the training set comprising the adversarial image and the second adversarial image based on a determination that the NN did not classify the second adversarial image into the classification associated with the base image.

### Claim 12 (depends on 8)

The at least one non-transitory computer-readable medium of claim 8, comprising instructions, that in response to being executed at the computing device, cause the computing device to identify the at least the first pixel of the base image based on a sliding window technique, wherein the sliding window technique is used to combine portions of the base image with the at least the first pixel of the base image based on a sliding window.

### Claim 13 (depends on 8)

The at least one non-transitory computer-readable medium of claim 8, comprising instructions, that in response to being executed at the computing device, cause the computing device to utilize a fast gradient sign method to modify the at least the first pixel of the base image.

### Claim 14 (depends on 8)

The at least one non-transitory computer-readable medium of claim 8, comprising instructions, that in response to being executed at the computing device, cause the computing device to minimize a Chebyshev or L-infinity distance between the base image and the adversarial image.

### Claim 15

An apparatus, comprising:
circuitry; and
a memory device coupled to the circuitry, the memory device to store instructions that when executed by the circuitry cause the circuitry to:
modify at least one image of a first group of images of a training set for a neural network (NN) to form a plurality of adversarial images, the first group of images associated with a first classification of the NN; and
train the NN with the training set and at least one of the plurality of adversarial images.

### Claim 16 (depends on 15)

The apparatus of claim 15, the memory device comprising instructions that when executed by the circuitry cause the apparatus to:
modify at least one image of a second group of images of the training set for the NN to form a second plurality of adversarial images, the second group of images associated with a second classification of the NN; and
train the NN with the training set, at least one of the plurality of adversarial images, and at least one of the plurality of second adversarial images.

### Claim 17 (depends on 16)

The apparatus of claim 16, the memory device comprising instructions that when executed by the circuitry cause the apparatus to:
present the plurality of adversarial images to the NN to classify;
determine, for each of the plurality of adversarial images, whether the NN classified the plurality of adversarial images into the first classification; and
train the NN with the training set, the ones of the plurality of adversarial images that the NN did not classify into the first classification, and at least one of the plurality of second adversarial images.

### Claim 18 (depends on 17)

The apparatus of claim 17, the memory device comprising instructions that when executed by the circuitry cause the apparatus to:
present the plurality of second adversarial images to the NN to classify;
determine, for each of the plurality of second adversarial images, whether the NN classified the plurality of second adversarial images into the second classification; and
train the NN with the training set, the ones of the plurality of adversarial images that the NN did not classify into the first classification, and the ones of the plurality of second adversarial images that the NN did not classify into the second classification.

### Claim 19 (depends on 15)

The apparatus of claim 15, the memory device comprising instructions that when executed by the circuitry cause the apparatus to utilize a fast gradient sign method to modify the at least one image of the first group of images.

### Claim 20 (depends on 15)

The apparatus of claim 15, the memory device comprising instructions that when executed by the circuitry cause the apparatus to minimize a Chebyshev or L-infinity distance between the at least one image of the first group of images and the plurality of adversarial images.

### Claim 21

A computer-implemented method, comprising:
modifying at least one image of a first group of images of a training set for a neural network (NN) to form a plurality of adversarial images, the first group of images associated with a first classification of the NN; and
training the NN with the training set and at least one of the plurality of adversarial images.

### Claim 22 (depends on 21)

The computer-implemented method of claim 21, comprising:
modifying at least one image of a second group of images of the training set for the NN to form a second plurality of adversarial images, the second group of images associated with a second classification of the NN; and
training the NN with the training set, at least one of the plurality of adversarial images, and at least one of the plurality of second adversarial images.

### Claim 23 (depends on 22)

The computer-implemented method of claim 22, comprising:
presenting the plurality of adversarial images to the NN to classify;
determining, for each of the plurality of adversarial images, whether the NN classified the plurality of adversarial images into the first classification; and
training the NN with the training set, the ones of the plurality of adversarial images that the NN did not classify into the first classification, and at least one of the plurality of second adversarial images.

### Claim 24 (depends on 23)

The computer-implemented method of claim 23, comprising:
presenting the plurality of second adversarial images to the NN to classify;
determining, for each of the plurality of second adversarial images, whether the NN classified the plurality of second adversarial images into the second classification; and
training the NN with the training set, the ones of the plurality of adversarial images that the NN did not classify into the first classification, and the ones of the plurality of second adversarial images that the NN did not classify into the second classification.

### Claim 25 (depends on 21)

The computer-implemented method of claim 21, comprising minimizing a Chebyshev or L-infinity distance between the at least one image of the first group of images and the plurality of adversarial images.
