paper-with-me

Papers

Federated Automatic Differentiation

2023-01-18 · Keith Rush, Zachary Charles, Zachary Garrett

Federated learning (FL) is a general framework for learning across an axis of group partitioned data (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.

📄 PDF Abstract BibTeX arXiv:2301.07806

Code (0)

등록된 구현이 없습니다.

Tasks

FADFederated LearningPrivacy Preserving

Similar Papers 제목 키워드 기반

Communication-Efficient Federated Hypergradient Computation via Aggregated Iterative Differentiation

2023-02-09 · Peiyao Xiao, Kaiyi Ji

Federated bilevel optimization has attracted increasing attention due to emerging machine learning and communication applications. The biggest challenge lies in computing the gradient of the upper-level objective functio…

Bilevel Optimization

A scheme for automatic differentiation of complex loss functions

2020-03-02 · Chu Guo, Dario Poletti

For a real function, automatic differentiation is such a standard algorithm used to efficiently compute its gradient, that it is integrated in various neural network frameworks. However, despite the recent advances in us…

BIG-bench Machine Learning

Automatic Differentiation of Algorithms for Machine Learning

2014-04-28 · Atilim Gunes Baydin, Barak A. Pearlmutter

Automatic differentiation---the mechanical transformation of numeric computer programs to calculate derivatives efficiently and accurately---dates to the origin of the computer age. Reverse mode automatic differentiation…

BIG-bench Machine Learning

On the Equivalence of Automatic and Symbolic Differentiation

2019-04-05 · Soeren Laue

We show that reverse mode automatic differentiation and symbolic differentiation are equivalent in the sense that they both perform the same operations when computing derivatives. This is in stark contrast to the common …

Source-to-Source Automatic Differentiation of OpenMP Parallel Loops

2021-11-02 · Jan Hückelheim, Laurent Hascoët

This paper presents our work toward correct and efficient automatic differentiation of OpenMP parallel worksharing loops in forward and reverse mode. Automatic differentiation is a method to obtain gradients of numerical…

Uncertainty Quantification