# US 2025/0094824 A1 · Federated learning with neural graphical models

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

- Number: US 2025/0094824 A1
- Document ID: US20250094824A1
- Status: Published application
- Kind: A1
- Application number: 18/370,227
- Filed: 2023-09-19
- Published: 2025-03-20
- Earliest claimed: 2023-09-19
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Harsh SHRIVASTAVA; Urszula Stefania CHAJEWSKA
- Web page: https://patentgrep.com/patent/US20250094824A1

## CPC

- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 3/047: Probabilistic or stochastic networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure relates to methods and systems that provide a federated learning framework using Neural Graphical Models. The federated learning framework combines the individual distributions learned by each client into a global model while keeping the data of each client private within each client's environment. The methods and systems allow for knowledge sharing among the clients without data sharing.

## Claims

### Claim 1

A method, comprising:
receiving, from a plurality of clients, a plurality of feature dependency graphs, wherein each client provides a feature dependency graph created using data of each client;
generating, using a merge function, a global dependency graph from the plurality of feature dependency graphs, wherein nodes in the global dependency graph contain an intersection of features of the plurality of feature dependency graphs; and
providing, to the plurality of clients, the global dependency graph.

### Claim 2 (depends on 1)

The method of claim 1, wherein the global dependency graph captures a dependency structure of input features for a domain of the data used by each client to create the plurality of feature dependency graphs without sharing the data.

### Claim 3 (depends on 2)

The method of claim 2, wherein the dependency structure identifies which features in the data are directly dependent on each other and which pairs of features in the data exhibit conditional independencies given other features.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
using, by each client of the plurality of clients, a graph recovery algorithm on the data of each client to generate the feature dependency graph with a dependency structure of the data.

### Claim 5 (depends on 1)

The method of claim 1, wherein the merge function further includes:
identifying common features of the plurality of feature dependency graphs; and
providing a union of edges among the common features in the global dependency graph.

### Claim 6 (depends on 1)

The method of claim 1, wherein the merge function maintains a size of a number of parameters of the global dependency graph of the same order of magnitude as clients' dependency graphs when combining the plurality of feature dependency graphs into the global dependency graph.

### Claim 7 (depends on 1)

The method of claim 1, wherein the data is private data to the plurality of clients.

### Claim 8

A method, comprising:
receiving, from a plurality of clients, a plurality of Neural Graphical Models, wherein each Neural Graphical Model is trained locally by a client using a global dependency graph and data of the client;
training a global Neural Graphical Model using the plurality of Neural Graphical Models and the global dependency graph, wherein the global Neural Graphical Model represents an aggregate distribution over a domain of the data used to train each Neural Graphical Model; and
providing, to the plurality of clients, the global Neural Graphical Model.

### Claim 9 (depends on 8)

The method of claim 8, wherein the global dependency graph captures a dependency structure of input features for the domain of the data used to create the dependency structure without sharing the data.

### Claim 10 (depends on 8)

The method of claim 8, wherein each client sends model parameters and a size of a dataset with a Neural Graphical Model without sharing the data used to train the Neural Graphical Model.

### Claim 11 (depends on 8)

The method of claim 8, wherein training the global Neural Graphical Model further includes:
learning an average of the distribution over input features for the domain of the data in the global dependency graph.

### Claim 12 (depends on 11)

The method of claim 11, wherein learning the average of the distribution over the features further includes:
adjusting the distribution to a weighted average of the plurality of Neural Graphical Models; and
adjusting a dependency structure of the global Neural Graphical Model to the dependency structure of the global dependency graph.

### Claim 13 (depends on 8)

The method of claim 8, wherein training the global Neural Graphical Model further includes:
leveraging publicly available data during the training.

### Claim 14 (depends on 8)

The method of claim 8, wherein each client of the plurality of clients personalizes, using an algorithm, the global Neural Graphical Model to the data of each client, wherein the algorithm adds features specific to the data of a client to the global Neural Graphical Model of the client.

### Claim 15 (depends on 8)

The method of claim 8, wherein each client of the plurality of clients uses the global Neural Graphical Model to perform inference tasks or sampling tasks on the data.

### Claim 16 (depends on 8)

The method of claim 8, wherein each client of the plurality of clients uses a personalized Neural Graphical Model to perform inference tasks or sampling tasks on the data.

### Claim 17

A device, comprising:
a memory to store data and instructions; and
a processor operable to communicate with the memory, wherein the processor is operable to:
generate, using a merge function, a global dependency graph from a plurality of feature dependency graphs received from a plurality of clients, wherein nodes in the global dependency graph contain an intersection of features of the plurality of feature dependency graphs;
provide, to the plurality of clients, the global dependency graph;
receive, from the plurality of clients, a plurality of Neural Graphical Models trained locally by a client using data from the client and the global dependency graph;
train a global Neural Graphical Model using the plurality of Neural Graphical Models and the global dependency graph, wherein the global Neural Graphical Model represents an aggregate distribution over a domain of the data used to train each Neural Graphical Model; and
provide, to the plurality of clients, the global Neural Graphical Model.

### Claim 18 (depends on 17)

The device of claim 17, wherein the global dependency graph captures a dependency structure of input features for the domain of the data used to create the dependency structure without sharing the data, and
wherein each client sends model parameters and a size of a dataset with a Neural Graphical Model without sharing the data used to train the Neural Graphical Model.

### Claim 19 (depends on 17)

The device of claim 17, wherein the processor is further operable to train the global Neural Graphical Model by learning an average of the distribution over a dependency structure of input features for the domain of the data in the global dependency graph.

### Claim 20 (depends on 17)

The device of claim 17, wherein each client of the plurality of clients personalizes, using an algorithm, the global Neural Graphical Model to the data of each client, wherein the algorithm adds features specific to the data of a client to the global Neural Graphical Model of the client.
