# US 2023/0066545 A1 · Training User-Level Differentially Private Machine-Learned Models

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

- Number: US 2023/0066545 A1
- Document ID: US20230066545A1
- Status: Published application
- Kind: A1
- Application number: 17/964,563
- Filed: 2022-10-12
- Published: 2023-03-02
- Earliest claimed: 2018-01-22
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Hugh Brendan McMahan; Kunal Talwar; Li Zhang; Daniel Ramage
- Web page: https://patentgrep.com/patent/US20230066545A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/24: Classification techniques
- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/063: using electronic means
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 20/00: Machine learning
- H04L 63/00: {Network architectures or network communication protocols for network security (cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00; network architectures or network communication protocols for wireless network security H04W12/00; security arrangements for protecting computers or computer systems against unauthorised activity G06F21/00)}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06V 10/82: using neural networks
- G06V 10/95: {structured as a network, e.g. client-server architectures}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Systems and methods for learning differentially private machine-learned models are provided. A computing system can include one or more server computing devices comprising one or more processors and one or more non-transitory computer-readable media that collectively store instructions that, when executed by the one or more processors cause the one or more server computing devices to perform operations. The operations can include selecting a subset of client computing devices from a pool of available client computing devices; providing a machine-learned model to the selected client computing devices; receiving, from each selected client computing device, a local update for the machine-learned model; determining a differentially private aggregate of the local updates; and determining an updated machine-learned model based at least in part on the data-weighted average of the local updates.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A computing system, comprising:
one or more processors; and
one or more non-transitory computer-readable media that collectively store instructions that are executable by the one or more processors to cause the computing system to perform operations, the operations comprising:
receiving, from one or more client computing devices from a pool of available client computing devices, a local update for a machine-learned model;
determining a differentially private aggregate of the local updates, wherein the differentially private aggregate satisfies a differential privacy metric such that a sensitivity of the aggregate to data from any one client is bounded;
determining an updated machine-learned model based at least in part on the differentially private aggregate of the local updates; and
transmitting, through a network interface, one or more model parameters of the updated machine-learned model for delivery to one or more of the available client computing devices, wherein a sensitivity of the transmitted one or more model parameters to the data from any one client is bounded.

### Claim 22 (depends on 21)

The computing system of claim 21, wherein the differentially private aggregate comprises a noise component.

### Claim 23 (depends on 22)

The computing system of claim 22, wherein the noise component is independent and identically distributed.

### Claim 24 (depends on 22)

The computing system of claim 22, wherein the noise component is determined based at least in part on a total privacy cost over a plurality of update steps.

### Claim 25 (depends on 24)

The computing system of claim 24, wherein a respective step of the plurality of update steps comprises selecting the one or more client computing devices from the pool of available client computing devices.

### Claim 26 (depends on 21)

The computing system of claim 21, wherein the operations comprise:
receiving, from at least one client device, an indication of an election to participate in the pool of available client computing devices; and
adding the at least one client device to the pool of available client devices.

### Claim 27 (depends on 21)

The computing system of claim 21, wherein the operations comprise:
receiving, from at least one client device, an indication of an election not to participate in the pool of available client computing devices; and
removing the at least one client device from the pool of available client devices.

### Claim 28

One or more non-transitory computer-readable media that collectively store instructions that are executable by one or more processors to cause a computing system to perform operations, the operations comprising:
receiving, from one or more client computing devices from a pool of available client computing devices, a local update for a machine-learned model;
determining a differentially private aggregate of the local updates, wherein the differentially private aggregate satisfies a differential privacy metric such that a sensitivity of the aggregate to data from any one client is bounded;
determining an updated machine-learned model based at least in part on the differentially private aggregate of the local updates; and
transmitting, through a network interface, one or more model parameters of the updated machine-learned model for delivery to one or more of the available client computing devices, wherein a sensitivity of the transmitted one or more model parameters to the data from any one client is bounded.

### Claim 29 (depends on 28)

The one or more non-transitory computer-readable media of claim 28, wherein the differentially private aggregate comprises a noise component.

### Claim 30 (depends on 29)

The one or more non-transitory computer-readable media of claim 29, wherein the noise component is independent and identically distributed.

### Claim 31 (depends on 29)

The one or more non-transitory computer-readable media of claim 29, wherein the noise component is determined based at least in part on a total privacy cost over a plurality of update steps.

### Claim 32 (depends on 31)

The one or more non-transitory computer-readable media of claim 31, wherein a respective step of the plurality of update steps comprises selecting the one or more client computing devices from the pool of available client computing devices.

### Claim 33 (depends on 28)

The one or more non-transitory computer-readable media of claim 28, wherein the operations comprise:
receiving, from at least one client device, an indication of an election to participate in the pool of available client computing devices; and
adding the at least one client device to the pool of available client devices.

### Claim 34 (depends on 28)

The one or more non-transitory computer-readable media of claim 28, wherein the operations comprise:
receiving, from at least one client device, an indication of an election not to participate in the pool of available client computing devices; and
removing the at least one client device from the pool of available client devices.

### Claim 35

A method comprising:
receiving, by a computing system comprising one or more processors, from one or more client computing devices from a pool of available client computing devices, a local update for a machine-learned model;
determining, by the computing system, a differentially private aggregate of the local updates, wherein the differentially private aggregate satisfies a differential privacy metric such that a sensitivity of the aggregate to data from any one client is bounded;
determining, by the computing system, an updated machine-learned model based at least in part on the differentially private aggregate of the local updates; and
transmitting, by the computing system and through a network interface, one or more model parameters of the updated machine-learned model for delivery to one or more of the available client computing devices, wherein a sensitivity of the transmitted one or more model parameters to the data from any one client is bounded.

### Claim 36 (depends on 35)

The method of claim 35, wherein the differentially private aggregate comprises a noise component.

### Claim 37 (depends on 36)

The method of claim 36, wherein the noise component is independent and identically distributed.

### Claim 38 (depends on 36)

The method of claim 36, wherein the noise component is determined based at least in part on a total privacy cost over a plurality of update steps.

### Claim 39 (depends on 35)

The method of claim 35, comprising:
receiving, by the computing system and from at least one client device, an indication of an election to participate in the pool of available client computing devices; and
adding, by the computing system, the at least one client device to the pool of available client devices.

### Claim 40 (depends on 35)

The method of claim 35, comprising:
receiving, by the computing system and from at least one client device, an indication of an election not to participate in the pool of available client computing devices; and
removing, by the computing system, the at least one client device from the pool of available client devices.
