Abstract
Federated Graph Learning (FGL) has emerged as a powerful paradigm for training Graph Neural Networks (GNNs) on decentralized data while preserving privacy. However, existing FGL approaches often exhibit significant performance disparities, favoring majority classes and nodes with homophilous connectivity. This paper introduces FairFGL, a comprehensive framework designed to achieve fairness from both label and topology perspectives. By integrating history-preserving knowledge distillation, prototype-based topological alignment, and cross-client gradient modification, FairFGL significantly enhances the representation of disadvantaged nodes. Our evaluation across eight diverse datasets demonstrates that FairFGL outperforms state-of-the-art baselines, providing up to a 22.62% improvement in Macro-F1 scores for heterophilous minority nodes.
Introduction
In distributed environments such as social networks or disease contact tracing, Federated Learning (FL) allows models to be trained locally on client devices without sharing raw data. When applied to graphs, however, a "fairness gap" often arises. While a global model might achieve high overall accuracy, it frequently fails nodes belonging to minority classes or those with unique structural properties. FairFGL addresses this by ensuring that distributed graph learning does not leave marginalized node groups behind.
The Challenge: Label and Topological Bias
The paper identifies two primary sources of bias that degrade performance for specific node groups in FGL:
- Label Bias (Minority Classes): Local datasets are frequently skewed. A client dominated by a majority class (e.g., common Influenza) will naturally produce a model biased against rare occurrences (e.g., specific Virus Infections).
- Topological Bias (Heterophily): Most GNNs assume homophily—that connected nodes share the same label. In reality, many nodes are heterophilous, meaning they connect to nodes with different labels. Standard message-passing in GNNs can introduce noise for these nodes, leading to poor feature representations.
Standard federated aggregation methods like FedAvg tend to favor the "global majority," further silencing these marginalized node groups by averaging out their unique local gradients.
The FairFGL Framework
To mitigate these biases, FairFGL implements specialized modules at both the client and server levels to enforce fairness throughout the training process.
Client-Side Innovations
- History-Preserving Module: To prevent overfitting to skewed local data, clients maintain a "History Model" (an average of recent global updates). This acts as a stable teacher, guiding the local model through knowledge distillation to maintain broader class awareness.
- Majority Alignment Module: This module targets topological bias by identifying "Majority-class" nodes that are heterophilous. It uses a prototype-based loss to pull their representations closer to reliable, homophilous examples of the same class, correcting for neighborhood noise.
- Gradient Modification Module: This facilitates collaborative learning by allowing a client to compare its gradients with those from a "Deviated Model"—a model received from the server that was trained on a client with a very different data distribution. This "nudges" the local training to better represent classes it lacks.
Server-Side Strategy
The server employs Top-k Parameter Selection to reduce communication overhead and noise by only aggregating the most significant parameter changes. Furthermore, Cluster-based Aggregation groups clients with similar distributions to prevent conflicting updates from canceling each other out during the global merge.
Experimental Evaluation
The framework was evaluated on eight diverse benchmark datasets, including citation networks (Cora, PubMed), wiki-page networks, and synthetic simulation graphs. To simulate real-world heterogeneity, the graphs were partitioned into local subgraphs using the Metis algorithm.
As shown in the evaluation, FairFGL consistently outperforms baselines such as FedGTA and AdaFGL. The most significant gains were observed in "Hete-Min" nodes—minority class nodes with heterophilous connections—where FairFGL achieved a 22.62% boost in Macro-F1 on the CiteSeer dataset. On the PubMed dataset, FairFGL improved the overall Macro-F1 by 8.07% compared to the best baseline.
Conclusion
FairFGL demonstrates that achieving fairness in federated graph learning requires a dual focus on label distribution and graph topology. By explicitly addressing the needs of marginalized nodes through cross-client knowledge transfer and structural alignment, FairFGL provides a more equitable and robust solution for distributed graph analysis. Future work will explore extending these fairness principles to dynamic, temporal graphs and integrating formal differential privacy guarantees.
Summary updated