# US 2024/0005651 A1 · Adversarial detection using discriminator model of generative adversarial network architecture

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

- Number: US 2024/0005651 A1
- Document ID: US20240005651A1
- Status: Published application
- Kind: A1
- Application number: 18/135,046
- Filed: 2023-04-14
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Intuit Inc.
- Applicants: Intuit Inc.
- Inventors: Miriam Hanna Manevitz; Aviv Ben Arie
- Web page: https://patentgrep.com/patent/US20240005651A1

## CPC

- G06V 10/82: using neural networks
- G06N 3/045: Combinations of networks
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method includes training, using first real data objects, a generative adversarial network having a generator model and a discriminator model to create a trained generator model that generates realistic data, and training, using adversarial data objects and second real data objects, the discriminator model to output an authenticity binary class for the adversarial data objects and the second real data objects. The method further includes deploying the discriminator model to a production system. In the production system, the discriminator model outputs the authenticity binary class to a system classifier model.

## Claims

### Claim 1

A method comprising:
performing a first training, using a first plurality of real data objects, a generative adversarial network having a generator model and a discriminator model to create a trained generator model that generates realistic data, wherein the performing the first training trains both the generator model and the discriminator model;
performing a second training, using a plurality of adversarial data objects and a second plurality of real data objects, of the discriminator model to output an authenticity binary class for the plurality of adversarial data objects and the second plurality of real data objects, wherein the second training is distinct from the first training; and
deploying the discriminator model to a production system,
wherein, in the production system, the discriminator model outputs the authenticity binary class of an unknown data object to a system classifier model, wherein the system classifier model is separate from the discriminator model.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of adversarial data objects are data objects that are used in real system attacks to a production system.

### Claim 3 (depends on 1)

The method of claim 1, wherein training the generative adversarial network comprises:
producing, by the generator model, a plurality of generated data objects from a plurality of random input vectors;
classifying, the discriminator model, the plurality of generated data objects and the first plurality of real data objects to obtain a predicted authenticity binary class for each of the plurality of generated data objects and the first plurality of real data objects;
executing a discriminator loss function using the predicted authenticity binary class to obtain a discriminator loss; and
updating the discriminator model using the discriminator loss.

### Claim 4 (depends on 3)

The method of claim 3, wherein training the generative adversarial network further comprises:
executing a generator loss function using the predicted authenticity binary class to obtain a generator loss; and
updating the generator model using the generator loss.

### Claim 5 (depends on 1)

The method of claim 1, wherein training the discriminator model comprises:
classifying, by the discriminator model, the plurality of adversarial data objects and the second plurality of real data objects to obtain a predicted authenticity binary class for each of the plurality of adversarial data objects and the second plurality of real data objects;
executing a fine tuning discriminator loss function on the predicted authenticity binary class for each of the plurality of adversarial data objects and the second plurality of real data objects to obtain a discriminator loss; and
updating the discriminator model using the discriminator loss.

### Claim 6 (depends on 1)

The method of claim 1, wherein the discriminator model is a convolutional neural network, and wherein the plurality of adversarial data objects and the first plurality of real data objects, and the second plurality of real data objects are images.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
training the system classifier model to classify contents in an unknown data object.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
training the system classifier model to output a location of contents in an unknown data object.

### Claim 9 (depends on 1)

The method of claim 1, wherein the plurality of adversarial data objects comprises historical data objects from known attacks.

### Claim 10

A system comprising:
a generative adversarial network comprising a generator model and a discriminator model, the generative adversarial network is trained in a first training, using a first plurality of real data objects, to create a trained generator model that generates realistic data, wherein the first training trains both the generator model and the discriminator model; and
a discriminator model fine tuning training system comprising the discriminator model and configured to train in a second training, using a plurality of adversarial data objects and a second plurality of real data objects, the discriminator model to output an authenticity binary class for the plurality of adversarial data objects and the second plurality of real data objects, wherein the second training is distinct from the first training,
wherein the system is configured to deploy the discriminator model to a production system, and
wherein, in the production system, the discriminator model outputs the authenticity binary class of an unknown data object to a system classifier model, wherein the system classifier model is separate from the discriminator model.

