ns3-fl: Simulating Federated Learning with ns-3

被引:6
作者
Ekaireb, Emily [1 ]
Yu, Xiaofan [1 ]
Ergun, Kazim [1 ]
Zhao, Quanling [1 ]
Lee, Kai [1 ]
Huzaifa, Muhammad [1 ]
机构
[1] Univ Calif San Diego, La Jolla, CA 92093 USA
来源
PROCEEDING OF THE 2022 WORKSHOP ON NS-3, WNS3 2022 | 2022年
基金
美国国家科学基金会;
关键词
federated learning; ns-3; network simulation;
D O I
10.1145/3532577.3532591
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In recent years, there has been a spike in interest in the field of federated learning (FL). As a result, an increasing number of federated learning algorithms have been developed. Large-scale deployments to validate these algorithms are often not feasible, resulting in a need for simulation tools which closely emulate real deployment conditions. Existing federated learning simulators lack complex network settings, and instead focus on data and algorithmic development. ns-3 is a discrete event network simulator, which has a plethora of models to represent network components and can simulate complex networking scenarios. In this paper, we present ns3-fl, which is a tool that connects an existing FL simulator, flsim, with ns-3 to produce a federated learning simulator that considers data, algorithm, and network. We first discuss the learning, network and power models used to develop our tool. We then present an overview of our implementation, including the Client/Server ns-3 applications and interprocess communication protocols. A real Raspberry Pi-based deployment is setup to validate our tool. Finally, we perform a simulation emulating FL training on 40 clients throughout the UCSD campus and analyze the performance of our tool, in terms of real clock execution time for various FL rounds.
引用
收藏
页码:97 / 104
页数:8
相关论文
共 27 条
  • [21] Raspberry Pi 400, Raspberry Pi 400
  • [22] Raspberry Pi 4B, Raspberry Pi 4B
  • [23] Wang H, 2020, IEEE INFOCOM SER, P1698, DOI [10.1109/INFOCOM41043.2020.9155494, 10.1109/infocom41043.2020.9155494]
  • [24] Xiao H, 2017, Arxiv, DOI arXiv:1708.07747
  • [25] Xie C, 2020, Arxiv, DOI arXiv:1903.03934
  • [26] Energy Efficient Federated Learning Over Wireless Communication Networks
    Yang, Zhaohui
    Chen, Mingzhe
    Saad, Walid
    Hong, Choong Seon
    Shikh-Bahaei, Mohammad
    [J]. IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2021, 20 (03) : 1935 - 1949
  • [27] The Implementation Path and Policy Rules for Chinese Local Government's Collaboration
    Zhang Lin
    Yang Yi
    [J]. PROCEEDINGS OF 2010 INTERNATIONAL CONFERENCE ON PUBLIC ADMINISTRATION (6TH), VOL II, 2010, : 105 - 109