FedHERO: A Federated Learning Approach for Node Classification Task on Heterophilic Graphs

Zihan Chen, Xingbo Fu, Yushun Dong, Jundong Li, Cong Shen

Abstract

Graph neural networks (GNNs) have shown significant success in modeling graph data, and Federated Graph Learning (FGL) empowers clients to collaboratively train GNNs in a distributed manner while preserving data privacy. However, FGL faces unique challenges when the general neighbor distribution pattern of nodes varies significantly across clients. Specifically, FGL methods usually require that the graph data owned by all clients is homophilic to ensure similar neighbor distribution patterns of nodes. Such an assumption ensures that the learned knowledge is consistent across the local models from all clients. Therefore, these local models can be properly aggregated as a global model without undermining the overall performance. Nevertheless, when the neighbor distribution patterns of nodes vary across different clients (e.g., when clients hold graphs with different levels of heterophily), their local models may gain different and even conflict knowledge from their node-level predictive tasks. Consequently, aggregating these local models usually leads to catastrophic performance deterioration on the global model. To address this challenge, we propose FedHERO, an FGL framework designed to harness and share insights from heterophilic graphs effectively. At the heart of FedHERO is a dual-channel GNN equipped with a structure learner, engineered to discern the structural knowledge encoded in the local graphs. With this specialized component, FedHERO enables the local model for each client to identify and learn patterns that are universally applicable across graphs with different patterns of node neighbor distributions. FedHERO not only enhances the performance of individual client models by leveraging both local and shared structural insights but also sets a new precedent in this field to effectively handle graph data with various node neighbor distribution patterns. We conduct extensive experiments to validate the superior performance of FedHERO against existing alternatives.

The Heterophily Challenge in Federated Learning

Most Federated Graph Learning (FGL) methods rely on the assumption of homophily—the idea that "birds of a feather flock together," where connected nodes likely share the same label. In homophilic settings, local models across different clients learn consistent patterns, making global aggregation straightforward.

However, many real-world graphs are heterophilic. For instance, in a transaction network, a fraudulent account might primarily connect to legitimate accounts to evade detection. If different clients (e.g., Bank A and Bank B) exhibit different patterns of heterophily, their local models will learn contradictory information. As shown in Figure 1, varying neighbor distributions across banks lead to conflicting local knowledge. Aggregating these models often results in a global model that performs worse than individual local training, a phenomenon known as "catastrophic performance deterioration."

Heterophily challenge: Bank A and Bank B have different neighbor distributions, leading to conflicting local models.

The FedHERO Framework

To overcome these conflicts, FedHERO introduces a dual-channel GNN architecture that decouples shared structural patterns from local graph biases. This allows clients to benefit from global knowledge without being hindered by site-specific heterophily differences.

The FedHERO architecture: A dual-channel GNN with a global structure learner and a private local channel.

The architecture consists of three main components:

  1. Global Channel ($f_{global}$): This channel utilizes a Structure Learner powered by multi-head attention to generate a "latent graph." Instead of relying solely on raw edges, it learns optimal connections based on node features. This channel is shared and aggregated with the server, providing a unified structural representation.
  2. Local Channel ($f_{local}$): This channel operates directly on the client's original, raw graph to capture unique local nuances. Crucially, this channel remains private and is never shared with the server.
  3. Integration & Regularization: Outputs from both channels are merged at each layer. A smoothness regularization term ($\mathcal{L}_{smooth}$) is applied to ensure the latent graph reflects feature similarities meaningfully.

Experimental Evaluation

The researchers evaluated FedHERO on several heterophilic datasets, including Wikipedia pages (Squirrel, Chameleon), film co-occurrence (Actor), and financial transaction records (ieee-fraud, credit).

Key Results

  • Superior Accuracy: FedHERO consistently outperformed state-of-the-art baselines like FedAvg, FedPub, and FedStar. Notably, on the Chameleon dataset, it improved accuracy by 4.31% over the best baseline.
  • Robustness to Noise: FedHERO maintained high performance even when 10% of graph edges were randomly flipped, thanks to its reliance on learned latent structures rather than potentially noisy raw edges.
  • Efficiency: Despite its dual-channel design, FedHERO matches the speed of FedStar while utilizing 7-9% less GPU memory, enhancing its scalability for large-scale applications.

Discussion and Future Work

The core innovation of FedHERO lies in decoupling. By keeping task-specific learners private and sharing only the structure-learning component, it enables effective knowledge transfer without the risk of model conflict. Furthermore, sharing only a subset of the model enhances privacy against Link Inference Attacks (LIA), as attackers have less information to reconstruct private local graphs.

Future research directions include providing formal Differential Privacy (DP) guarantees, exploring vulnerabilities beyond LIA (such as membership inference), and investigating the impact of asymmetric latent graphs on model performance.

Summary updated

BibTeX
@article{chen2025fedhero,
  author = {Zihan Chen and Xingbo Fu and Yushun Dong and Jundong Li and Cong Shen},
  title = {{FedHERO: A Federated Learning Approach for Node Classification Task on Heterophilic Graphs}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=pHii7cWco7},
}
Figure