Data Aging Matters: Federated Learning-Based Consumption Prediction in Smart Homes via Age-Based Model Weighting
Smart homes, powered mostly by Internet of Things (IoT) devices, have become very popular nowadays due to their ability to provide a holistic approach towards effective energy management. This is made feasible via the deployment of multiple sensors, which enables predicting energy consumption via ma...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2023-07-01
|
Series: | Electronics |
Subjects: | |
Online Access: | https://www.mdpi.com/2079-9292/12/14/3054 |
_version_ | 1797589554825265152 |
---|---|
author | Konstantinos Skianis Anastasios Giannopoulos Panagiotis Gkonis Panagiotis Trakadas |
author_facet | Konstantinos Skianis Anastasios Giannopoulos Panagiotis Gkonis Panagiotis Trakadas |
author_sort | Konstantinos Skianis |
collection | DOAJ |
description | Smart homes, powered mostly by Internet of Things (IoT) devices, have become very popular nowadays due to their ability to provide a holistic approach towards effective energy management. This is made feasible via the deployment of multiple sensors, which enables predicting energy consumption via machine learning approaches. In this work, we propose FedTime, a novel federated learning approach for predicting smart home consumption which takes into consideration the age of the time series datasets of each client. The proposed method is based on federated averaging but aggregates local models trained on each smart home device to produce a global prediction model via a novel weighting scheme. Each local model contributes more to the global model when the local data are more recent, or penalized when the data are older upon testing for a specific residence (client). The approach was evaluated on a real-world dataset of smart home energy consumption and compared with other machine learning models. The results demonstrate that the proposed method performs similarly or better than other models in terms of prediction error; FedTime achieved a lower mean absolute error of 0.25 compared to FedAvg. The contributions of this work present a novel federated learning approach that takes into consideration the age of the datasets that belong to the clients, experimenting with a publicly available dataset on grid import consumption prediction, while comparing with centralized and decentralized baselines, without the need for data centralization, which is a privacy concern for many households. |
first_indexed | 2024-03-11T01:08:13Z |
format | Article |
id | doaj.art-ce8820b98e6344949c0e6f9ecdaa57df |
institution | Directory Open Access Journal |
issn | 2079-9292 |
language | English |
last_indexed | 2024-03-11T01:08:13Z |
publishDate | 2023-07-01 |
publisher | MDPI AG |
record_format | Article |
series | Electronics |
spelling | doaj.art-ce8820b98e6344949c0e6f9ecdaa57df2023-11-18T19:05:09ZengMDPI AGElectronics2079-92922023-07-011214305410.3390/electronics12143054Data Aging Matters: Federated Learning-Based Consumption Prediction in Smart Homes via Age-Based Model WeightingKonstantinos Skianis0Anastasios Giannopoulos1Panagiotis Gkonis2Panagiotis Trakadas3Department of Ports Management and Shipping, National and Kapodistrian University of Athens, 34400 Psachna, GreeceDepartment of Ports Management and Shipping, National and Kapodistrian University of Athens, 34400 Psachna, GreeceDepartment of Digital Industry Technologies, National and Kapodistrian University of Athens, 34400 Psachna, GreeceDepartment of Ports Management and Shipping, National and Kapodistrian University of Athens, 34400 Psachna, GreeceSmart homes, powered mostly by Internet of Things (IoT) devices, have become very popular nowadays due to their ability to provide a holistic approach towards effective energy management. This is made feasible via the deployment of multiple sensors, which enables predicting energy consumption via machine learning approaches. In this work, we propose FedTime, a novel federated learning approach for predicting smart home consumption which takes into consideration the age of the time series datasets of each client. The proposed method is based on federated averaging but aggregates local models trained on each smart home device to produce a global prediction model via a novel weighting scheme. Each local model contributes more to the global model when the local data are more recent, or penalized when the data are older upon testing for a specific residence (client). The approach was evaluated on a real-world dataset of smart home energy consumption and compared with other machine learning models. The results demonstrate that the proposed method performs similarly or better than other models in terms of prediction error; FedTime achieved a lower mean absolute error of 0.25 compared to FedAvg. The contributions of this work present a novel federated learning approach that takes into consideration the age of the datasets that belong to the clients, experimenting with a publicly available dataset on grid import consumption prediction, while comparing with centralized and decentralized baselines, without the need for data centralization, which is a privacy concern for many households.https://www.mdpi.com/2079-9292/12/14/3054federated learningenergy consumptionsmart homes |
spellingShingle | Konstantinos Skianis Anastasios Giannopoulos Panagiotis Gkonis Panagiotis Trakadas Data Aging Matters: Federated Learning-Based Consumption Prediction in Smart Homes via Age-Based Model Weighting Electronics federated learning energy consumption smart homes |
title | Data Aging Matters: Federated Learning-Based Consumption Prediction in Smart Homes via Age-Based Model Weighting |
title_full | Data Aging Matters: Federated Learning-Based Consumption Prediction in Smart Homes via Age-Based Model Weighting |
title_fullStr | Data Aging Matters: Federated Learning-Based Consumption Prediction in Smart Homes via Age-Based Model Weighting |
title_full_unstemmed | Data Aging Matters: Federated Learning-Based Consumption Prediction in Smart Homes via Age-Based Model Weighting |
title_short | Data Aging Matters: Federated Learning-Based Consumption Prediction in Smart Homes via Age-Based Model Weighting |
title_sort | data aging matters federated learning based consumption prediction in smart homes via age based model weighting |
topic | federated learning energy consumption smart homes |
url | https://www.mdpi.com/2079-9292/12/14/3054 |
work_keys_str_mv | AT konstantinosskianis dataagingmattersfederatedlearningbasedconsumptionpredictioninsmarthomesviaagebasedmodelweighting AT anastasiosgiannopoulos dataagingmattersfederatedlearningbasedconsumptionpredictioninsmarthomesviaagebasedmodelweighting AT panagiotisgkonis dataagingmattersfederatedlearningbasedconsumptionpredictioninsmarthomesviaagebasedmodelweighting AT panagiotistrakadas dataagingmattersfederatedlearningbasedconsumptionpredictioninsmarthomesviaagebasedmodelweighting |