基于联邦学习的智能校园应用中间件

Lucas Emanuel B. Dos Santos, R. G. S. Ramos, R. Gomes, Paulo Ribeiro Lins, A. Santos
{"title":"基于联邦学习的智能校园应用中间件","authors":"Lucas Emanuel B. Dos Santos, R. G. S. Ramos, R. Gomes, Paulo Ribeiro Lins, A. Santos","doi":"10.1145/3539637.3558046","DOIUrl":null,"url":null,"abstract":"Federated Learning is a collaborative and distributed approach to creating Machine Learning models using data from several devices in an Internet of Things (IoT) network, maintaining anonymity and privacy, with potential to reduce the computational overhead to build these models and cope with the low communication capacity of these networks. In a Federated Learning system, a centralized service (aggregator) generates an arbitrary global model and sends it to the distributed components (workers), which train this model locally with their data. Then the workers send their local models to the aggregator, which unifies the local models into a new global model, in a process that can be repeated as often as necessary. In this context, this article proposes a middleware to simplify the development and deployment of Federated Learning models to IoT applications, focusing on Smart Campus scenarios. Using the abstraction provided by the middleware, the applications can easily authenticate as a new node, use the available models, and collaborate on models creation or evolution, without worrying about specific implementation details regarding the communication between the components, and the use of Machine Learning algorithms and frameworks. As a case study to validate the middleware concept and its initial implementation, an application for forecasting energy consumption is described, using an open dataset from different scenarios as input. In the evaluation described in this article, the Federated Learning model allowed a 60% reduction in the number of iterations to outperform a Long Short-Time Memory model trained by a standard Machine Learning system, with a R2 score of 0.98.","PeriodicalId":350776,"journal":{"name":"Proceedings of the Brazilian Symposium on Multimedia and the Web","volume":"47 3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Middleware for Smart Campus applications based in Federated Learning\",\"authors\":\"Lucas Emanuel B. Dos Santos, R. G. S. Ramos, R. Gomes, Paulo Ribeiro Lins, A. Santos\",\"doi\":\"10.1145/3539637.3558046\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Federated Learning is a collaborative and distributed approach to creating Machine Learning models using data from several devices in an Internet of Things (IoT) network, maintaining anonymity and privacy, with potential to reduce the computational overhead to build these models and cope with the low communication capacity of these networks. In a Federated Learning system, a centralized service (aggregator) generates an arbitrary global model and sends it to the distributed components (workers), which train this model locally with their data. Then the workers send their local models to the aggregator, which unifies the local models into a new global model, in a process that can be repeated as often as necessary. In this context, this article proposes a middleware to simplify the development and deployment of Federated Learning models to IoT applications, focusing on Smart Campus scenarios. Using the abstraction provided by the middleware, the applications can easily authenticate as a new node, use the available models, and collaborate on models creation or evolution, without worrying about specific implementation details regarding the communication between the components, and the use of Machine Learning algorithms and frameworks. As a case study to validate the middleware concept and its initial implementation, an application for forecasting energy consumption is described, using an open dataset from different scenarios as input. In the evaluation described in this article, the Federated Learning model allowed a 60% reduction in the number of iterations to outperform a Long Short-Time Memory model trained by a standard Machine Learning system, with a R2 score of 0.98.\",\"PeriodicalId\":350776,\"journal\":{\"name\":\"Proceedings of the Brazilian Symposium on Multimedia and the Web\",\"volume\":\"47 3 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-11-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the Brazilian Symposium on Multimedia and the Web\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3539637.3558046\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Brazilian Symposium on Multimedia and the Web","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3539637.3558046","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

联邦学习是一种协作和分布式方法,用于使用来自物联网(IoT)网络中多个设备的数据创建机器学习模型,保持匿名性和隐私性,有可能减少构建这些模型的计算开销,并应对这些网络的低通信容量。在联邦学习系统中,集中式服务(聚合器)生成任意的全局模型,并将其发送给分布式组件(工作者),后者使用自己的数据在本地训练该模型。然后工人将他们的本地模型发送给聚合器,聚合器将本地模型统一为一个新的全局模型,这个过程可以根据需要经常重复。在这种情况下,本文提出了一种中间件,以简化联邦学习模型在物联网应用程序中的开发和部署,重点关注智能校园场景。使用中间件提供的抽象,应用程序可以轻松地作为新节点进行身份验证,使用可用的模型,并在模型创建或演化上进行协作,而无需担心有关组件之间通信的具体实现细节,以及机器学习算法和框架的使用。作为验证中间件概念及其初始实现的案例研究,本文描述了一个预测能耗的应用程序,该应用程序使用来自不同场景的开放数据集作为输入。在本文描述的评估中,联邦学习模型允许迭代次数减少60%,优于由标准机器学习系统训练的长短时记忆模型,R2得分为0.98。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Middleware for Smart Campus applications based in Federated Learning
Federated Learning is a collaborative and distributed approach to creating Machine Learning models using data from several devices in an Internet of Things (IoT) network, maintaining anonymity and privacy, with potential to reduce the computational overhead to build these models and cope with the low communication capacity of these networks. In a Federated Learning system, a centralized service (aggregator) generates an arbitrary global model and sends it to the distributed components (workers), which train this model locally with their data. Then the workers send their local models to the aggregator, which unifies the local models into a new global model, in a process that can be repeated as often as necessary. In this context, this article proposes a middleware to simplify the development and deployment of Federated Learning models to IoT applications, focusing on Smart Campus scenarios. Using the abstraction provided by the middleware, the applications can easily authenticate as a new node, use the available models, and collaborate on models creation or evolution, without worrying about specific implementation details regarding the communication between the components, and the use of Machine Learning algorithms and frameworks. As a case study to validate the middleware concept and its initial implementation, an application for forecasting energy consumption is described, using an open dataset from different scenarios as input. In the evaluation described in this article, the Federated Learning model allowed a 60% reduction in the number of iterations to outperform a Long Short-Time Memory model trained by a standard Machine Learning system, with a R2 score of 0.98.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信