Roberto Morcillo-Jimenez , Jose M. Rivas , M. Dolores Ruiz , Maria J. Martin-Bautista , Carlos Fernandez-Basso
{"title":"Privacy-preserving energy analytics in smart offices via container-based Federated Learning","authors":"Roberto Morcillo-Jimenez , Jose M. Rivas , M. Dolores Ruiz , Maria J. Martin-Bautista , Carlos Fernandez-Basso","doi":"10.1016/j.iot.2025.101782","DOIUrl":null,"url":null,"abstract":"<div><div>Federated Learning (FL) has emerged as a promising paradigm to enable privacy-preserving machine learning across distributed IoT devices. This work relies on <em>SimulaFed</em>, a container-based in-simulation framework for FL that is readily applicable to IoT scenarios. It leverages real-world energy data from an office building in which environmental and occupancy parameters were monitored by an IoT system. Our framework performs distributed model training that preserves occupant privacy without incurring prohibitive communication overhead and benchmarks four aggregation rules–Federated Averaging (FedAvg), Federated Proximal (FedProx), FedAdam, and <span>SCAFFOLD</span>.</div><div>Using <span><math><mo>≈</mo></math></span><strong> <!-->262<!--> <!-->000</strong> hourly windows and a lightweight 1-D CNN (<span><math><mo>≈</mo></math></span> <!--> <!-->0.35<!--> <!-->M parameters; 354<!--> <!-->488 weights), we benchmarked four aggregation rules. <strong>FedProx</strong>, with a tuned proximity term (<span><math><mrow><mi>μ</mi><mo>=</mo><mn>0</mn><mo>.</mo><mn>05</mn></mrow></math></span>), achieved the lowest MAE: <strong>0.755 ± 0.000</strong>, marginally ahead of FedAvg <strong>(0.764 ± 0.084)</strong> by 1.2%. <span>SCAFFOLD</span> delivered accuracy comparable to FedAvg (MAE <span><math><mrow><mn>0</mn><mo>.</mo><mn>771</mn><mo>±</mo><mn>0</mn><mo>.</mo><mn>042</mn></mrow></math></span>) but with a higher runtime footprint; FedAdam increased computational cost without accuracy gains. Each update payload is about 1.4<!--> <!-->MB per client; across 17 clients and 10 rounds (upload + broadcast) this totals <span><math><mo>≈</mo></math></span><strong>480<!--> <!-->MB</strong>. Detailed CPU/memory telemetry is reported in Section 4 and Table 13.</div><div>These results confirm the viability of <em>SimulaFed</em> as a rapid-prototyping platform for energy-aware FL in smart offices, paving the way for deployments that balance data confidentiality, prediction accuracy and resource usage.</div></div>","PeriodicalId":29968,"journal":{"name":"Internet of Things","volume":"34 ","pages":"Article 101782"},"PeriodicalIF":7.6000,"publicationDate":"2025-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Internet of Things","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2542660525002963","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Federated Learning (FL) has emerged as a promising paradigm to enable privacy-preserving machine learning across distributed IoT devices. This work relies on SimulaFed, a container-based in-simulation framework for FL that is readily applicable to IoT scenarios. It leverages real-world energy data from an office building in which environmental and occupancy parameters were monitored by an IoT system. Our framework performs distributed model training that preserves occupant privacy without incurring prohibitive communication overhead and benchmarks four aggregation rules–Federated Averaging (FedAvg), Federated Proximal (FedProx), FedAdam, and SCAFFOLD.
Using 262 000 hourly windows and a lightweight 1-D CNN ( 0.35 M parameters; 354 488 weights), we benchmarked four aggregation rules. FedProx, with a tuned proximity term (), achieved the lowest MAE: 0.755 ± 0.000, marginally ahead of FedAvg (0.764 ± 0.084) by 1.2%. SCAFFOLD delivered accuracy comparable to FedAvg (MAE ) but with a higher runtime footprint; FedAdam increased computational cost without accuracy gains. Each update payload is about 1.4 MB per client; across 17 clients and 10 rounds (upload + broadcast) this totals 480 MB. Detailed CPU/memory telemetry is reported in Section 4 and Table 13.
These results confirm the viability of SimulaFed as a rapid-prototyping platform for energy-aware FL in smart offices, paving the way for deployments that balance data confidentiality, prediction accuracy and resource usage.
期刊介绍:
Internet of Things; Engineering Cyber Physical Human Systems is a comprehensive journal encouraging cross collaboration between researchers, engineers and practitioners in the field of IoT & Cyber Physical Human Systems. The journal offers a unique platform to exchange scientific information on the entire breadth of technology, science, and societal applications of the IoT.
The journal will place a high priority on timely publication, and provide a home for high quality.
Furthermore, IOT is interested in publishing topical Special Issues on any aspect of IOT.