### Claim 11 (depends on 10)

The system of claim 10, wherein the plurality of adversarial data objects are data objects that are used in real system attacks to a production system.

### Claim 12 (depends on 10)

The system of claim 10, wherein training the generative adversarial network comprises:
producing, by the generator model, a plurality of generated data objects from a plurality of random input vectors;
classifying, the discriminator model, the plurality of generated data objects and the first plurality of real data objects to obtain a predicted authenticity binary class for each of the plurality of generated data objects and the first plurality of real data objects;
executing a discriminator loss function using the predicted authenticity binary class to obtain a discriminator loss; and
updating the discriminator model using the discriminator loss.

### Claim 13 (depends on 12)

The system of claim 12, wherein training the generative adversarial network comprises:
executing a generator loss function using the predicted authenticity binary class to obtain a generator loss; and
updating the generator model using the generator loss.

### Claim 14 (depends on 10)

The system of claim 10, wherein training the discriminator model comprises:
classifying, by the discriminator model, the plurality of adversarial data objects and the second plurality of real data objects to obtain a predicted authenticity binary class for each of the plurality of adversarial data objects and the second plurality of real data objects;
executing a fine tuning discriminator loss function on the predicted authenticity binary class for each of the plurality of adversarial data objects and the second plurality of real data objects to obtain a discriminator loss;
updating the discriminator model using the discriminator loss.

### Claim 15 (depends on 10)

The system of claim 10, wherein the discriminator model is a convolutional neural network, and wherein the plurality of adversarial data objects and the first plurality of real data objects, and the second plurality of real data objects are images.

### Claim 16

A method comprising:
performing a first training, using a first plurality of real data objects, a generative adversarial network having a generator model and a discriminator model to create a trained generator model that generates realistic data, wherein the performing the first training trains both the generator model and the discriminator model by using the generator model to generate a plurality of generated data objects, and trains the discriminator model to distinguish between the plurality of generated data objects and the first plurality of real data objects;
performing a second training, using a plurality of adversarial data objects and a second plurality of real data objects, the discriminator model to output an authenticity binary class for the plurality of adversarial data objects and the second plurality of real data objects, wherein the second training is distinct from the first training;
processing, by the discriminator model, an unknown data object to generate the authenticity binary class for the unknown data object, wherein the system classifier model is separate from the discriminator model;
processing, by a system classifier model connected to the discriminator model, the unknown data object and the authenticity binary class to generate an output; and
presenting the output.

### Claim 17 (depends on 16)

The method of claim 16, wherein training the generative adversarial network comprises:
producing, by the generator model, a plurality of generated data objects from a plurality of random input vectors;
classifying, the discriminator model, the plurality of generated data objects and the first plurality of real data objects to obtain a predicted authenticity binary class for each of the plurality of generated data objects and the first plurality of real data objects;
executing a discriminator loss function using the predicted authenticity binary class to obtain a discriminator loss; and
updating the discriminator model using the discriminator loss.

### Claim 18 (depends on 17)

The method of claim 17, wherein training the generative adversarial network further comprises:
executing a generator loss function using the predicted authenticity binary class to obtain a generator loss; and
updating the generator model using the generator loss.

### Claim 19 (depends on 17)

The method of claim 17, wherein training the discriminator model comprises:
classifying, by the discriminator model, the plurality of adversarial data objects and the second plurality of real data objects to obtain a predicted authenticity binary class for each of the plurality of adversarial data objects and the second plurality of real data objects;
executing a fine tuning discriminator loss function on the predicted authenticity binary class for each of the plurality of adversarial data objects and the second plurality of real data objects to obtain a discriminator loss;
updating the discriminator model using the discriminator loss.

### Claim 20 (depends on 16)

The method of claim 16, wherein the discriminator model is a convolutional neural network, and wherein the plurality of adversarial data objects and the first plurality of real data objects, and the second plurality of real data objects are images.
