More Behind Your Electricity Bill: a Dual-DNN Approach to Non-Intrusive Load Monitoring

Yu Zhang, Guoming Tang, Qianyi Huang, Yi Wang, Hong Xu

Abstract

Non-Intrusive Load Monitoring (NILM) aims to disaggregate total household energy consumption into individual appliance data. Traditional deep learning models often struggle with physical realism, producing noisy or implausible power profiles. We present a dual-DNN architecture that separates the task into power estimation and state classification. By incorporating hard gating and median filtering, our approach enforces physical constraints like multi-state operation and temporal sparsity. Experimental results on the REDD and UK-DALE datasets demonstrate a 21.6% performance improvement over state-of-the-art methods, yielding cleaner and more accurate energy disaggregation.

The NILM Problem

Non-Intrusive Load Monitoring (NILM) is essentially a "blind source separation" problem: given a single stream of data from a main electricity meter, can you determine exactly how much energy individual appliances like the fridge, microwave, or dishwasher are consuming?

Overview of Non-Intrusive Load Monitoring (NILM) decomposing aggregate mains data into individual appliance profiles.

While deep neural networks (DNNs) have shown promise, they often treat NILM as a pure "black box" regression task. This can lead to "implausible results" because standard models ignore the physical realities of appliance operation. For instance, a refrigerator does not flicker randomly between 50W and 500W; it operates in discrete states (on, off, or defrost) and maintains those states over extended periods. Our work aims to bridge the gap between high-capacity deep learning and these inherent physical properties: multi-state operation and temporal sparsity.

Methods: The Dual-DNN Framework

The core innovation is the dual-DNN framework, which moves away from simple sequence-to-sequence regression. Instead, it utilizes two parallel Convolutional Neural Network (CNN) subnetworks:

  1. Power Estimation Subnetwork: This branch performs nonlinear regression to estimate the specific power ratings ($p$) of an appliance's various operating states.
  2. State Classification Subnetwork: This branch acts as a "choosing unit," identifying which state the appliance is currently in (treating multi-state appliances as a set of "virtual devices").
Power profile of a microwave, illustrating the discrete operating states and temporal sparsity that the dual-DNN model aims to capture.

The final output is the product of these two networks. To enhance robustness and physical realism, we introduced two key variants:

  • Hard Gating: A Gumbel-softmax layer forces state identification into discrete "one-hot" codes (0 or 1) rather than fuzzy probabilities.
  • Median Filtering: A post-processing step that filters out "pepper noise"—unrealistic, rapid switching between states—ensuring the predicted energy usage is "piece-wise constant" over time.

Datasets and Evaluation

The model was evaluated on two gold-standard public benchmarks:

  • REDD (Reference Energy Disaggregation Data set): Power data from six US houses, focusing on the microwave, fridge, dishwasher, and washing machine.
  • UK-DALE (UK Domestic Appliance-Level Electricity): Long-term data from five UK houses, including the kettle in addition to the appliances above.

Key Insights

  • Decomposition vs. Direct Regression: Splitting the problem into "How much power does State X use?" and "Is the appliance in State X?" allows the model to learn complex physics and temporal patterns more effectively than a single-stream regressor.
  • Enforcing Sparsity: Most appliances are OFF most of the time (spatial sparsity) and do not change states frequently (temporal sparsity). Explicitly enforcing this via median filtering prevents the model from "hallucinating" energy spikes.
  • Virtual Devices: Treating multi-state appliances as a collection of binary "virtual devices" simplifies complex multi-class problems into manageable components.

Results

The Hard Median Dual-DNN variant outperformed state-of-the-art models like SGNN and Seq2Point across almost all metrics:

  • Overall Improvement: Achieved an average performance boost of 21.67%.
  • Error Reduction: Reduced Mean Absolute Error (MAE) by 24.61% on UK-DALE and 27.89% on REDD.
  • Signal Aggregate Error (SAE): Total energy estimation error was reduced by up to 26.77%.
  • Qualitative Success: Visualizations confirm that the Dual-DNN produces significantly "cleaner" power profiles that closely match ground truth, successfully ignoring background noise.

Limitations and Future Work

Currently, the model requires prior knowledge of an appliance's operation modes (the number of states), typically obtained via k-means clustering. Future work will focus on automatically discovering these states for unknown appliances in "plug-and-play" scenarios. Additionally, while the dual-task approach increases computational complexity, its success suggests potential applications in other time-series domains, such as water usage monitoring or industrial sensor fusion.

Summary updated

BibTeX
@inproceedings{zhang2022more,
  author = {Yu Zhang and Guoming Tang and Qianyi Huang and Yi Wang and Hong Xu},
  title = {{More Behind Your Electricity Bill: a Dual-DNN Approach to Non-Intrusive Load Monitoring}},
  booktitle = {iThings/GreenCom/CPSCom/SmartData/Cybermatics},
  year = {2022},
  doi = {10.1109/ithings-greencom-cpscom-smartdata-cybermatics55523.2022.00023},
}
Figure