# US 2025/0384086 A1 · Federated louvain algorithm based on secret sharing technology

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

- Number: US 2025/0384086 A1
- Document ID: US20250384086A1
- Status: Published application
- Kind: A1
- Application number: 19/236,686
- Filed: 2025-06-12
- Published: 2025-12-18
- Earliest claimed: 2024-06-14
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Xing Wu; Chuyuan Chen; Li Wang; Qiang Yan
- Web page: https://patentgrep.com/patent/US20250384086A1

## CPC

- H04L 63/104: {Grouping of entities}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 17/17: Function evaluation by approximation methods, e.g. inter- or extrapolation, smoothing, least mean square method ({G06F17/18 takes precedence } ; interpolation for numerical control G05B19/18)
- G06Q 10/48: using social graphs
- G06Q 30/0202: Market predictions or forecasting for commercial activities
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A computer-implemented method includes accessing, by one of more devices of a first region, an input graph comprising a plurality of nodes and a plurality of edges, each edge connecting two nodes from the plurality of nodes, where each node represents one or more users from the first region. For each node and using a secret sharing protocol: 1) one or more modularity gains for moving the node from an original community into one or more respective candidate communities is calculated and 2) an identified direction for moving the node based on the one or more modularity gains is calculated. The input graph is partitioned into a plurality of communities based on moving each node in the respective identified direction. If a determination is made that a threshold condition has been satisfied, an output graph is generated for the plurality of communities.

## Claims

### Claim 1

A computer-implemented method comprising:
accessing, by one of more devices of a first region, data encoding an input graph comprising a plurality of nodes and a plurality of edges, each edge connecting two nodes from the plurality of nodes, wherein each node represents one or more users from the first region on an online platform;
calculating, for each node and using a secret sharing protocol in conjunction with one or more devices of a second region, one or more modularity gains for moving the node from an original community into one or more respective candidate communities;
generating, for each node and using the secret sharing protocol in conjunction with the one or more devices of the second region, an identified direction for moving the node based on the one or more modularity gains;
partitioning the input graph into a plurality of communities based on moving each node in the respective identified direction;
determining a threshold condition has been satisfied; and
in response to determining the threshold condition has been satisfied, generating an output graph for the plurality of communities.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the identified direction for moving each node is associated with a maximal modularity gain among the one or more modularity gains.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein moving each node in the identified direction results in a positive modularity gain.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein a modularity gain quantifies a density of connections within a community.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
in response to determining that the threshold condition has not been satisfied, launching a new iteration for partitioning the input graph by moving each node in the input graph based on newly calculated modularity gains using the secret sharing protocol in conjunction with the one or more devices of the second region.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the threshold condition comprises one of: a maximum number of iterations, or whether the nodes of the input graph have not been updated for a pre-determined duration of time.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising at least one of:
merging two or more cross-regional nodes into a meta node of a cross-regional community; and
merging two or more cross-regional edges into a metal edge for the cross-regional community.

### Claim 8

One or more computer-readable storage media encoded with instructions that, when executed by one or more computers from a first region, cause the one or more computers to perform operations comprising:
accessing data encoding an input graph comprising a plurality of nodes and a plurality of edges, each edge connecting two nodes from the plurality of nodes, wherein each node represents one or more users from the first region on an online platform;
calculating, for each node and using a secret sharing protocol in conjunction with one or more devices of a second region, one or more modularity gains for moving the node from an original community into one or more respective candidate communities;
generating, for each node and using the secret sharing protocol with the one or more devices of the second region, an identified direction for moving the node based on the one or more modularity gains;
partitioning the input graph into a plurality of communities based on moving each node in the respective identified direction;
determining a threshold condition has been satisfied; and
in response to determining the threshold condition has been satisfied, generating an output graph for the plurality of communities.

### Claim 9 (depends on 8)

The one or more computer-readable storage media of claim 8, wherein the identified direction for moving each node is associated with a maximal modularity gain from among the one or more modularity gains.

### Claim 10 (depends on 8)

The one or more computer-readable storage media of claim 8, wherein the identified direction for moving each node results in a positive modularity gain.

### Claim 11 (depends on 8)

The one or more computer-readable storage media of claim 8, wherein a modularity gain quantifies a density of connections within a community.

### Claim 12 (depends on 8)

The one or more computer-readable storage media of claim 8, further comprising:
in response to determining that the threshold condition has not been satisfied, launching a new iteration for partitioning the input graph by moving each node in the input graph based on newly calculated modularity gains using the secret sharing protocol in conjunction with the one or more devices of the second region.

### Claim 13 (depends on 8)

The one or more computer-readable storage media of claim 8, wherein the threshold condition comprises one of: a maximum number of iterations, or whether the nodes of the input graph have not been updated for a pre-determined duration of time.

### Claim 14 (depends on 8)

The one or more computer-readable storage media of claim 8, wherein the operations further comprise at least one of:
merging two or more cross-regional nodes into a meta node of a cross-regional community; and
merging two or more cross-regional edges into a metal edge for the cross-regional community.

### Claim 15

A computer system comprising one or more computer processors located in a first region and configured to perform operations comprising:
accessing data encoding an input graph comprising a plurality of nodes and a plurality of edges, each edge connecting two nodes from the plurality of nodes, wherein each node represents one or more users from the first region on an online platform;
calculating, for each node and using a secret sharing protocol in conjunction with one or more devices of a second region, one or more modularity gains for moving the node from an original community into one or more respective candidate communities;
generating, for each node and using the secret sharing protocol with the one or more devices of the second region, an identified direction for moving the node based on the one or more modularity gains;
partitioning the input graph into a plurality of communities based on moving each node in the respective identified direction;
determining a threshold condition has been satisfied; and
in response to determining the threshold condition has been satisfied, generating an output graph for the plurality of communities.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein the identified direction for moving each node is associated with a maximal modularity gain from among the one or more modularity gains.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the identified direction for moving each node results in a positive modularity gain.

### Claim 18 (depends on 15)

The computer system of claim 15, wherein a modularity gain quantifies a density of connections within a community.

### Claim 19 (depends on 15)

The computer system of claim 15, wherein the operations further comprise:
in response to determining that the threshold condition has not been satisfied, launching a new iteration for partitioning the input graph by moving each node in the input graph based on newly calculated modularity gains using the secret sharing protocol in conjunction with the one or more devices of the second region.

### Claim 20 (depends on 15)

The computer system of claim 15, wherein the threshold condition comprises one of: a maximum number of iterations, or whether the nodes of the input graph have not been updated for a pre-determined duration of time, and
wherein the operations further comprise at least one of:
merging two or more cross-regional nodes into a meta node of a cross-regional community; and
merging two or more cross-regional edges into a metal edge for the cross-regional community.
