Distributed Graph Convolutional Networks

Simone Scardapane, Indro Spinelli, Paolo Di Lorenzo · DOI

Abstract

The aim of this work is to develop a fully-distributed algorithmic framework for training graph convolutional networks (GCNs). The proposed method is able to exploit the meaningful relational structure of the input data, which are collected by a set of agents that communicate over a sparse network topology. After formulating the centralized GCN training problem, we first show how to make inference in a distributed scenario where the underlying data graph is split among different agents. Then, we propose a distributed gradient descent procedure to solve the GCN training problem. The resulting model distributes computation along three lines: during inference, during back-propagation, and during optimization. Convergence to stationary solutions of the GCN training problem is also established under mild conditions. Finally, we propose an optimization criterion to design the communication topology between agents in order to match with the graph describing data relationships. A wide set of numerical results validate our proposal. To the best of our knowledge, this is the first work combining graph convolutional neural networks with distributed optimization.

Introduction

In modern machine learning, data is increasingly relational, making Graph Neural Networks (GNNs) the architecture of choice for many applications. However, standard GNN training typically assumes that all data—nodes, edges, and features—reside on a single centralized server. This assumption is often violated in real-world scenarios like sensor networks, medical databases, or financial systems, where data is physically distributed across multiple agents.

While the field of distributed optimization offers tools to train models across remote agents without sharing raw data, these methods almost universally assume that data points held by different agents are independent. This paper bridges the gap by addressing a critical question: How can we train a GCN when the data has a meaningful relational structure (a "data graph"), but the nodes are physically distributed across agents with limited communication capabilities (a "communication graph")? Sending all data to a central coordinator is often prohibited by bandwidth limits, energy constraints, or privacy concerns.

The Distributed GCN Framework

The proposed framework distributes the GCN workload across three distinct phases, ensuring that no central server is required to pool the data.

The three phases of the distributed GCN framework: Distributed Inference, Distributed Backpropagation, and Distributed Optimization (Consensus).

1. Distributed Inference (Forward Pass)

In a GCN layer, a node's embedding is updated using the features of its neighbors. In a distributed setting, if Agent A holds Node 1 and Agent B holds Node 2, and these nodes are connected in the data graph, the agents must exchange linear combinations of their local data to compute the layer's output. This ensures the relational structure is preserved during the forward pass.

2. Distributed Backpropagation

Computing gradients in a GCN requires symmetric message-passing. Agents exchange error signals to route gradients back through the graph structure, mirroring the communication pattern established during the inference phase.

3. Distributed Optimization (Consensus)

Rather than a central server holding the model weights, each agent maintains its own local copy of the GCN weights. After computing local gradients, agents update their weights and perform a "consensus step." This involves averaging their local weights with those of their physical neighbors using a doubly stochastic combination matrix, ensuring the entire network eventually converges to a shared, optimal model.

Topology Optimization

A key challenge is the coupling of the data graph (who needs to talk) and the communication graph (who can talk). If the communication network is too dense, it wastes bandwidth; if it is too sparse, consensus may be slow. The authors introduce an ADMM-based (Alternating Direction Method of Multipliers) convex optimization step to design an optimal communication topology. This step aims to find a graph that is as sparse as possible while guaranteeing that agents can exchange necessary messages and that the consensus step converges at a target speed.

Trade-off between solution sparsity and the spectral radius (which determines consensus convergence speed) as a function of the optimization parameter.

Experimental Results

The framework was evaluated on standard citation networks (Cora, Citeseer, Pubmed) and real-world traffic prediction datasets (PeMSD4, PeMSD8).

  • Performance Parity: On citation benchmarks, the distributed GCN asymptotically matches the test accuracy of a centrally-trained GCN, significantly outperforming distributed models that ignore the graph structure.
  • Robustness to Sparsity: The model remains effective even when up to 75% of communication links are removed, provided the network remains connected. This demonstrates high bandwidth efficiency.
  • Real-World Impact: In traffic prediction, a distributed Order-2 GCN achieved a Mean Squared Error (MSE) of 0.126, nearly halving the error of a distributed linear model (0.231).

Conclusion and Future Work

This work provides the first fully-distributed framework for training GCNs, matching centralized performance while respecting data locality. Future research directions include relaxing the assumption of direct communication links between data-connected agents through multi-hop routing, addressing privacy concerns via Differential Privacy, and adapting the framework for dynamic, time-varying communication topologies.

Summary updated

Abstract

The aim of this work is to develop a fully-distributed algorithmic framework for training graph convolutional networks (GCNs). The proposed method is able to exploit the meaningful relational structure of the input data, which are collected by a set of agents that communicate over a sparse network topology. After formulating the centralized GCN training problem, we first show how to make inference in a distributed scenario where the underlying data graph is split among different agents. Then, we propose a distributed gradient descent procedure to solve the GCN training problem. The resulting model distributes computation along three lines: during inference, during back-propagation, and during optimization. Convergence to stationary solutions of the GCN training problem is also established under mild conditions. Finally, we propose an optimization criterion to design the communication topology between agents in order to match with the graph describing data relationships. A wide set of numerical results validate our proposal. To the best of our knowledge, this is the first work combining graph convolutional neural networks with distributed optimization.
BibTeX
@article{scardapane2021distributed,
  author = {Simone Scardapane and Indro Spinelli and Paolo Di Lorenzo},
  title = {{Distributed Graph Convolutional Networks}},
  journal = {IEEE Trans. Signal Inf. Process. Over Networks},
  year = {2021},
  url = {https://openreview.net/forum?id=rfG-aAUQHlc},
}
Figure