Federated Learning at the Edge: An Interplay of Mini-batch Size and Aggregation Frequency
Authors:
- 20 May 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Abstract
Federated Learning (FL) is a distributed learning paradigm that can coordinate heterogeneous edge devices to perform model training without sharing private raw data. Prior works on the convergence analysis of FL have focused on mini-batch size and aggregation frequency separately. However, increasing the batch size and the number of local updates can differently affect model performance and system overhead. This paper proposes a novel model in quantifying the interplay of FL mini-batch size and aggregation frequency to navigate the unique trade-offs among convergence, completion time, and resource cost. We obtain a new convergence bound for synchronous FL with respect to these decision variables under heterogeneous training datasets at different devices. Based on this bound, we derive closed-form solutions for co-optimized mini-batch size and aggregation frequency, uniformly among devices. We then design an efficient exact algorithm to optimize heterogeneous mini-batch configurations, further improving the model accuracy. An adaptive control algorithm is also proposed to dynamically adjust the batch sizes and the number of local updates per round. Extensive experiments demonstrate the superiority of our offline optimized solutions and online adaptive algorithm.Keywords
This publication has 15 references indexed in Scilit:
- Energy-Efficient Resource Management for Federated Edge Learning With CPU-GPU Heterogeneous ComputingIEEE Transactions on Wireless Communications, 2021
- Cost-Effective Federated Learning Design2021
- Adaptive Batchsize Selection and Gradient Compression for Wireless Federated Learning2020
- Green AICommunications of the ACM, 2020
- Multi-Armed Bandit-Based Client Scheduling for Federated LearningIEEE Transactions on Wireless Communications, 2020
- Optimizing Federated Learning on Non-IID Data with Reinforcement Learning2020
- Machine Learning on Volatile Instances2020
- Device Scheduling with Fast Convergence for Wireless Federated Learning2020
- Broadband Analog Aggregation for Low-Latency Federated Edge LearningIEEE Transactions on Wireless Communications, 2019
- Adaptive Federated Learning in Resource Constrained Edge Computing SystemsIEEE Journal on Selected Areas in Communications, 2019