Energy vs Privacy: Estimating the Ecological Impact of Federated Learning

被引:0
作者
Schwermer, Rene [1 ]
Mayer, Ruben [2 ]
Jacobsen, Hans-Arno [3 ]
机构
[1] Tech Univ Munich, Munich, Germany
[2] Univ Bayreuth, Bayreuth, Germany
[3] Univ Toronto, Toronto, ON, Canada
来源
PROCEEDINGS OF THE 2023 THE 14TH ACM INTERNATIONAL CONFERENCE ON FUTURE ENERGY SYSTEMS, E-ENERGY 2023 | 2023年
关键词
Federated Learning; Distributed Systems; Energy;
D O I
10.1145/3575813.3597344
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The increasing usage of edge devices and stricter data privacy regulations motivate the use of federated learning (FL). At the same time, more and more stakeholders are concerned about the ecological impact of machine learning and its associate network traffic. The current research in FL does not investigate the impact of different network constraints and privacy-enhancing techniques, such as differential privacy, on the network traffic and energy consumption of the clients. Most experiments run either on virtual machines or on one machine with simulated clients. In such environments, it is challenging to measure each client's network and energy usage. Therefore, we built our "Distributed Edge Device Testbed" (DEDT) and evaluate a convolutional neural network trained on the MNIST data set under different network constraints on DEDT, with differential privacy and with an increasing amount of participating clients. For each experiment, we quantify the network traffic, energy consumption, and training time. The results show the importance of experiments on physically separated nodes and the need to improve software-based power monitoring. The estimated energy consumption deviates by up to 35 % from the measured ones. The accuracy of the estimated network traffic depends on the monitored network interface and gives an error of 18 % for virtual machines in combination with monitoring the Ethernet interface. The training time also increases linearly with the number of participating clients.
引用
收藏
页码:347 / 352
页数:6
相关论文
共 38 条
  • [1] [Anonymous], 2013, ERCIM News
  • [2] On Purpose and by Necessity: Compliance Under the GDPR
    Basin, David
    Debois, Soren
    Hildebrandt, Thomas
    [J]. FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2018, 2018, 10957 : 20 - 37
  • [3] Bonawitz K, 2019, Arxiv, DOI arXiv:1902.01046
  • [4] Bousbiat H, 2023, Arxiv, DOI arXiv:2304.08602
  • [5] Briggs C, 2021, Arxiv, DOI [arXiv:2105.13325, DOI 10.48550/ARXIV.2105.13325]
  • [6] Council of European Union, 2016, Regulation on the Protection of Natural Persons with Regard to the Processing of Personal Data and on the Free Movement of Such Data, and Repealing Directive 95/46/EC (Data Protection Directive)
  • [7] Ferrara Pietro, 2018, ITASEC 2018 IT C CYB, P10
  • [8] Hsu TMH, 2019, Arxiv, DOI arXiv:1909.06335
  • [9] IEA, 2022, Data Centres and Data Transmission Networks
  • [10] Kaup F, 2014, C LOCAL COMPUT NETW, P236, DOI 10.1109/LCN.2014.6925777