Decentralized Personalized Federated Learning Based on a Conditional “Sparse-to-Sparser” Scheme

Qianyu Long, Qiyuan Wang, Christos Anagnostopoulos, Daning BiIEEE TNNLS 2024 · DOI

Introduction

Federated Learning (FL) has emerged as a critical paradigm for training machine learning models across distributed clients while preserving data privacy. However, standard centralized FL architectures face significant challenges, including high communication costs, vulnerability to central server failures, and poor performance on heterogeneous (non-i.i.d.) data. Decentralized Federated Learning (DFL) addresses the single-point-of-failure issue by removing the central server, but often at the cost of increased communication overhead and slower convergence.

To overcome these limitations, we present DA-DPFL (Dynamic Aggregation Decentralized Personalized Federated Learning). This framework introduces a novel "sparse-to-sparser" training strategy that optimizes both communication efficiency and model personalization, achieving superior accuracy with a fraction of the energy consumption of existing methods.

Methodology

DA-DPFL is built upon two innovative pillars designed to accelerate convergence and reduce the computational footprint of decentralized training.

1. Dynamic Aggregation Scheduling

Traditional DFL often suffers from high latency due to sequential training or slow convergence in parallel settings. DA-DPFL employs a hybrid dynamic aggregation schedule. Clients are assigned "reuse indexes" in each round. "Posterior" clients begin training immediately, while "prior" clients wait for a subset of neighbors to complete their local updates. These prior clients then "reuse" the updated neighbor models to initialize their own training, facilitating faster knowledge propagation across the network within a single communication round.

2. Conditional ‘Sparse-to-Sparser’ Scheme

Rather than maintaining a static sparsity level, DA-DPFL adaptively prunes the model as training progresses. This process is governed by two key metrics:

  • Detection Score: This monitors weight stability. When the rate of change in model weights slows, indicating a "critical learning period," a pruning event is triggered.
  • PQ Index (Potential Compressibility): This index evaluates the information density of individual layers. Layers with high compressibility (low information density) are pruned more aggressively, while essential layers are preserved.

To maintain model capacity, the framework utilizes gradient-flow-driven recovery (inspired by the RigL algorithm) to regrow vital connections, ensuring that the "sparser" model does not lose critical predictive power.

Overview of the DA-DPFL framework and its sparse-to-sparser training cycle.

Experimental Evaluation

The framework was evaluated against several state-of-the-art baselines (including FedAvg, DisPFL, and GossipFL) across three diverse image classification tasks:

  • HAM10000: Skin lesion classification using AlexNet.
  • CIFAR-10: Object recognition using ResNet18.
  • CIFAR-100: Complex object recognition using ResNet18/VGG11.

To simulate real-world data heterogeneity, we employed Dirichlet and Pathological partitioning to create highly non-i.i.d. distributions among 100 simulated clients.

Key Results

Superior Accuracy and Convergence

DA-DPFL consistently outperformed decentralized baselines, showing a 2–3% improvement in top-1 accuracy across most scenarios. Notably, the dynamic aggregation allowed the model to reach target accuracy in significantly fewer communication rounds than standard DFL approaches.

Accuracy performance of DA-DPFL compared to state-of-the-art baselines across various datasets and non-i.i.d. data distributions.

Efficiency Gains

The "sparse-to-sparser" approach yielded massive efficiency improvements:

  • Energy Consumption: DA-DPFL achieved up to a 5x reduction in total energy costs compared to standard DFL baselines.
  • Communication Load: On the CIFAR-100 dataset, the peak communication load was reduced from 443.8 MB to just 94.8 MB, representing a nearly 80% reduction.
  • Model Sparsity: Final models reached sparsity levels between 60% and 73% without sacrificing accuracy, significantly higher than the 50% initial sparsity common in other sparse training methods.

Conclusion

DA-DPFL demonstrates that "sparser is better" in the context of decentralized personalized federated learning. By removing redundant parameters during critical learning phases and utilizing a dynamic aggregation schedule, the framework achieves a state-of-the-art balance between accuracy and efficiency. Future work will explore the application of this scheme to more complex data structures, such as time-series and graph-based neural networks.

Summary updated

BibTeX
@misc{long2024decentralized,
  author = {Qianyu Long and Qiyuan Wang and Christos Anagnostopoulos and Daning Bi},
  title = {{Decentralized Personalized Federated Learning Based on a Conditional “Sparse-to-Sparser” Scheme}},
  year = {2024},
  eprint = {2404.15943},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.15943},
}
Figure