Prior Refinement Is Better: Diffusion-Driven Graph Harmonization for Federated Graph Learning

Shuman Zhuang, Zhihao Wu, Wei Huang, Luojun Lin, Jiali Yin, Lele Fu, Hong-Ning Dai

TL;DR

This paper introduces FedGH, a novel framework for Federated Graph Learning (FGL) that tackles data heterogeneity by proactively harmonizing local graphs before federated training. By leveraging diffusion models to generate privacy-preserving pseudo-graphs and then aligning them via contrastive learning, FedGH significantly improves model generalization and outperforms existing FGL methods.

What Problem Does This Paper Address?

Federated Graph Learning (FGL) aims to train a global graph model across multiple clients without sharing their private graph data. A major hurdle in FGL is data heterogeneity, where graphs from different clients can have vastly different structures and node features (semantic and topological discrepancies). Existing FGL methods try to address this during training by calibrating distributions, but this often leads to suboptimal alignment of optimization behaviors and hinders generalization. The authors propose a shift in perspective: instead of fixing heterogeneity during training, they aim to prevent it by harmonizing graphs before training begins.

Methods

FedGH introduces a three-stage process for prior refinement:

  1. Diffusion-based Pseudo Graph Generation: Each client uses a pre-trained Variational Graph Autoencoder (VGAE) to encode its local graph into a latent representation. This representation is then fed into a conditional diffusion process. This process generates a pseudo-graph that captures the local graph's semantic and structural priors without revealing the original data. The "conditional" aspect allows for client-specific noise regulation, balancing data fidelity and privacy.
  2. Graph Contrastive Alignment: The generated pseudo-graphs from all clients are sent to a central server. Here, a graph contrastive learning framework is employed. This stage aims to learn globally-aware latent representations by maximizing the mutual information between local pseudo-representations and global summaries derived from peer clients. This helps align the diverse client distributions.
  3. Local Graph Refinement: The globally-aware embeddings from the server are sent back to each client. Each client then uses these embeddings to refine its original graph data. This involves adjusting node features and reconstructing the graph topology, guided by the global information. The refined graph is then used for downstream federated training. FedGH is designed as a plug-and-play module, meaning it can be integrated with existing FGL algorithms (like FedAvg) without architectural changes.

Datasets

The paper evaluates FedGH on six real-world datasets:

  • Citation Networks: Cora, PubMed
  • Co-purchase Network: Photo
  • Wiki-page Network: WikiCS
  • Article-syntax Network: Roman-empire
  • Large-scale Citation Network: ogbn-arxiv

Key Insights and Ideas

  • Prior Refinement is Key: The core idea is that proactively harmonizing graph data before federated training is more effective than trying to correct discrepancies during training. This simplifies the downstream federated learning process.
  • Diffusion Models for Privacy-Preserving Generation: Diffusion models are powerful generative tools that can create realistic data. Here, they are cleverly used to generate pseudo-graphs that encapsulate local graph properties without exposing raw data, addressing privacy concerns.
  • Conditional Diffusion for Client-Awareness: The "conditional" aspect of the diffusion process is crucial. It allows the model to adapt to client-specific data distributions while still maintaining privacy, leading to more effective harmonization.
  • Contrastive Learning for Global Alignment: Using graph contrastive learning on the server side effectively aggregates information from diverse pseudo-graphs, creating globally-aware embeddings that guide the refinement process.
  • Plug-and-Play Simplicity: FedGH's design as a pre-processing module makes it highly practical, allowing easy integration with existing FGL frameworks.

Key Results

  • Superior Performance: FedGH consistently outperforms state-of-the-art FGL baselines across multiple datasets and client configurations (10, 15, 20 clients) in terms of accuracy and F1-score. For example, on Cora with 20 clients, FedGH achieved 70.7% accuracy, significantly higher than FedAvg's 62.4%.
  • Effective Heterogeneity Mitigation: Clustering-based metrics (NMI, ARI, Silhouette) show that FedGH produces node embeddings with stronger semantic alignment across clients, indicating better handling of heterogeneous distributions.
  • Privacy Preservation: Visualizations using t-SNE on the Cora dataset demonstrate that the generated pseudo-graphs effectively conceal sensitive structural and feature-level information from the original graphs, supporting privacy claims.
  • Plug-and-Play Efficacy: Integrating FedGH with FedTAD (a SOTA FGL model) consistently improved performance across datasets and client numbers, highlighting its value as a pre-processing module.

Limitations and Future Work

  • Computational Cost: While FedGH is a pre-processing step, it adds computational overhead to each client before federated training begins. The paper notes that this cost is incurred once and is a manageable trade-off.
  • Hyperparameter Sensitivity: The paper analyzes the sensitivity to the hyperparameter $\gamma$ (balancing KL divergence in VGAE loss) and finds FedGH to be relatively insensitive, indicating stable performance across a range of values.
  • Future Work: The paper's conclusion suggests that the proposed approach of prior refinement is a promising direction for FGL. Future work could explore more advanced diffusion models or contrastive learning techniques for even better harmonization and privacy. The authors also implicitly suggest that this approach could be extended to other federated learning scenarios beyond graph learning.

Summary updated

BibTeX
@inproceedings{zhuang2026prior,
  author = {Shuman Zhuang and Zhihao Wu and Wei Huang and Luojun Lin and Jiali Yin and Lele Fu and Hong-Ning Dai},
  title = {{Prior Refinement Is Better: Diffusion-Driven Graph Harmonization for Federated Graph Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i34.40163},
}

Loading related content...

Figure