Perfednilm: a practical personalized federated learning-based non-intrusive load monitoring

Zibin Pan, Haosheng Wang, Chi Li, Haijin Wang, Junhua Zhao

Abstract

Non-Intrusive Load Monitoring (NILM) enables energy disaggregation from a single point of measurement, but raises significant privacy concerns regarding household data. This paper presents PerFedNILM, a personalized federated learning framework designed to address the challenges of slow convergence, poor personalization, and client dropout in NILM. By integrating proximal regularization, conflict-free personalization, and historical reweighting, PerFedNILM achieves superior accuracy and robustness compared to traditional federated learning methods.

Introduction

Non-Intrusive Load Monitoring (NILM) is a critical technology for smart grids, allowing for the identification of individual appliance energy consumption from a single aggregate power signal. However, the transmission of high-resolution power data to central servers poses severe privacy risks. Federated Learning (FL) has emerged as a promising privacy-preserving alternative, where models are trained locally on edge devices.

Despite its potential, standard FL faces three major hurdles in NILM:

  1. Non-IID Data: Households have diverse appliance types and usage patterns, making a single global model suboptimal.
  2. Communication Efficiency: Standard FL often suffers from slow convergence.
  3. Client Dropout: Edge devices are frequently offline, leading to the loss of valuable local information.

Methodology

PerFedNILM is built on a decentralized training paradigm where data remains on local devices. The framework coordinates multiple clients to train a global model through iterative communication rounds.

The PerFedNILM federated learning framework showing local training and global aggregation.

Model Architecture

At the core of each client is the Seq2point architecture, a convolutional neural network (CNN) designed for sequence-to-point energy disaggregation. Unlike traditional approaches that require separate models for each appliance, this framework utilizes a shared multi-output model to improve efficiency on resource-constrained devices.

The Seq2point CNN architecture used for energy disaggregation.

Algorithmic Innovations

To overcome the identified hurdles, PerFedNILM introduces three key strategies:

  • Proximal Regularization: A proximal term is added to the local loss function to prevent local models from diverging too far from the global model, stabilizing training and accelerating convergence.
  • Conflict-Free Personalization: The system identifies a personalization direction for each client that maximizes local performance while ensuring it does not conflict with the global model's update direction.
  • Historical Reweighting for Dropout: To mitigate the impact of intermittent connectivity, the framework employs a participation-rate-based reweighting scheme. This allows the global model to retain information from offline clients based on their historical contributions.

Experimental Results

The framework was evaluated using the REFIT electrical load dataset, focusing on six common appliances: freezer, fridge, washing machine, television, microwave, and kettle.

Performance and Robustness

PerFedNILM consistently outperformed standard Federated NILM (Fed-NILM) across various metrics. In a scenario with 32 clients, PerFedNILM reached a "Total" appliance F1-score of 0.866, compared to 0.821 for standard Fed-NILM.

Despite these gains, certain appliances like washing machines and kettles remain challenging to disaggregate due to their complex power cycles; PerFedNILM achieved an F1-score of approximately 0.25 for washing machines.

The model demonstrated remarkable robustness to client dropout. Even when only 25% of clients participated in each round, PerFedNILM maintained stable performance, whereas standard methods experienced significant degradation. Furthermore, the inclusion of proximal regularization led to faster convergence, reducing the number of communication rounds required.

Conclusion

PerFedNILM provides a practical and efficient solution for privacy-preserving energy disaggregation. By addressing the unique challenges of non-IID data and unreliable network conditions in NILM, it paves the way for real-world deployment of smart metering technologies. Future research will focus on optimizing the framework for low-power hardware and exploring advanced architectures like Stochastic Configuration Machines to further reduce computational overhead.

Summary updated

BibTeX
@article{pan2024perfednilm,
  author = {Zibin Pan and Haosheng Wang and Chi Li and Haijin Wang and Junhua Zhao},
  title = {{Perfednilm: a practical personalized federated learning-based non-intrusive load monitoring}},
  journal = {Ind. Artif. Intell.},
  year = {2024},
  doi = {10.1007/s44244-024-00016-8},
}
Figure