Federated Learning for Data Streams

Othmane Marfoq, Giovanni Neglia, Laetitia Kameni, Richard Vidal
1/4/2023
cs.LGcs.AImath.OC

No official code found. Best implementation: omarfoq/streaming-fl (9 stars, Apache-2.0, PyTorch, last commit 2023-01-09).

Abstract

Federated learning (FL) is an effective solution to train machine learning models on the increasing amount of data generated by IoT devices and smartphones while keeping such data localized. Most previous work on federated learning assumes that clients operate on static datasets collected before training starts. This approach may be inefficient because 1) it ignores new samples clients collect during training, and 2) it may require a potentially long preparatory phase for clients to collect enough data. Moreover, learning on static datasets may be simply impossible in scenarios with small aggregate storage across devices. It is, therefore, necessary to design federated algorithms able to learn from data streams. In this work, we formulate and study the problem of \emph{federated learning for data streams}. We propose a general FL algorithm to learn from data streams through an opportune weighted empirical risk minimization. Our theoretical analysis provides insights to configure such an algorithm, and we evaluate its performance on a wide range of machine learning tasks.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Official code for "Federated Learning for Data Streams" (AISTATS'23)

90Jan 4, 20233 years agoApache-2.0
deep-learningfederated-learningmachine-learningpytorch

Similar Papers

Cite this paper

@article{marfoq2023federated,
  title  = {Federated Learning for Data Streams},
  author = {Othmane Marfoq and Giovanni Neglia and Laetitia Kameni and Richard Vidal},
  year   = {2023},
  eprint = {2301.01542},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.01542v1}
}

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/2301.01542.svg)](https://codeofpaper.com/paper/2301.01542)

Discussion