# US 2025/0148013 A1 · Label propagation in a distributed system

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

- Number: US 2025/0148013 A1
- Document ID: US20250148013A1
- Status: Published application
- Kind: A1
- Application number: 19/016,262
- Filed: 2025-01-10
- Published: 2025-05-08
- Earliest claimed: 2011-04-20
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Matthew H. Austern; James C. Dehnert; Aart J.c. Bik; Grzegorz J. Czajkowski; Grzegorz Malewicz
- Web page: https://patentgrep.com/patent/US20250148013A1

## CPC

- G06F 9/46: Multiprogramming arrangements
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Data are maintained in a distributed computing system that describe a graph. The graph represents relationships among items. The graph has a plurality of vertices that represent the items and a plurality of edges connecting the plurality of vertices. At least one vertex of the plurality of vertices includes a set of label values indicating the at least one vertex's strength of association with a label from a set of labels. The set of labels describe possible characteristics of an item represented by the at least one vertex. At least one edge of the plurality of edges includes a set of label weights for influencing label values that traverse the at least one edge. A label propagation algorithm is executed for a plurality of the vertices in the graph in parallel for a series of synchronized iterations to propagate labels through the graph.

## Claims

### Claim 1

A computer-implemented method executed on data processing hardware that causes the data processing hardware to perform operations comprising:
obtaining graph data from a distributed computing system, the graph data representing a graph comprising a plurality of vertices connected by a plurality of edges representing relationships among the plurality of vertices, each respective vertex of the plurality of vertices comprising a set of label values indicating a strength of association between the respective vertex and a set of labels, each respective edge comprising a set of label weights for influencing label values traversing the respective edge; and
executing a label propagation algorithm for the plurality of vertices in the graph for a series of iterations to propagate labels through the graph,
wherein, for a respective iteration of the series of iterations at a respective vertex of the plurality of vertices, executing the label propagation algorithm comprises:
receiving an incoming message comprising a weighted label value;
updating a respective label value in the set of label values based on the weighted label value;
determining that the set of label values has converged; and
based on determining that the set of label values has converged, terminating execution of the label propagation algorithm.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the operations further comprise sending an outgoing message to a respective target vertex of the plurality of vertices, the outgoing message comprising the updated label value.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein sending the outgoing message occurs during the respective iteration of the series of iterations, and wherein the operations further comprise:
sending an iteration message to a coordinating system indicating that the respective vertex has completed the respective iteration of the series of iterations; and
receiving a signal to begin a subsequent iteration of the series of iterations.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein the operations further comprise:
maintaining, using a message module, a message queue for the plurality of vertices; and
determining that the message queue satisfies a threshold size,
wherein sending the outgoing message to the respective target vertex comprises sending the outgoing message based on determining that the message queue satisfies the threshold size.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein each respective edge further comprises a directed edge.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the directed edge defines a communication direction from a source vertex to a target vertex.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the graph represents at least one of:
a social graph;
a computer network topology; or
transportation routes in a geographic map.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein each respective edge further comprises a target vertex identifier.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the graph data representing the graph comprises one or more graph partitions.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein each respective graph partition is assigned to a corresponding worker system.

### Claim 11

A system comprising:
data processing hardware; and
memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising:
obtaining graph data from a distributed computing system, the graph data representing a graph comprising a plurality of vertices connected by a plurality of edges representing relationships among the plurality of vertices, each respective vertex of the plurality of vertices comprising a set of label values indicating a strength of association between the respective vertex and a set of labels, each respective edge comprising a set of label weights for influencing label values traversing the respective edge; and
executing a label propagation algorithm for the plurality of vertices in the graph for a series of iterations to propagate labels through the graph,
wherein, for a respective iteration of the series of iterations at a respective vertex of the plurality of vertices, executing the label propagation algorithm comprises:
receiving an incoming message comprising a weighted label value;
updating a respective label value in the set of label values based on the weighted label value;
determining that the set of label values has converged; and
based on determining that the set of label values has converged, terminating execution of the label propagation algorithm.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operations further comprise sending an outgoing message to a respective target vertex of the plurality of vertices, the outgoing message comprising the updated label value.

### Claim 13 (depends on 12)

The system of claim 12, wherein sending the outgoing message occurs during the respective iteration of the series of iterations, and wherein the operations further comprise:
sending an iteration message to a coordinating system indicating that the respective vertex has completed the respective iteration of the series of iterations; and
receiving a signal to begin a subsequent iteration of the series of iterations.

### Claim 14 (depends on 12)

The system of claim 12, wherein the operations further comprise:
maintaining, using a message module, a message queue for the plurality of vertices; and
determining that the message queue satisfies a threshold size,
wherein sending the outgoing message to the respective target vertex comprises sending the outgoing message based on determining that the message queue satisfies the threshold size.

### Claim 15 (depends on 11)

The system of claim 11, wherein each respective edge further comprises a directed edge.

### Claim 16 (depends on 15)

The system of claim 15, wherein the directed edge defines a communication direction from a source vertex to a target vertex.

### Claim 17 (depends on 11)

The system of claim 11, wherein the graph represents at least one of:
a social graph;
a computer network topology; or
transportation routes in a geographic map.

### Claim 18 (depends on 11)

The system of claim 11, wherein each respective edge further comprises a target vertex identifier.

### Claim 19 (depends on 11)

The system of claim 11, wherein the graph data representing the graph comprises one or more graph partitions.

### Claim 20 (depends on 19)

The system of claim 19, wherein each respective graph partition is assigned to a corresponding worker system.
