Non-intrusive Load Monitoring based on Self-
supervised Learning
Shuyi Chen, Student Member, IEEE, Bochao Zhao, Member, IEEE, Mingjun Zhong, Member, IEEE, Wenpeng
Luan*, Senior Member, IEEE, and Yixin Yu, Life Senior Member, IEEE
Abstract—Deep learning models for non-intrusive load
monitoring (NILM) tend to require a large amount of labeled data
for training. However, it is difficult to generalize the trained
models to unseen sites due to different load characteristics and
operating patterns of appliances between data sets. For addressing
such problems, self-supervised learning (SSL) is proposed in this
paper, where labeled appliance-level data from the target data set
or house is not required. Initially, only the aggregate power
readings from target data set are required to pre-train a general
network via a self-supervised pretext task to map aggregate power
sequences to derived representatives. Then, supervised
downstream tasks are carried out for each appliance category to
fine-tune the pre-trained network, where the features learned in
the pretext task are transferred. Utilizing labeled source data sets
enables the downstream tasks to learn how each load is
disaggregated, by mapping the aggregate to labels. Finally, the
fine-tuned network is applied to load disaggregation for the target
sites. For validation, multiple experimental cases are designed
based on three publicly accessible REDD, UK-DALE, and REFIT
data sets. Besides, state-of-the-art neural networks are employed
to perform NILM task in the experiments. Based on the NILM
results in various cases, SSL generally outperforms zero-shot
learning in improving load disaggregation performance without
any sub-metering data from the target data sets.
Index Terms—Non-intrusive load monitoring, deep neural
network, self-supervised learning, sequence-to-point learning.
I. INTRODUCTION
N recent years, energy shortage and environmental
pollution worldwide have become increasingly serious.
Therefore, the approaches of efficient energy utilization
and carbon emissions reduction are being explored [1], [2].
Meanwhile, with the global deployment of smart meters, benign
interaction between power suppliers and users has been
established for enhancing demand side management and
optimizing power grid operation [3]. As one of the energy
conservation applications, electricity consumption detail
monitoring has attracted extensive attention around the world
[4]. In general, load monitoring technology is mainly
categorized into intrusive way and non-intrusive way. Note that
intrusive load monitoring requires extra sensor installation for
sub-metering. Alternatively, the concept of non-intrusive load
monitoring (NILM) was proposed by Hart [5] in 1984 as
This work was supported in part by the Joint Funds of the National Natural
Science Foundation of China (No. U2066207) and the National Key Research
and Development Program of China (No. 2020YFB0905904). (Corresponding
author: W. Luan)
identifying power consumed by each individual appliance via
analyzing aggregate power readings using only software tools.
NILM offers appliance-level power consumption feedback to
both demand and supply sides economically and efficiently,
contributing to power system planning and operation [1],
energy bill savings [6], demand side management [7], energy
conservation and emission reduction [3], [6], [8], etc.
NILM is a single-channel blind source separation problem,
aiming to disaggregate the appliance-level energy consumption
from the aggregate measurements [9]. Combinatorial
optimization (CO) is initially applied to perform NILM in [5],
searching for the best combination of operational states of
individual appliances at each time instance. However, CO relies
on the power range of each operational state as prior
knowledge, making it unavailable to the newly added
appliances [10]. Benefiting from the technology development
in recent years on big data, artificial intelligence and edge
computing, plenty of NILM approaches have been proposed
based on machine learning, mathematics, and signal processing
[8], [11]. Factorial hidden Markov model (FHMM) and its
variants [12]-[14] are popular in carrying out NILM. Given an
aggregate power signal as the observation, such FHMM-based
NILM methods estimate the hidden operational states of each
appliance considering their state continuity in time-series [15],
[16]. Thus, FHMM-based methods usually achieve good results
in disaggregating loads with periodic operation such as
refrigerators. However, their performance is limited for the
loads with short-lasting working cycles and the ones with less
frequent usage. Note that FHMM-based methods are regarded
as state-based NILM approaches, where the aggregate power
measurement at each time instance is assigned to each
operational state per appliance [17]. Alternatively, NILM
approaches can be event-based, where sudden changes in power
signals referring to turn-on, turn-off, and state transition events
are featured [17]. Such event-based NILM methods can be
carried out via subtractive clustering and the maximum
likelihood classifier [18]. Besides, graph signal processing
concepts are applied to perform NILM, mapping correlation
among samples to the underlying graph structure [19], [20].
Although such event-based NILM approaches can achieve high
load identification accuracy, they tend to suffer from
S. Chen, B. Zhao, W. Luan and Y. Yu is with the School of Electrical and
Information Engineering, Tianjin University, Tianjin 300072, China (e-mail:
wenpeng.luan@tju.edu.cn).
M. Zhong is with the Department of Computing Science, University of
Aberdeen, Aberdeen, the UK (e-mail: mingjun.zhong@abdn.ac.uk).