NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exploring Bayesian Surprise to Prevent Overfitting and to Predict Model Performance in Non-Intrusive Load Monitoring

Richard Jones, Christoph Klemenjak, Stephen Makonin, Ivan V. BajicarXiv 2020

Abstract

This paper introduces a data-centric approach to training Non-Intrusive Load Monitoring (NILM) models by measuring "Bayesian surprise." By quantifying how much new data changes a model's beliefs, training can be halted at the point of diminishing returns. This approach prevents overfitting and significantly reduces training time while often improving cross-dataset performance.

Introduction

Non-Intrusive Load Monitoring (NILM) disaggregates a building's total power signal to identify individual appliance usage. Modern Deep Learning-based NILM typically follows the "more data is better" paradigm, which leads to computational waste and poor generalization to unseen houses (overfitting). This research addresses the fundamental question: when has a model seen enough? By using a model-agnostic metric to evaluate data information content, researchers can optimize training duration and improve model robustness.

Methodology

The authors propose using Bayesian Surprise to measure the change in an observer's beliefs upon seeing new data. A non-parametric Gaussian Mixture Model (GMM) with a Dirichlet Process (DP) prior is used to cluster power events into states without prior knowledge of appliance counts.

Two metrics are utilized:

  • Postdictive Surprise ($S_o$): Measures changes in the distribution of power levels.
  • Transitional Surprise ($S_t$): Measures changes in state-switching patterns.

The Jensen-Shannon (JS) divergence quantifies the "distance" between beliefs before and after a data window. Training is truncated when these metrics plateau, indicating that the model has learned the essential "vocabulary" of the household.

Bayesian surprise metrics (Postdictive and Transitional) alongside MAE for various NILM models as a function of training window size.

Experimental Results

The methodology was tested on the REFIT and RAE datasets using five benchmark algorithms: DAE, RNN, Seq2Seq, Seq2Point, and WindowGRU. The most significant findings occurred in cross-house transfer experiments (e.g., training on House 3 and testing on House 5).

Comparison of MAE for benchmark NILM methods under full training versus cutoff training based on Bayesian surprise.

As shown in the results, 4 out of 5 models performed better when trained on less, but more "surprising," data. For instance, the WindowGRU's Mean Absolute Error (MAE) dropped from 37.83 with full training to 33.03 with cutoff training, and the RNN improved from 32.54 to 30.62. This indicates that the Bayesian surprise threshold effectively identifies the point where additional data becomes noise, acting as a natural regularizer for better generalization.

Conclusion

Bayesian surprise provides a robust, model-agnostic way to optimize NILM training. By focusing on data diversity rather than quantity, models achieve better cross-house generalization with reduced computational cost. Future work includes refining transitional surprise through super-state modeling and implementing online systems for real-time re-training detection when new appliance patterns are encountered.

Summary updated

BibTeX
@misc{jones2020exploring,
  author = {Richard Jones and Christoph Klemenjak and Stephen Makonin and Ivan V. Bajic},
  title = {{Exploring Bayesian Surprise to Prevent Overfitting and to Predict Model Performance in Non-Intrusive Load Monitoring}},
  year = {2020},
  eprint = {2009.07756},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.07756},
}
Figure