NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Federated Parameter Aggregation Method for Node Classification Tasks with Different Graph Network Structures

Hao Song, Jiacheng Yao, Zhengxi Li, Shaocong Xu, Shibo Jin, Jiajun Zhou, Chenbo Fu, Qi Xuan, Shanqing Yu

TL;DR

This paper introduces FLGNN, a horizontal federated learning framework tailored for Graph Neural Networks (GNNs) where clients hold entirely different graph structures and nodes. By sharing only multi-layer Graph Attention Network (GAT) weight parameters rather than node embeddings, FLGNN protects data privacy while achieving performance within 1–2% of centralized training. Additionally, an adaptive variant called FLGNN+ dynamically adjusts aggregation weights to successfully handle clients with heterogeneous edge types.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple clients to collaboratively train a machine learning model without directly sharing their private local data. While highly successful in image and text domains, applying FL to Graph Neural Networks (GNNs) introduces a unique challenge: graph structure.

Existing graph-based FL methods typically assume that clients share the same nodes (vertical FL) or require clients to share node embedding vectors. However, in many real-world horizontal FL scenarios—such as different banks trying to detect fraud or different hospitals analyzing patient networks—clients hold graphs with completely distinct nodes, topologies, or edge types.

Three federation scenarios based on node, edge, and edge type overlap.

Directly sharing gradients or node embeddings fails in these scenarios due to structural misalignment and severe privacy leakage risks. This paper addresses how to perform effective horizontal federated learning across structurally diverse client graphs without compromising node privacy.

Methods

The authors propose FLGNN, a framework built on the Graph Attention Network (GAT) architecture. Instead of sharing node embeddings or raw gradients, FLGNN keeps node feature vectors strictly local and shares only the trainable feature weight matrices ($W$) and attention coefficients ($a$) across the GNN layers.

Fig. 2. The left side of the figure depicts the process of federated training and aggre- gation, where [[∗]] represents the encrypted parameter, i is the number of graph neural network layers, and n, n2, n3 is the number of feature dimension. The right side of the figure depicts FLGNN specific structure. Furthermore, m represents the number of categories, and ⃗a represents the head of the graph attention mechanism.

The training workflow follows a secure protocol:

  1. Local Training: Clients train a multi-layer GAT locally on their own graph data.
  2. Encryption & Upload: Clients encrypt and upload their weight parameters ($W$) and attention parameters ($a$) to a central server.
  3. Federated Aggregation: The server averages the encrypted parameters and distributes the global update back to the clients.

The authors explore Layer-wise Aggregation, evaluating the impact of sharing parameters from specific layers (e.g., Layer 1 vs. Layer 2 vs. Layer 3).

To handle more complex scenarios where clients have entirely different types of graph connections (e.g., one client holds a social "friend" network while another holds a commercial "co-dining" network), they introduce FLGNN+. This variant replaces simple averaging with a dynamic feedback mechanism that adjusts each client's aggregation weight based on local model accuracy trends, preventing performance degradation from incompatible graph types.

Finally, to mitigate privacy risks like membership inference attacks (MIA), FLGNN integrates a Laplace-noise-based Differential Privacy (DP) defense directly into the shared parameters.

Datasets

The framework was validated across several real-world graph datasets partitioned to simulate different horizontal federation scenarios:

  • Homogeneous Edge Scenarios (Citation & Social Networks): Cora, Citeseer, Wiki, and LastFM Asia. These datasets were split among multiple clients to ensure only partial or zero overlap in nodes and edges.
  • Heterogeneous Edge Scenarios:
  • Yelp Urbana: Split into a Friend network and a Co-dining network to evaluate user preference classification.
  • Terrorist Attack: Split into a Loc (same location) network and a Loc_org (same organization and location) network.

Key Insights and Ideas

  • First Layer Dominance: The authors discovered that aggregating the first layer's weight parameters yields the most significant accuracy boost. Because the first layer maps the raw, high-dimensional node features, aggregating it allows the global model to capture the most comprehensive representation of node features across clients.
  • The Bandwidth vs. Performance Trade-off: While aggregating all three layers (L123) yields the best overall accuracy, aggregating only the second and third layers provides a smart alternative for communication-constrained edge devices. It avoids transmitting the massive first-layer weight matrix while maintaining acceptable performance.
  • Solving "Negative Transfer" with FLGNN+: In heterogeneous edge scenarios, standard federated averaging can actually harm performance for clients with dense, high-quality graphs (e.g., the Yelp co-dining network). FLGNN+ solves this by dynamically lowering the aggregation weight of conflicting networks, ensuring that collaboration never performs worse than training alone.

Key Results

  • Near-Centralized Accuracy: Across standard datasets, FLGNN achieved a global model that was only 1% to 2% inferior to a model trained on the entirely centralized dataset ("Full"), while significantly outperforming standalone local training ("Alone").
  • FLGNN+ Effectiveness: On the Yelp Urbana dataset, standard FLGNN caused the Co-dining client's accuracy to drop from 0.7963 (Alone) to 0.7778. FLGNN+ successfully recovered this performance to 0.8056, while simultaneously boosting the Friend client's accuracy from 0.5337 to 0.7278.
  • Strong Privacy Defense: Under membership inference attacks, FLGNN demonstrated inherent robustness. When combined with differential privacy defenses, the success rate of privacy theft was reduced to 30%–50% of the baseline standalone training configuration.

Limitations and Future Work

The primary limitation acknowledged by the authors revolves around communication efficiency. Because FLGNN requires transmitting multi-layer GNN weight matrices—which can become exceptionally large in the first layer when dealing with high-dimensional node features—it can strain the bandwidth of constrained edge devices. The authors note that future research should focus heavily on optimizing the communication efficiency of this federated aggregation process.

Summary updated

BibTeX
@misc{song2024federated,
  author = {Hao Song and Jiacheng Yao and Zhengxi Li and Shaocong Xu and Shibo Jin and Jiajun Zhou and Chenbo Fu and Qi Xuan and Shanqing Yu},
  title = {{A Federated Parameter Aggregation Method for Node Classification Tasks with Different Graph Network Structures}},
  year = {2024},
  eprint = {2403.16004},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.16004},
}
Figure