# US 2025/0094571 A1 · Generative adversarial-based attack in federated learning

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

- Number: US 2025/0094571 A1
- Document ID: US20250094571A1
- Status: Published application
- Kind: A1
- Application number: 18/293,517
- Filed: 2022-08-03
- Published: 2025-03-20
- Earliest claimed: 2021-08-06
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Jalil TAGHIA; Matteo DEMARTIS; Konstantinos VANDIKAS; Selim ICKIN
- Web page: https://patentgrep.com/patent/US20250094571A1

## CPC

- G06F 21/554: {involving event detection and direct action}
- G06N 3/063: using electronic means
- G06N 3/0475: Generative networks
- G06N 3/094: Adversarial learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06F 2221/034: Test or assess a computer or a system
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method performed by a client node is provided for generating a generative adversarial network (GAN)-based attack for disruption of a global federated learning model. The method includes setting an attack strength factor to a value; and training the GAN using the attack strength factor and an initial adversarial dataset to obtain a malicious weight matrix. The initial adversarial dataset is generated from or by initial weights matrix received from a network node of the global federated learning model and initial malicious weights derived from an initial attack on the global federated learning model that used a deterministic attack to obtain the malicious weight matrix. The method further includes generating the GAN-based attack including an updated malicious weight matrix; and sending the updated malicious weight matrix to the network node.

## Claims

### Claim 1

A method performed by a client node for generating a generative adversarial network (GAN)-based attack for disruption of a global federated learning model, the method comprising:
setting an attack strength factor to a value;
training the GAN using the attack strength factor and an initial adversarial dataset to obtain a malicious weight matrix, the initial adversarial dataset generated from or by initial weights matrix received from a network node of the global federated learning model and initial malicious weights derived from an initial attack on the global federated learning model that used a deterministic attack to obtain the malicious weight matrix;
generating the GAN-based attack comprising an updated malicious weight matrix; and
sending the updated malicious weight matrix to the network node.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
updating the initial adversarial dataset with the updated malicious weight matrix.

### Claim 3 (depends on 1)

The method of claim 1, wherein the deterministic attack comprises an explicit boosting.

### Claim 4 (depends on 1)

The method of claim 1, further comprising repeating the setting, the training, the generating, and the sending.

### Claim 5 (depends on 1)

The method of claim 1, wherein the GAN comprises a discriminator network and a generator network, and wherein the training comprises (i) generating a discriminator loss with the discriminator network based on a number of elements in the initial adversarial dataset, the updated malicious weight matrix, and a weight received from the network node, and (ii) generating a generator loss with the discriminator network based on the number of elements in the initial adversarial dataset, the attack strength factor, and a reconstruction loss of the generator network for the updated malicious weight matrix.

### Claim 6 (depends on 2)

The method of claim 2, wherein the updating comprises at least one of (i) updating the initial adversarial dataset at a defined round in the training; and (ii) computing an accuracy on a local dataset of the client node comprising the updated malicious weight matrix to check whether a prior updated malicious weight matrix increased the accuracy of the local dataset, adding the prior updated malicious weight matrix when the accuracy increased, and removing an oldest update from the updated adversarial database.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
tuning the attack strength factor to another value based on an acceptance rate of the network node of the updated malicious weight matrix.

### Claim 8

A client node comprising a generative adversarial network (GAN) for generating a GAN-based attack for disruption of a global federated learning model, the client node comprising:
at least one processor;
at least one memory connected to the at least one processor and storing program code that is executed by the at least one processor to perform operations comprising:
set an attack strength factor to a value;
train the GAN using the attack strength factor and an initial adversarial dataset to obtain a malicious weight matrix, the initial adversarial dataset generated from or by initial weights matrix received from a network node of the global federated learning model and initial malicious weights derived from an initial attack on the global federated learning model that used a deterministic attack to obtain the malicious weight matrix;
generate the GAN-based attack comprising an updated malicious weight matrix; and
send the updated malicious weight matrix to the network node.

