Decentralized Directed Collaboration for Personalized Federated Learning

Yingqi Liu, Yifan Shi, Qinglun Li, Baoyuan Wu, Xueqian Wang, Li Shen

Abstract

Standard Federated Learning (FL) relies on a central server, creating communication bottlenecks and single points of failure. While Decentralized Federated Learning (DFL) removes the server, most existing methods assume symmetric communication and struggle with data heterogeneity. We present DFedPGP (Decentralized Federated Partial Gradient Push), a framework that utilizes directed communication graphs and partial model personalization. By combining a shared feature extractor with a private local classifier and a de-biased push-sum mechanism, DFedPGP achieves state-of-the-art accuracy and converges up to twice as fast as traditional decentralized methods in heterogeneous environments.

1. Introduction

Federated Learning has emerged as a privacy-preserving paradigm for training machine learning models across distributed clients. However, the traditional hub-and-spoke architecture is often impractical for edge computing due to server costs and bandwidth constraints. Decentralized FL (DFL) addresses this by allowing peer-to-peer communication.

Despite its benefits, DFL faces two major hurdles:

  1. Network Heterogeneity: Most DFL algorithms require symmetric (undirected) communication, where nodes must wait for mutual exchanges. In real-world scenarios with varying battery levels and network speeds, this leads to significant synchronization delays.
  2. Data Heterogeneity (Non-IID): A single global model often performs poorly on local datasets that vary significantly in distribution.

To solve these issues, we introduce DFedPGP, which enables flexible, directed collaboration while personalizing models for individual clients.

2. The DFedPGP Framework

DFedPGP is built upon three technical pillars designed to optimize both communication efficiency and local model performance.

2.1 Partial Personalization (Head-Body Split)

Rather than sharing the entire model, DFedPGP adopts a "Head-Body" architecture. The model is split into:

  • Shared Body: A feature representation layer that learns universal patterns from the collective data of all participants.
  • Private Head: A linear classifier that remains strictly local to each client.

Clients only communicate gradients related to the shared body. This allows the network to build a robust feature extractor while the private head captures the specific nuances of local data distributions.

2.2 Directed Communication and Push-sum De-biasing

Unlike symmetric DFL, DFedPGP allows for directed communication. A client can "push" its updates to a neighbor without requiring an immediate reciprocal "pull." This prevents fast nodes from being throttled by slower ones.

To handle the mathematical bias introduced by directed graphs (where some nodes might influence the network more than others), the framework incorporates a Push-sum mechanism. Each client maintains a scalar weight ((\mu)) that tracks the cumulative influence of received updates, ensuring that the aggregated shared representation eventually reaches a true consensus.

2.3 Alternating Local Updates

The algorithm employs an alternating update strategy. In each local iteration, clients perform multiple SGD steps on the private head followed by steps on the shared body. This decoupling ensures that the personalized components and the global components remain compatible throughout the training process.

3. Experimental Evaluation

We evaluated DFedPGP against state-of-the-art (SOTA) personalized FL methods, including FedRep, FedPer, and FedBABU, across several computer vision benchmarks:

  • CIFAR-10 & CIFAR-100: Partitioned using Dirichlet distributions ((\alpha=0.1, 0.3)) to simulate high non-IID settings.
  • Tiny-ImageNet: A 200-class dataset used to test the scalability of the personalization approach.

4. Key Results

4.1 Superior Accuracy

DFedPGP consistently outperforms existing baselines. On CIFAR-10 with a Dirichlet-0.3 split, the framework achieved an accuracy of 85.61%, surpassing FedRep by over 1%. The gains were even more pronounced in highly heterogeneous settings, demonstrating the effectiveness of the private classifier head.

4.2 Rapid Convergence

One of the most significant advantages of DFedPGP is its efficiency. In communication-constrained environments, DFedPGP reached a target accuracy of 80% on CIFAR-10 in just 131 rounds. In contrast, FedRep required 189 rounds, and FedPer required 262 rounds. This represents a nearly 2x speedup in convergence time.

4.3 Robustness to Hardware Heterogeneity

When simulating a network with a mix of high-performance and low-power devices, DFedPGP maintained a high accuracy of 83.63% on CIFAR-10. Traditional symmetric methods saw performance degradation as the "deadlock" effect of waiting for slow nodes hindered the overall learning progress.

5. Conclusion and Future Work

DFedPGP demonstrates that directed communication is not only feasible for decentralized learning but significantly more efficient than symmetric approaches. By combining this flexibility with partial model personalization, we provide a robust solution for edge-based federated learning.

Future research will focus on intelligent neighbor selection, where nodes choose communication partners based on data similarity or link quality, and exploring more complex model decoupling strategies beyond the simple head-body split.

Summary updated

BibTeX
@inproceedings{liu2024decentralized,
  author = {Yingqi Liu and Yifan Shi and Qinglun Li and Baoyuan Wu and Xueqian Wang and Li Shen},
  title = {{Decentralized Directed Collaboration for Personalized Federated Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure