Federated Automatic Differentiation

01/18/2023
by   Keith Rush, et al.
0

Federated learning (FL) is a general framework for learning across heterogeneous clients while preserving data privacy, under the orchestration of a central server. FL methods often compute gradients of loss functions purely locally (ie. entirely at each client, or entirely at the server), typically using automatic differentiation (AD) techniques. We propose a federated automatic differentiation (FAD) framework that 1) enables computing derivatives of functions involving client and server computation as well as communication between them and 2) operates in a manner compatible with existing federated technology. In other words, FAD computes derivatives across communication boundaries. We show, in analogy with traditional AD, that FAD may be implemented using various accumulation modes, which introduce distinct computation-communication trade-offs and systems requirements. Further, we show that a broad class of federated computations is closed under these various modes of FAD, implying in particular that if the original computation can be implemented using privacy-preserving primitives, its derivative may be computed using only these same primitives. We then show how FAD can be used to create algorithms that dynamically learn components of the algorithm itself. In particular, we show that FedAvg-style algorithms can exhibit significantly improved performance by using FAD to adjust the server optimization step automatically, or by using FAD to learn weighting schemes for computing weighted averages across clients.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/19/2022

Federated Select: A Primitive for Communication- and Memory-Efficient Federated Learning

Federated learning (FL) is a framework for machine learning across heter...
research
07/12/2022

Efficient and Privacy Preserving Group Signature for Federated Learning

Federated Learning (FL) is a Machine Learning (ML) technique that aims t...
research
06/30/2023

High-throughput Simulation of Federated Learning via Resource-Aware Client Placement

Federated Learning (FL) is the privacy-preserving machine learning parad...
research
08/17/2020

Shuffled Model of Federated Learning: Privacy, Communication and Accuracy Trade-offs

We consider a distributed empirical risk minimization (ERM) optimization...
research
01/29/2020

FOCUS: Dealing with Label Quality Disparity in Federated Learning

Ubiquitous systems with End-Edge-Cloud architecture are increasingly bei...
research
06/14/2021

Federated Myopic Community Detection with One-shot Communication

In this paper, we study the problem of recovering the community structur...

Please sign up or login with your details

Forgot password? Click here to reset