### Claim 9 (depends on 8)

The client node of claim 8, wherein the at least one memory connected to the at least one processor and stores program code that is executed by the at least one processor to perform further operations comprising:
update the initial adversarial dataset with the updated malicious weight matrix.

### Claim at position 10

-15. (canceled)

### Claim 16

A method performed by a network node for defending against a generative adversarial network (GAN)-based attack on a global federated learning model, the method comprising:
receiving an updated weight matrix from a client node of the global federated learning model, the updated weight matrix generated by the GAN;
passing the updated weight matrix through a weight statistics filter having a variable weight statistics threshold that adapts during training of the global federated learning model; and
identifying the updated weight matrix as a benign update or a malicious update based on a value of the variable weight statistics threshold.

### Claim 17 (depends on 16)

The method of claim 16, wherein the variable weight statistics threshold is set to an initial value, and wherein the increase to the variable weight statistics threshold is increased according to a scheduling rule.

### Claim 18 (depends on 16)

The method of claim 16, wherein the variable weight statistics threshold is set to an initial value, and wherein the increase to the variable weight statistics threshold is increased based on a learning of the master node that a value of the weight statistics threshold either successfully identified the updated weight as benign or failed to identify the updated weight as malicious.

### Claim 19

A network node for defending against a generative adversarial network (GAN)-based attack on a global federated learning model, the network node comprising:
at least one processor;
at least one memory connected to the at least one processor and storing program code that is executed by the at least one processor to perform operations comprising:
receive an updated weight matrix from a client node of the global federated learning model, the updated weight matrix generated by the GAN;
pass the updated weight matrix through a weight statistics filter having a variable weight statistics threshold that adapts during training of the global federated learning model; and
identify the updated weight matrix as a benign update or a malicious update based on a value of the variable weight statistics threshold.

### Claim 20 (depends on 19)

The network node of claim 19, wherein the variable weight statistics threshold is set to an initial value, and wherein the increase to the variable weight statistics threshold is increased according to a scheduling rule.

### Claim at position 16

-26. (canceled)

### Claim 27 (depends on 8)

The client node of claim 8, wherein the deterministic attack comprises an explicit boosting.

### Claim 28 (depends on 8)

The client node of claim 8, wherein the at least one memory connected to the at least one processor and stores program code that is executed by the at least one processor to perform further operations comprising: repeating the setting, the training, the generating, and the sending.

### Claim 29 (depends on 8)

The client node of claim 8, wherein the GAN comprises a discriminator network and a generator network, and wherein the training comprises (i) generate a discriminator loss with the discriminator network based on a number of elements in the initial adversarial dataset, the updated malicious weight matrix, and a weight received from the network node, and (ii) generate a generator loss with the discriminator network based on the number of elements in the initial adversarial dataset, the attack strength factor, and a reconstruction loss of the generator network for the updated malicious weight matrix.

### Claim 30 (depends on 9)

The client node of claim 9, wherein the update comprises at least one of (i) update the initial adversarial dataset at a defined round in the training; and (ii) compute an accuracy on a local dataset of the client node comprising the updated malicious weight matrix to check whether a prior updated malicious weight matrix increased the accuracy of the local dataset, adding the prior updated malicious weight matrix when the accuracy increased, and removing an oldest update from the updated adversarial database.

### Claim 31 (depends on 8)

The client node of claim 8, wherein the at least one memory connected to the at least one processor and stores program code that is executed by the at least one processor to perform further operations comprising:
tune the attack strength factor to another value based on an acceptance rate of the network node of the updated malicious weight matrix.

### Claim 32 (depends on 19)

The network node of claim 19, wherein the variable weight statistics threshold is set to an initial value, and wherein the increase to the variable weight statistics threshold is increased based on a learning of the master node that a value of the weight statistics threshold either successfully identified the updated weight as benign or failed to identify the updated weight as malicious.
