Adaptive Batch Size for Federated Learning in Resource-Constrained Edge Computing

被引:51
作者
Ma, Zhenguo [1 ,2 ]
Xu, Yang [1 ,2 ]
Xu, Hongli [1 ,2 ]
Meng, Zeyu [3 ]
Huang, Liusheng [1 ,2 ]
Xue, Yinxing [1 ,2 ]
机构
[1] Univ Sci & Technol China, Sch Comp Sci & Technol, Hefei 230027, Anhui, Peoples R China
[2] Univ Sci & Technol China, Suzhou Inst Adv Study, Suzhou 215123, Jiangsu, Peoples R China
[3] Univ Sci & Technol China, Sch Cyberspace Secur, Hefei 230027, Anhui, Peoples R China
基金
美国国家科学基金会;
关键词
Edge computing; resource-constrained; federated learning; synchronization barrier; adaptive batch size; MOBILE; BACK;
D O I
10.1109/TMC.2021.3075291
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The emerging Federated Learning (FL) enables IoT devices to collaboratively learn a shared model based on their local datasets. However, due to end devices' heterogeneity, it will magnify the inherent synchronization barrier issue of FL and result in non-negligible waiting time when local models are trained with the identical batch size. Moreover, the useless waiting time will further lead to a great strain on devices' limited battery life. Herein, we aim to alleviate the negative impact of synchronization barrier through adaptive batch size during model training. When using different batch sizes, stability and convergence of the global model should be enforced by assigning appropriate learning rates on different devices. Therefore, we first study the relationship between batch size and learning rate, and formulate a scaling rule to guide the setting of learning rate in terms of batch size. Then we theoretically analyze the convergence rate of global model and obtain a convergence upper bound. On these bases, we propose an efficient algorithm that adaptively adjusts batch size with scaled learning rate for heterogeneous devices to reduce the waiting time and save battery life. We conduct extensive simulations and testbed experiments, and the experimental results demonstrate the effectiveness of our method.
引用
收藏
页码:37 / 53
页数:17
相关论文
共 61 条
[1]  
Abadi M, 2016, PROCEEDINGS OF OSDI'16: 12TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P265
[2]  
Abedin SF, 2015, 2015 INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING (ICOIN), P177, DOI 10.1109/ICOIN.2015.7057878
[3]   Device free human gesture recognition using Wi-Fi CSI: A survey [J].
Ahmed, Hasmath Farhana Thariq ;
Ahmad, Hafisoh ;
Aravind, C., V .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2020, 87
[4]  
Ananthanarayanan G., 2019, P 17 ANN INT C MOB S, P695, DOI DOI 10.1145/3307334.3328589
[5]   Convex Optimization: Algorithms and Complexity [J].
不详 .
FOUNDATIONS AND TRENDS IN MACHINE LEARNING, 2015, 8 (3-4) :232-+
[6]  
[Anonymous], 2017, P IEEE 4 INT C CYB S
[7]  
Balles L, 2017, CONFERENCE ON UNCERTAINTY IN ARTIFICIAL INTELLIGENCE (UAI2017)
[8]  
Bonawitz K, 2019, Arxiv, DOI arXiv:1902.01046
[9]  
Caldas S., 2018, arXiv
[10]  
Calo SB, 2017, IEEE INT CONF BIG DA, P3012, DOI 10.1109/BigData.2017.8258272