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

Personalized Federated Learning With a Graph

Fengwen Chen, Guodong Long, Zonghan Wu, Tianyi Zhou, Jing Jiang

In the landscape of Federated Learning (FL), the "non-IID" (not identically and independently distributed) challenge remains a significant hurdle. When data across client devices varies drastically—for instance, one user’s device containing only urban traffic data while another contains rural patterns—training a single "global" model often results in suboptimal performance for all participants. Personalized Federated Learning (PFL) seeks to address this by tailoring models to individual clients. However, traditional PFL methods often aggregate knowledge from all clients uniformly, ignoring the inherent relationships and structural topologies that exist between them.

This paper, originally presented at IJCAI-22, introduces Structured Federated Learning (SFL). The framework leverages relationship graphs—such as road networks or social connections—to guide model aggregation, ensuring that "neighboring" clients share more knowledge than distant ones.

The Structured Federated Learning (SFL) Framework

Standard FL algorithms, like FedAvg, typically produce a "jack of all trades, master of none" model in non-IID environments. SFL shifts this paradigm by treating the federation of clients as a graph where nodes represent clients and edges represent their relationships.

The SFL architecture utilizes a Graph Convolutional Network (GCN) at the server level to aggregate local model parameters based on structural information.

Methodology

  1. Graph-Based Aggregation: Instead of simple averaging, the server employs a Graph Convolutional Network (GCN). The GCN uses local model parameters as node features and the client relationship graph as an adjacency matrix to generate personalized "neighborhood" models.
  2. Bi-level Optimization: SFL optimizes for three concurrent goals: minimizing local supervised loss, maintaining global consistency, and a "Graph Penalty" that encourages clients with strong graph connections to maintain similar model parameters.
  3. Structure Learning (SFL*): Recognizing that explicit graphs are not always available, the authors developed SFL*. This variant includes a structure learning module that infers hidden relationships between clients based on their model updates, effectively discovering the optimal graph during training.

Experimental Evaluation

The researchers evaluated SFL across two domains: traffic forecasting (using METR-LA and PEMS datasets) and image classification (using CIFAR-10). To simulate extreme non-IID conditions in image classification, the data was partitioned into "shards," where each client only accessed a small subset of total classes (e.g., 2 out of 10).

Key Results

SFL demonstrated substantial performance gains over traditional baselines. In traffic forecasting, SFL achieved an 18% to 25% improvement in Mean Absolute Error (MAE) compared to FedAvg. The most striking results appeared in highly skewed image classification scenarios.

Performance comparison on CIFAR-10 with varying degrees of non-IID data (shards). SFL significantly outperforms traditional baselines in the most challenging scenarios.

As shown in the results, when data is highly non-IID (Shards = 2), SFL achieved a mean accuracy of 54.25%, whereas traditional baselines like FedAvg and FedProx struggled to exceed 20%. Furthermore, SFL* (the structure learning variant) often outperformed pre-defined physical graphs, suggesting that data-driven relationships can capture nuances—like similar traffic patterns on distant roads—that physical proximity might miss.

Conclusion and Future Directions

By moving away from uniform global aggregation and embracing the structured reality of client relationships, SFL marks a significant advancement in practical Federated Learning. While the framework is robust, future work may address the privacy of the relationship graph itself, the scalability of GCNs to millions of clients, and the management of dynamic graphs where client relationships change over time. Ultimately, SFL demonstrates that in the world of distributed data, context and structure are just as important as the data itself.

Summary updated

BibTeX
@inproceedings{chen2022personalized,
  author = {Fengwen Chen and Guodong Long and Zonghan Wu and Tianyi Zhou and Jing Jiang},
  title = {{Personalized Federated Learning With a Graph}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/357},
}
Figure