Clustered Sampling: Low-Variance and Improved Representativity for Clients Selection in Federated Learning

Yann Fraboni, Richard Vidal, Laetitia Kameni, Marco Lorenzi
5/12/2021
cs.LGcs.AI
federated

Official code: Accenture/Labs-Federated-Learning (109 stars, last commit 2024-03-13).

Abstract

This work addresses the problem of optimizing communications between server and clients in federated learning (FL). Current sampling approaches in FL are either biased, or non optimal in terms of server-clients communications and training stability.

Show full abstract

To overcome this issue, we introduce \textit{clustered sampling} for clients selection. We prove that clustered sampling leads to better clients representatitivity and to reduced variance of the clients stochastic aggregation weights in FL. Compatibly with our theory, we provide two different clustering approaches enabling clients aggregation based on 1) sample size, and 2) models similarity. Through a series of experiments in non-iid and unbalanced scenarios, we demonstrate that model aggregation through clustered sampling consistently leads to better training convergence and variability when compared to standard sampling approaches. Our approach does not require any additional operation on the clients side, and can be seamlessly integrated in standard FL implementations. Finally, clustered sampling is compatible with existing methods and technologies for privacy enhancement, and for communication reduction through model compression.

View on arXivView PDF

Code Implementations(1)

Accenture Labs Federated Learning

10930Apr 23, 20202 years ago

Similar Papers

Cite this paper

@article{fraboni2021clustered,
  title  = {Clustered Sampling: Low-Variance and Improved Representativity for Clients Selection in Federated Learning},
  author = {Yann Fraboni and Richard Vidal and Laetitia Kameni and Marco Lorenzi},
  year   = {2021},
  eprint = {2105.05883},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.05883}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.05883.svg)](https://codeofpaper.com/paper/2105.05883)

Discussion