Skip to main content
QUICK REVIEW

[Paper Review] FedNILM: Applying Federated Learning to NILM Applications at the Edge

Yu Zhang, Guoming Tang|arXiv (Cornell University)|Jun 7, 2021
Smart Grid Energy ManagementEngineering6 citations
TL;DR

FedNILM proposes a federated learning framework for privacy-preserving, personalized non-intrusive load monitoring (NILM) at edge devices, combining model compression via filter pruning and multi-task learning with unsupervised transfer learning for personalization. It achieves state-of-the-art disaggregation accuracy on real-world data while preserving user privacy and operating efficiently on low-end edge hardware.

ABSTRACT

Non-intrusive load monitoring (NILM) helps disaggregate the household's main electricity consumption to energy usages of individual appliances, thus greatly cutting down the cost in fine-grained household load monitoring. To address the arisen privacy concern in NILM applications, federated learning (FL) could be leveraged for NILM model training and sharing. When applying the FL paradigm in real-world NILM applications, however, we are faced with the challenges of edge resource restriction, edge model personalization and edge training data scarcity. In this paper we present FedNILM, a practical FL paradigm for NILM applications at the edge client. Specifically, FedNILM is designed to deliver privacy-preserving and personalized NILM services to large-scale edge clients, by leveraging i) secure data aggregation through federated learning, ii) efficient cloud model compression via filter pruning and multi-task learning, and iii) personalized edge model building with unsupervised transfer learning. Our experiments on real-world energy data show that, FedNILM is able to achieve personalized energy disaggregation with the state-of-the-art accuracy, while ensuring privacy preserving at the edge client.

Motivation & Objective

  • To address privacy concerns in non-intrusive load monitoring (NILM) by enabling model training without centralizing user data.
  • To overcome edge device limitations such as low computation, memory, and bandwidth for deploying deep learning models.
  • To improve model generalization and personalization across diverse households with varying appliance usage patterns.
  • To mitigate performance degradation due to domain shift between source (e.g., REDD) and target (e.g., UK-DALE) datasets.
  • To enable efficient, real-time energy disaggregation on low-end edge devices like the NVIDIA Jetson Nano.

Proposed method

  • Leverages federated learning to train a global NILM model without collecting raw household energy data, ensuring data privacy.
  • Applies filter pruning and multi-task learning to compress the MTL-Seq2Point model, reducing model size and inference cost.
  • Employs unsupervised transfer learning with CORAL (Domain Adaptation) to align feature distributions between source and target domains.
  • Performs local fine-tuning of the last dense layers on edge devices using local mains power data to personalize the model.
  • Uses federated averaging to aggregate locally updated models and refine the global model iteratively.
  • Deploys the compressed and personalized model on edge devices for real-time inference with under one-second latency.
Figure 1: (a) The DNN structure adopted by Seq2Point model. (b) The DNN structure for MTL-Seq2Point model, i.e., shared convolutional and fully connected layers for $N$ appliances.
Figure 1: (a) The DNN structure adopted by Seq2Point model. (b) The DNN structure for MTL-Seq2Point model, i.e., shared convolutional and fully connected layers for $N$ appliances.

Experimental results

Research questions

  • RQ1Can federated learning be effectively applied to NILM at the edge while preserving user privacy and handling resource constraints?
  • RQ2How can model compression techniques like filter pruning and multi-task learning reduce model size without sacrificing disaggregation accuracy?
  • RQ3To what extent does unsupervised transfer learning improve NILM performance when generalizing from public datasets (e.g., REDD) to unseen households (e.g., UK-DALE)?
  • RQ4How does fine-tuning the last dense layers of a pre-trained model affect performance on a target household's data?
  • RQ5Can the proposed FedNILM framework achieve high-accuracy, personalized energy disaggregation on low-end edge devices?

Key findings

  • The FedNILM framework achieves up to 45.84% improvement in MAE, 82.39% in SAE, and -27.27% in F1-score (improvement in absolute terms) on the target domain using transfer learning.
  • Transfer learning with CORAL reduces MAE by up to 45% and SAE by up to 86.63% across appliances, demonstrating strong domain adaptation capability.
  • Fine-tuning the last dense layers leads to better performance than freezing them, with lower MAE and SAE and higher F1-score on the target domain.
  • The model training time per appliance on the Jetson Nano is approximately 100 seconds, while inference takes less than one second, enabling real-time operation.
  • Performance improves progressively when transferring layers from conv1 to conv5, indicating that pre-trained features from the source domain enhance generalization on the target domain.
  • The framework maintains high accuracy and privacy while operating efficiently on resource-constrained edge devices, demonstrating practical viability for real-world NILM applications.
Figure 2: Overview of the FedNILM framework.
Figure 2: Overview of the FedNILM framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.