# US 2025/0104386 A1 · Watermark as honeypot for adversarial defense

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

- Number: US 2025/0104386 A1
- Document ID: US20250104386A1
- Status: Published application
- Kind: A1
- Application number: 18/822,724
- Filed: 2024-09-03
- Published: 2025-03-27
- Earliest claimed: 2020-05-29
- Assignees: Paypal, Inc.
- Applicants: PayPal, Inc.
- Inventors: Jiyi Zhang
- Web page: https://patentgrep.com/patent/US20250104386A1

## CPC

- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 21/1063: {Personalisation}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/09: Supervised learning
- G06T 1/005: {Robust watermarking, e.g. average attack or collusion attack resistant}
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06T 2201/0063: in relation to collusion attacks, e.g. collusion attack resistant
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Systems, methods, and computer program products for determining an attack on a neural network. A data sample is received at a first classifier neural network and at a watermark classifier neural network, wherein the first classifier neural network is trained using a first dataset and a watermark dataset. The first classifier neural network determines a classification label for the data sample. A watermark classifier neural network determines a watermark classification label for the data sample. A data sample is determined as an adversarial data sample based on the classification label for the data sample and the watermark classification label for the data sample.

## Claims

### Claim 1

(canceled)

### Claim 2

A system comprising:
one or more memories configured to store a generator neural network and a classifier neural network; and
a processor coupled to the one or more memories and configured to read instructions from the one or more memories to cause the instructions to perform operations comprising:
determining a latent vector from a multi-variable gaussian distribution;
generating, using the generator neural network, a watermark from the latent vector; and
classifying, using the classifier neural network, the watermark into a classification label from classification labels.

### Claim 3 (depends on 2)

The system of claim 2, wherein to classify the watermark the operations further comprise:
receiving the watermark at the classifier neural network, wherein the classifier neural network includes convolutional layers and fully connected layers;
generating, using the convolutional layers of the classifier neural network, a feature map from the watermark; and
classifying, using the fully connected layers of the classifier neural network, the feature map into the classification label.

### Claim 4 (depends on 2)

The system of claim 2, wherein to determine the latent vector the operations further comprise:
determining the latent vector from the multi-variable gaussian distribution in a set of non-overlapping multi-variable gaussian distributions, wherein multi-variable gaussian distributions correspond to watermarks.

### Claim 5 (depends on 2)

The system of claim 2, wherein the classification label is a class identifier that corresponds to the latent vector.

### Claim 6 (depends on 2)

The system of claim 2, wherein to generate the watermark the operations further comprise:
passing the latent vector through deconvolutional layers of the generator neural network, wherein each of the deconvolutional layers comprises different dimensions.

### Claim 7 (depends on 2)

The system of claim 2, wherein the operations further comprise incorporating the watermark into an image.

### Claim 8 (depends on 2)

The system of claim 2, wherein the operations further comprise:
receiving, at the classifier neural network, a data sample from a dataset, wherein the dataset does not include watermarks; and
classifying, using the classifier neural network, the data sample into a second classification label from the classification labels.

### Claim 9 (depends on 8)

The system of claim 8, wherein the operations further comprise:
modifying weights of one of the convolutional layers or the fully connected layers of the classifier neural network based on the classification label or the second classification label.

### Claim 10 (depends on 8)

The system of claim 8, wherein the operations further comprise:
modifying weights of one of deconvolution layers of the generator neural network based on the classification label or the second classification label.

### Claim 11

A non-transitory machine-readable medium having stored thereon machine-readable instructions executable to cause a machine to perform operations comprising:
determining a latent vector from a one of a plurality of multi-variable gaussian distributions;
generating, using a generator neural network, a watermark from the latent vector; and
classifying, using a classifier neural network, the watermark into a classification label from classification labels.

### Claim 12 (depends on 11)

The non-transitory machine-readable medium of claim 11, wherein to classify the watermark the operations further comprise:
receiving the watermark at the classifier neural network, wherein the classifier neural network includes a plurality of layers;
generating, using a first subset of the plurality of layers of the classifier neural network, a feature map from the watermark; and
classifying, using a second subset of the plurality of layers connected to the first subset of the plurality of layers, the feature map into the classification label.

### Claim 13 (depends on 11)

The non-transitory machine-readable medium of claim 11, wherein the classification label is a class identifier that corresponds to the latent vector.

### Claim 14 (depends on 11)

The non-transitory machine-readable medium of claim 11, wherein to generate the watermark the operations further comprise:
passing the latent vector through deconvolutional layers of the generator neural network, wherein the deconvolutional layers comprises different dimensions.

### Claim 15 (depends on 11)

The non-transitory machine-readable medium of claim 11, wherein the operations further comprise incorporating the watermark into an image.

### Claim 16 (depends on 11)

The non-transitory machine-readable medium of claim 11, wherein the operations further comprise:
receiving, at the classifier neural network, an image from a dataset, wherein the dataset does not include watermarks; and
classifying, using the classifier neural network, the image into a second classification label from the classification labels.

### Claim 17 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the operations further comprise:
modifying weights of one of the plurality of layers of the classifier neural network based on the classification label or the second classification label.

### Claim 18 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein the operations further comprise:
modifying weights of one of deconvolution layers of the generator neural network based on the classification label or the second classification label.

### Claim 19

A method comprising:
determining a latent vector from one of multi-variable gaussian distributions, wherein each multi-variable gaussian distribution corresponds to a different latent vector;
generating, using a generator neural network, a watermark from the latent vector; and
classifying, using a classifier neural network, the watermark into a classification label from classification labels.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
receiving the watermark at the classifier neural network, wherein the classifier neural network includes convolutional layers and fully connected layers;
generating, using the convolutional layers of the classifier neural network, a feature map from the watermark; and
classifying, using the fully connected layers of the classifier neural network, the feature map into the classification label.

### Claim 21 (depends on 19)

The method of claim 19, wherein to classify the watermark the operations further comprise:
modifying weights of layers of the generator neural network based on the classification label; and
modifying weights of layers of the classifier neural network based on the classification label.
