Federated Graph Semantic and Structural Learning

Wenke Huang, Guancheng Wan, Mang Ye, Bo Du

Abstract

Federated Graph Learning (FGL) faces significant challenges due to data heterogeneity across clients, leading to "client drift." This paper proposes FGSSL, a framework that calibrates node-level semantics and graph-level structures against a global model. By employing supervised contrastive learning and knowledge distillation, FGSSL achieves state-of-the-art performance on node classification benchmarks without increasing communication overhead.

Introduction

Federated Learning (FL) enables collaborative model training without raw data sharing. However, applying FL to graph data introduces unique hurdles, primarily data heterogeneity (non-IID data). When clients train on biased local subgraphs, their models drift from the optimal global state. This drift manifests in two ways:

  1. Node Semantic Bias: Skewed distributions of node features and labels.
  2. Graph Structure Bias: Incomplete local views of the overall graph topology.

Existing FGL methods often fail to address these graph-specific biases, treating the problem as generic weight-averaging.

Methods

The proposed Federated Graph Semantic and Structural Learning (FGSSL) framework introduces two primary modules to mitigate these biases during local training:

The FGSSL framework architecture, featuring FNSC for semantic calibration and FGSD for structural calibration.

Federated Node Semantic Contrast (FNSC)

To address semantic bias, FNSC utilizes supervised contrastive learning with the global model as a stable anchor. Local node representations are "pulled" toward global representations of the same class and "pushed" away from different classes. An asymmetric augmentation strategy is used: strong augmentations (edge removal, feature masking) are applied to the local graph, while weak augmentations are applied to the global graph, forcing the local model to learn robust features from the global knowledge.

Federated Graph Structure Distillation (FGSD)

To correct structural bias, FGSD employs relation-based knowledge distillation. Instead of direct feature alignment—which can be detrimental due to class inconsistency among neighbors—FGSD forces the local model to mimic the "similarity distribution" between a node and its neighbors as calculated by the global model. This transfers structural knowledge without muddying class boundaries.

Key Results

FGSSL was evaluated on citation networks (Cora, Citeseer, Pubmed) partitioned into heterogeneous subgraphs using community detection.

Accuracy vs. Communication Epochs on the Citeseer dataset, showing FGSSL's superior performance and convergence stability.

Key findings include:

  • Superior Performance: FGSSL consistently outperformed baselines like FedAvg, FedProx, and FedSage. For instance, on Citeseer with 5 clients, FGSSL reached 80.43% accuracy, a +4.06% improvement over FedAvg.
  • Stable Convergence: As shown in the training curves, FGSSL converges more stably than other methods, which often fluctuate wildly due to client drift.
  • Communication Efficiency: By leveraging the global model already present on the client, FGSSL introduces no additional communication costs.
  • Ablation Insights: Semantic calibration (FNSC) generally provides a larger performance boost than structural calibration (FGSD), indicating that feature/label skew is the primary driver of drift.

Conclusion and Limitations

FGSSL effectively decouples and addresses the semantic and structural biases inherent in federated graph learning. While highly effective for node classification, the framework's reliance on a temperature parameter ($\tau$) for contrastive learning requires careful tuning; low values can cause numerical instability. Future research could explore its applicability to graph-level tasks and automated hyperparameter optimization.

Summary updated

BibTeX
@inproceedings{huang2023federated,
  author = {Wenke Huang and Guancheng Wan and Mang Ye and Bo Du},
  title = {{Federated Graph Semantic and Structural Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/426},
}
Figure