Smart Sampling: Helping from Friendly Neighbors for Decentralized Federated Learning
Lin Wang, Yang Chen, Yongxin Guo, Xiaoying Tang
TL;DR
This work tackles improving performance in Decentralized Federated Learning by proposing AFIND+, an adaptive neighbor collaboration framework. AFIND+ identifies helpful neighbors using a feature-proxy similarity, dynamically adjusts the number of cooperating neighbors with an adaptive threshold, and aggregates sampled models with contribution-aware Boltzmann weights, backed by a convergence guarantee for nonconvex objectives. Empirically, AFIND+ yields consistent accuracy gains (up to about 5% on CIFAR-10 and CIFAR-100 under diverse non-IID partitions) and faster convergence across FEMNIST, CIFAR-10, and CIFAR-100, while remaining compatible with various personalized FL techniques. These results suggest that similarity-based neighbor selection and contribution-weighted aggregation can substantially enhance decentralized collaboration in heterogeneous data environments.
Abstract
Federated Learning (FL) is gaining widespread interest for its ability to share knowledge while preserving privacy and reducing communication costs. Unlike Centralized FL, Decentralized FL (DFL) employs a network architecture that eliminates the need for a central server, allowing direct communication among clients and leading to significant communication resource savings. However, due to data heterogeneity, not all neighboring nodes contribute to enhancing the local client's model performance. In this work, we introduce \textbf{\emph{AFIND+}}, a simple yet efficient algorithm for sampling and aggregating neighbors in DFL, with the aim of leveraging collaboration to improve clients' model performance. AFIND+ identifies helpful neighbors, adaptively adjusts the number of selected neighbors, and strategically aggregates the sampled neighbors' models based on their contributions. Numerical results on real-world datasets with diverse data partitions demonstrate that AFIND+ outperforms other sampling algorithms in DFL and is compatible with most existing DFL optimization algorithms.
