Abstract

Stochastic gradient MCMC methods, such as stochastic gradient Langevin dynamics (SGLD), employ fast but noisy gradient estimates to enable large-scale posterior sampling. Although we can easily extend SGLD to distributed settings, it suffers from two issues when applied to federated non-IID data. First, the variance of these estimates increases significantly. Second, delaying communication causes the Markov chains to diverge from the true posterior even for very simple models. To alleviate both these problems, we propose conducive gradients, a simple mechanism that combines local likelihood approximations to correct gradient updates. Notably, conducive gradients are easy to compute, and since we only calculate the approximations once, they incur negligible overhead. We apply conducive gradients to distributed stochastic gradient Langevin dynamics (DSGLD) and call the resulting method federated stochastic gradient Langevin dynamics (FSGLD). We demonstrate that our approach can handle delayed communication rounds, converging to the target posterior in cases where DSGLD fails. We also show that FSGLD outperforms DSGLD for non-IID federated data with experiments on metric learning and neural networks.
Original languageEnglish
Title of host publicationProceedings of the Thirty-Seventh Conference on Uncertainty in Artificial Intelligence
PublisherJMLR
Pages1703-1712
Number of pages10
Publication statusPublished - Dec 2021
MoE publication typeA4 Conference publication
EventConference on Uncertainty in Artificial Intelligence - Virtual, Online
Duration: 27 Jul 202129 Jul 2021
https://auai.org/uai2021/

Publication series

NameProceedings of Machine Learning Research
PublisherPMLR
Number161
ISSN (Electronic)2640-3498

Conference

ConferenceConference on Uncertainty in Artificial Intelligence
Abbreviated titleUAI
CityVirtual, Online
Period27/07/202129/07/2021
Internet address

Fingerprint

Dive into the research topics of 'Federated Stochastic Gradient Langevin Dynamics'. Together they form a unique fingerprint.
  • Interactive machine learning from multiple biodata sources

    Kaski, S. (Principal investigator), Hämäläinen, A. (Project Member), Gadd, C. (Project Member), Hegde, P. (Project Member), Shen, Z. (Project Member), Siren, J. (Project Member), Trinh, T. (Project Member), Jain, A. (Project Member) & Jälkö, J. (Project Member)

    01/01/201931/08/2021

    Project: Academy of Finland: Other research funding

  • -: Finnish Center for Artificial Intelligence

    Kaski, S. (Principal investigator)

    01/01/201931/12/2022

    Project: Academy of Finland: Other research funding

  • Interactive machine learning from multiple biodata sources

    Kaski, S. (Principal investigator), Reinvall, J. (Project Member), Chen, Y. (Project Member), Daee, P. (Project Member), Qin, X. (Project Member), Jälkö, J. (Project Member), Pesonen, H. (Project Member), Blomstedt, P. (Project Member), Eranti, P. (Project Member), Hegde, P. (Project Member), Siren, J. (Project Member), Peltola, T. (Project Member), Celikok, M. M. (Project Member), Sundin, I. (Project Member), Kangas, J.-K. (Project Member), Afrabandpey, H. (Project Member), Honkamaa, J. (Project Member), Shen, Z. (Project Member) & Aushev, A. (Project Member)

    01/01/201631/12/2018

    Project: Academy of Finland: Other research funding

Cite this