Variational Regression for Multi-Target Energy Disaggregation

Nikolaos Virtsionis Gkalinikis, Christoforos Nalmpantis, Dimitris Vrakas2023

TL;DR

This paper introduces a novel deep learning architecture, the Variational Multi-Target Regressor (V.M.Regressor), for non-intrusive load monitoring (NILM). It achieves simultaneous energy disaggregation of multiple appliances with a single model, offering improved efficiency and generalization compared to traditional single-appliance models, while also outperforming existing multi-target approaches.

What Problem Does This Paper Address?

Non-intrusive load monitoring (NILM) aims to estimate the energy consumption of individual appliances from a single aggregate power signal. While deep learning has significantly improved NILM accuracy, most models are trained for one appliance at a time (one-vs-one strategy). This approach leads to high computational costs for training and inference due to the need for numerous models, especially as the number of appliances increases. Furthermore, managing and deploying many individual models is complex. This paper addresses the need for a single, efficient model that can disaggregate multiple appliances simultaneously, reducing computational burden and improving scalability for real-world applications.

Methods

The core of the proposed V.M.Regressor is a multi-target regression neural network built upon two main components:

  • Variational Encoder: This part utilizes convolutional layers to extract features from the input mains signal. Crucially, it incorporates variational inference, learning a posterior distribution over latent representations rather than point estimates. This is achieved through a Reparametrization Trick, which allows for sampling from the learned distribution and is guided by a prior distribution. This probabilistic approach is expected to enhance generalization capabilities and robustness to unseen data.
  • Multiple Regression Heads: The encoder's output is fed into several "Shallow Regressors," each responsible for predicting the power consumption and on/off state of a specific target appliance. These regressors share the encoder's parameters, further contributing to efficiency. The paper explores different "Combination Mechanisms" (simple addition, attention, and linear layers) to effectively merge the information from the encoder and the latent space before passing it to the regressors.

The loss function is a weighted sum of three components: information loss (KL divergence between approximate and prior posterior distributions), regression loss (Mean Squared Error for power estimation), and classification loss (binary cross-entropy for on/off state detection).

Datasets

  • UKDALE: Used for training and evaluation.
  • REFIT: Used for evaluation.

The experiments followed a benchmark framework that involved training and testing on:

  • The same building installation.
  • Different buildings from the same dataset.
  • Different buildings from different datasets.

Key Insights and Ideas

  • Variational Inference for Generalization: The paper strongly advocates for variational inference in NILM. By learning distributions rather than point estimates, the model gains improved generalization capabilities, performing better on unseen data and different installations.
  • Single Model Efficiency: A single multi-target model significantly reduces computational overhead (training time, storage) compared to training individual models for each appliance, making it more practical for real-world deployment.
  • Trade-offs in Combination Mechanisms: Different methods for combining the encoder's output (addition, attention, linear) have varying impacts on performance. The linear combination mechanism generally performed best, suggesting a learned approach to feature integration is beneficial.
  • Appliance-Specific Performance: Even within a multi-target framework, performance can vary across appliances. Some appliances (like kettles) are easier to disaggregate than others (like fridges), highlighting the inherent challenges in distinguishing their electrical signatures.

Key Results

  • Ablation Study: The V.M.Regressor with variational inference consistently outperformed its "Vanilla" counterpart (without variational inference) in both event detection (F1 score) and power estimation (MAE), showing significant improvements in generalization across different buildings.
  • Multi-Target vs. Single-Target: The V.M.Regressor achieved competitive performance with state-of-the-art single-target models, often with significantly fewer parameters and faster training times. While single-target models sometimes achieved higher F1 scores for specific appliances, the V.M.Regressor offered a more balanced and efficient overall solution.
  • Comparison with Multi-Target Baselines: The V.M.Regressor (particularly the linear combination variant) generally outperformed the UNet-NILM and CNN-Base multi-target models in terms of F1 score, especially when tested across different buildings and datasets, demonstrating better generalization.
  • Scalability: The model's performance showed a general trend of decreasing as the number of appliances increased, but it consistently outperformed the UNet NILM baseline across different appliance counts.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while the V.M.Regressor is competitive, single-target models can sometimes achieve higher F1 scores for specific appliances.
  • The MAE (power estimation) results showed mixed outcomes, with some baselines performing better on certain appliances.
  • Performance generally degrades as the number of appliances increases.
  • Future Work:
    • Explore the application of variational inference to other lightweight architectures for embedded systems.
  • Train models on a wider variety of datasets to further enhance generalization.
  • Investigate more sophisticated combination mechanisms.

Summary updated

BibTeX
@misc{gkalinikis2023variational,
  author = {Nikolaos Virtsionis Gkalinikis and Christoforos Nalmpantis and Dimitris Vrakas},
  title = {{Variational Regression for Multi-Target Energy Disaggregation}},
  year = {2023},
  doi = {10.3390/s23042051},
}
Figure