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 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.

[1]  X. Masip-Bruin,et al.  A Reference Architecture for Cloud–Edge Meta-Operating Systems Enabling Cross-Domain, Data-Intensive, ML-Assisted Applications: Architectural Overview and Key Concepts , 2022, Sensors.

[2]  D. Taniar,et al.  A machine-learning ensemble model for predicting energy consumption in smart homes , 2022, Internet Things.

[3]  Nguyen Tai Hung,et al.  Light-weight federated learning-based anomaly detection for time-series data in industrial control systems , 2022, Comput. Ind..

[4]  Hui Zhang,et al.  Self-Attention-Augmented Generative Adversarial Networks for Data-Driven Modeling of Nanoscale Coating Manufacturing , 2022, Micromachines.

[5]  Md Fazlay Rabbi Masum Billah,et al.  Decentralized Federated Learning Framework for the Neighborhood: A Case Study on Residential Building Load Forecasting , 2021, SenSys.

[6]  Fuxun Yu,et al.  Fed2: Feature-Aligned Federated Learning , 2021, KDD.

[7]  Giovanni Rigazzi,et al.  A Cost-Efficient 5G Non-Public Network Architectural Approach: Key Concepts and Enablers, Building Blocks and Potential Use Cases , 2021, Sensors.

[8]  Yi Wang,et al.  Electricity Consumer Characteristics Identification: A Federated Learning Approach , 2021, IEEE Transactions on Smart Grid.

[9]  Ping Wang,et al.  Fast-Convergent Federated Learning with Adaptive Weighting , 2020, ICC 2021 - IEEE International Conference on Communications.

[10]  M. Shamim Hossain,et al.  Deep Anomaly Detection for Time-Series Data in Industrial IoT: A Communication-Efficient On-Device Federated Learning Approach , 2020, IEEE Internet of Things Journal.

[11]  Richard Nock,et al.  Advances and Open Problems in Federated Learning , 2019, Found. Trends Mach. Learn..

[12]  Anit Kumar Sahu,et al.  Federated Learning: Challenges, Methods, and Future Directions , 2019, IEEE Signal Processing Magazine.

[13]  Louna Kapeta The Role of Internet of Things , 2019 .

[14]  Hubert Eichner,et al.  Towards Federated Learning at Scale: System Design , 2019, SysML.

[15]  B. B. Zaidan,et al.  A review of smart home applications based on Internet of Things , 2017, J. Netw. Comput. Appl..

[16]  Imran A. Zualkernan,et al.  A smart home energy management system using IoT and big data analytics approach , 2017, IEEE Transactions on Consumer Electronics.

[17]  Frédéric Magoulès,et al.  A review on the prediction of building energy consumption , 2012 .

[18]  Kelvin K. W. Yau,et al.  Predicting electricity energy consumption: A comparison of regression analysis, decision tree and neural networks , 2007 .

[19]  Rahul B. Hiremath,et al.  Decentralized energy planning; modeling and application—a review , 2007 .

[20]  S. Hochreiter,et al.  Long Short-Term Memory , 1997, Neural Computation.

[21]  Panagiotis Karkazis,et al.  Deep Reinforcement Learning for Energy-Efficient Multi-Channel Transmissions in 5G Cognitive HetNets: Centralized, Decentralized and Transfer Learning Based Solutions , 2021, IEEE Access.

[22]  Kire Trivodaliev,et al.  A review of Internet of Things for smart home: Challenges and solutions , 2017 .