Energy vs Privacy: Estimating the Ecological Impact of Federated Learning

René Schwermer, R. Mayer, H. Jacobsen
{"title":"Energy vs Privacy: Estimating the Ecological Impact of Federated Learning","authors":"René Schwermer, R. Mayer, H. Jacobsen","doi":"10.1145/3575813.3597344","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":359352,"journal":{"name":"Proceedings of the 14th ACM International Conference on Future Energy Systems","volume":"55 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 14th ACM International Conference on Future Energy Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3575813.3597344","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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.
能源vs隐私:估算联邦学习的生态影响
越来越多的边缘设备的使用和更严格的数据隐私法规促使使用联邦学习(FL)。与此同时,越来越多的利益相关者关注机器学习及其相关网络流量的生态影响。目前的研究并没有研究不同的网络约束和隐私增强技术(如差分隐私)对客户端的网络流量和能耗的影响。大多数实验要么在虚拟机上运行,要么在一台带有模拟客户机的机器上运行。在这样的环境中,测量每个客户端的网络和能源使用是具有挑战性的。因此,我们构建了我们的“分布式边缘设备测试平台”(Distributed Edge Device Testbed, DEDT),并在不同的DEDT网络约束下评估了一个在MNIST数据集上训练的卷积神经网络,具有不同的隐私性和越来越多的参与客户端。对于每个实验,我们量化了网络流量、能耗和训练时间。结果表明,在物理分离的节点上进行实验的重要性以及改进基于软件的电力监测的必要性。估计的能耗与测量值相差高达35%。估计网络流量的准确性取决于被监视的网络接口,并且在结合监视以太网接口的情况下,虚拟机的误差为18%。培训时间也随着参与客户数量的增加而线性增加。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信