Non-Intrusive Load Monitoring (NILM) systems estimate individual appliance energy consumption from a single aggregate meter, without requiring separate sensors for each device. By installing a single meter that measures a building's total electricity consumption, NILM algorithms can determine the active status of each appliance. However, traditional NILM systems use computationally intensive optimization algorithms to process offline data, limiting their capability for on-device deployment, where sensitive household data must be processed locally. This paper proposes a Tsetlin Machine (TM)-based NILM framework, targeting real-time applications on resource-constrained microcontrollers (MCUs), enabling privacy-preserving edge deployment. The problem is reformulated as a classification task, and the proposed approach achieves an average precision of 90% and recall of 96% for two-appliance classification, and 77% precision and 80% recall for four appliances on the REDD dataset. The trained model occupies only 17 KB of flash memory and achieves an inference latency of 0.43 ms on an ESP32, demonstrating its suitability for NILM applications on MCUs.
Figures & tables
Fig. 1 : (a) Non-Intrusive Load Monitoring (NILM) estimates the power consumption of individual appliances from a single aggregated mains meter without requiring dedicated sensors for each device. (b) Demonstration of the proposed TM-based NILM system on a MCU.
Fig. 2 : The TM-based NILM approach extracts the 21 features from aggregated meter readings after edge detection and event pairing, normalizes and Booleanizes the resulting features, and then feeds them into the TM model for classification.
Category
Feature
Transition
Positive transition magnitude
Negative transition magnitude
Average absolute transition magnitude
Logarithm of absolute transition magnitude
Episode duration
Logarithm of episode duration
TABLE I : Features extracted from each paired appliance activity window.
Appliance
Precision
Recall
Fridge
0.99
0.97
Microwave
0.80
0.95
TABLE II : Precision and Recall of the TM trained on Fridge and Microwave
Appliance
Precision
Recall
Fridge
0.84
0.94
Microwave
0.75
0.95
Dish Washer
0.10
0.08
Electric Furnace
0.50
0.15
TABLE III : Precision and Recall of the TM trained on multiple appliances
Method
Fridge
Microwave
Model Size
Our Method
0.89
0.84
17 KB
LSTM [ 11 ]
0.92
0.38
1.9 MB
BERT [ 12 ]
0.76
0.48
8.4 MB
EdgeNILM [ 13 ]
0.74
-
41.5 MB
TABLE IV : F1 Score and Model Size of Models Trained on REDD Dataset
Fig. 3 : Scatter plot of appliance events in the Transition-Duration feature space.
Non-Intrusive Load Monitoring (NILM) aims to estimate appliance-level consumption from aggregate electrical signals recorded at a single measurement point. In recent years, the field has increasingly adopted deep learning approaches; however, cross-domain generalization remains a persistent challenge due to variations in appliance characteristics, usage patterns, and background loads across homes. Transfer learning provides a practical paradigm to adapt models with limited target data. However, existing methods often assume a fixed appliance set, lack flexibility for evolving real-world deployments, remain unsuitable for edge devices, or scale poorly for real-time operation. This paper proposes RefQuery, a scalable multi-appliance, multi-task NILM framework that conditions disaggregation on compact appliance fingerprints, allowing one shared model to serve many appliances without a fixed output set. RefQuery keeps a pretrained disaggregation network fully frozen and adapts to a target home by learning only a per-appliance embedding during a lightweight backpropagation stage. Experiments on three public datasets demonstrate that RefQuery delivers a strong accuracy-efficiency trade-off against single-appliance and multi-appliance baselines, including modern Transformer-based methods. These results support RefQuery as a practical path toward scalable, real-time NILM on resource-constrained edge devices.
L. E. Garcia-Marrero, G. Petrone, E. Monmasson
Systèmes et Applications des Technologies de l’Information et de l’Energie laboratory, Cergy-Pontoise · Dipartimento di Ingegneria dell’Informazione ed Elettrica e Matematica Applicata/DIEM, University of Salerno, 84084 Fisciano
Non-intrusive load monitoring (NILM) estimates appliance-level consumption from a whole-home meter, but appliance-specific models and fixed output inventories make coverage costly to extend. We present FM4NILM (Foundation Model for NILM), a single prompt-programmable model that estimates a requested appliance's power trajectory from aggregate measurements, a natural-language description, and optional activation exemplars. A lightweight cadence-aware transformer is pretrained by masked reconstruction on 645k sequences from seven public corpora spanning 1-60 s sampling intervals, then aligned with appliance requests using observation-masked losses for partially labeled households. A Bernoulli-lognormal decoder separates activity detection from conditional power estimation. On held-out households and time periods from REDD, UK-DALE, and REFIT, one frozen text-prompted model serves twelve appliance-corpus requests, achieving 0.556 event F1, 0.625 AUPRC, and the lowest active-window MAE (251.8 W) among seven appliance-specific baselines. Streaming score aggregation raises event F1 to 0.582 with a 60 s aggregation delay. In a separate category-held-out evaluation, adding ten activation exemplars raises microwave AUPRC from 0.132 to 0.214 without parameter updates. Input-intervention ablations probe the model's dependence on appliance requests and aggregate measurements. These results demonstrate competitive disaggregation with one shared model and support extending appliance coverage through prompts and examples rather than additional specialist networks.
Xudong Wang, Jiacheng Cui, Junyu Xue +2
The Chinese University of Hong Kong, Shenzhen · The Hong Kong University of Science and Technology (Guangzhou) · Southern University of Science and Technology
Non-intrusive load monitoring (NILM) estimates appliance power sequences from aggregate power, but models trained on source households commonly lose accuracy in unseen households. Aggregate power also contains loads from other appliances and measurement error, so predictions may depend on the residual background that co-occurs with source-household targets. Time-aligned submetered measurements and the additive decomposition of aggregate power expose a relation unused by window-wise supervision: an aggregate window can be recomposed by replacing only its residual background while preserving all modeled target-appliance power sequences pointwise. We combine label-preserving aggregate recomposition with prediction consistency. Both windows receive complete power and operating-state supervision. For each appliance, disagreement between the two power predictions is penalized only when both satisfy a fixed reliability criterion and only to the extent that it exceeds a fixed margin. The proposed method is implemented using a multi-appliance architecture with two-stage shared-to-specific mixture-of-experts routing. On REDD, UK-DALE, and REFIT, the proposed method lowers appliance-averaged mean absolute error relative to single-window training from 14.75 to 13.14 W, from 8.88 to 8.51 W, and from 15.83 to 14.55 W. Label-preserving aggregate recomposition and prediction consistency are used only during training, and add no inference-time module or parameter.
Jiangfeng Liu, Yanfang Fan
School of Electrical Engineering, Xinjiang University, Urumqi, Xinjiang 830047, China