[Paper Review] FederatedNILM: A Distributed and Privacy-preserving Framework for Non-intrusive Load Monitoring based on Federated Deep Learning
This paper proposes FederatedNILM, a novel federated deep learning framework for non-intrusive load monitoring (NILM) that enables privacy-preserving, distributed training across households without sharing raw smart meter data. By combining a state-of-the-art deep neural network with federated learning, the framework achieves high accuracy—comparable to centralized training—while ensuring data privacy through parameter-only aggregation, demonstrating strong generalization on unseen households with minimal communication overhead.
Non-intrusive load monitoring (NILM), which usually utilizes machine learning methods and is effective in disaggregating smart meter readings from the household-level into appliance-level consumptions, can help to analyze electricity consumption behaviours of users and enable practical smart energy and smart grid applications. However, smart meters are privately owned and distributed, which make real-world applications of NILM challenging. To this end, this paper develops a distributed and privacy-preserving federated deep learning framework for NILM (FederatedNILM), which combines federated learning with a state-of-the-art deep learning architecture to conduct NILM for the classification of typical states of household appliances. Through extensive comparative experiments, the effectiveness of the proposed FederatedNILM framework is demonstrated.
Motivation & Objective
- To address the challenge of training accurate NILM models when labeled data is limited and distributed across private households.
- To enable privacy-preserving model training by avoiding central collection of raw smart meter data.
- To develop a distributed learning framework that maintains high model accuracy while minimizing communication costs and protecting individual data privacy.
- To evaluate the generalization performance of the framework on unseen households with different energy usage patterns.
- To demonstrate the feasibility and effectiveness of federated learning in real-world NILM applications for smart grids.
Proposed method
- The framework employs federated learning, where local models are trained on individual households' data without transmitting raw data to a central server.
- A deep neural network architecture (noted as Centralized-NILM) is used as the base model for high-accuracy appliance state classification.
- Only updated model parameters (e.g., gradients) are exchanged between clients and the central server during training, preserving data privacy.
- The central server aggregates local model updates using FedAvg (FedAvg algorithm) to form a global model.
- The framework is evaluated on a real-world dataset with multiple households, focusing on appliance states like dishwashers and washing machines.
- Performance is measured using standard metrics: accuracy, precision, recall, and F1-score on unseen households.
Experimental results
Research questions
- RQ1Can a federated learning-based framework achieve high disaggregation accuracy for NILM without centralizing raw household energy data?
- RQ2How does the performance of the proposed FederatedNILM compare to centralized training in terms of accuracy and generalization on unseen households?
- RQ3To what extent does the federated approach preserve data privacy while maintaining model utility in NILM applications?
- RQ4What is the impact of data heterogeneity (different user behaviors) on the generalization of the FederatedNILM model?
- RQ5How does the communication efficiency of the framework compare to traditional centralized learning in practical deployments?
Key findings
- FederatedNILM achieved an F1-score of 0.78 for dishwashers and 0.92 for washing machines on unseen households, demonstrating strong generalization.
- The model's accuracy (98%) and F1-score (0.78) for dishwashers were very close to the centralized baseline (99% accuracy, 0.83 F1-score), showing minimal performance drop.
- For washing machines, FederatedNILM achieved 100% precision and 0.77 recall, with an F1-score of 0.92, outperforming most state-of-the-art models including CO and FHMM.
- The framework maintained high performance even when training data was limited and distributed, indicating strong robustness to data heterogeneity.
- Communication costs were significantly reduced compared to centralized training, as only model parameters were transmitted, not raw data.
- The results confirm that federated learning enables effective NILM with strong privacy guarantees, making it suitable for real-world smart grid applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.