Non-intrusive load monitoring using Short-Time Fourier Transform (STFT)-based Local Phase Quantization (LPQ) features and hybrid deep–classical learning models

Background The increasing global energy demand necessitates reliable techniques for appliance-level consumption analysis. Non-Intrusive Load Monitoring (NILM) enables device-level disaggregation from aggregated smart-meter measurements, supporting energy efficiency, demand management, and user awareness. However, the accurate classification of appliances from low-frequency (1 Hz) power signals remains challenging. Methods This study introduces a hybrid NILM framework that integrates time–frequency analysis, texture-based feature extraction, and deep–shallow hybrid classification. Power signals from the publicly available High-Resolution Household Appliances dataset were transformed into 256 × 256 Short-Time Fourier Transform (STFT) spectrograms, contrast-enhanced, and encoded using Local Phase Quantization (LPQ). The resulting 1 × 256 feature vectors were reorganized into multiple layouts, with the 4 × 64 structure providing the most discriminative representation. Classification was performed using (i) a Long Short-Term Memory (LSTM) network, and (ii) Support Vector Machine (SVM) and k-nearest neighbors (kNN) models trained on deep features extracted from the LSTM’s fully connected layer. Results Across the 18-appliance dataset, the proposed LPQ–LSTM–SVM pipeline achieved the highest accuracy (98.69%), followed by kNN (98.25%) and standalone LSTM (96.94%). Macro-F1 and macro-AUC metrics further validated the robustness of the approach, with most appliances achieving AUC values above 0.99. A 5-fold cross-validation analysis confirmed the stability of the results. Appliances with highly overlapping temporal signatures, such as dishwashers and hair dryers, showed marginally reduced separability. Discussion The findings demonstrate that combining STFT-based spectral imaging with LPQ descriptors and hybrid deep–shallow classifiers offers a powerful and computationally efficient solution for 1 Hz NILM. Compared with recent convolutional neural network (CNN), Autoencoder, and Transformer-based NILM models, the proposed approach provides competitive performance without requiring high-frequency data or heavy neural architectures. A t-SNE visualization of the learned feature space further illustrates the interpretability of the model. This framework offers a practical basis for future work on multimodal fusion and cross-household generalization.

Authors

Publication Details

Journal
PeerJ Computer Science
Published
2026-03-05
DOI
https://doi.org/10.7717/peerj-cs.3717
Primary Topic
Smart Grid Energy Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Non-intrusive load monitoring using Short-Time Fourier Transform (STFT)-based Local Phase Quantization (LPQ) features and hybrid deep–classical learning models

Berna Gurler Ari
PeerJ Computer Science
Smart Grid Energy Management
article

Non-intrusive load monitoring using Short-Time Fourier Transform (STFT)-based Local Phase Quantization (LPQ) features and hybrid deep–classical learning models

Berna Gurler Ari
article en

Abstract

Background The increasing global energy demand necessitates reliable techniques for appliance-level consumption analysis. Non-Intrusive Load Monitoring (NILM) enables device-level disaggregation from aggregated smart-meter measurements, supporting energy efficiency, demand management, and user awareness. However, the accurate classification of appliances from low-frequency (1 Hz) power signals remains challenging. Methods This study introduces a hybrid NILM framework that integrates time–frequency analysis, texture-based feature extraction, and deep–shallow hybrid classification. Power signals from the publicly available High-Resolution Household Appliances dataset were transformed into 256 × 256 Short-Time Fourier Transform (STFT) spectrograms, contrast-enhanced, and encoded using Local Phase Quantization (LPQ). The resulting 1 × 256 feature vectors were reorganized into multiple layouts, with the 4 × 64 structure providing the most discriminative representation. Classification was performed using (i) a Long Short-Term Memory (LSTM) network, and (ii) Support Vector Machine (SVM) and k-nearest neighbors (kNN) models trained on deep features extracted from the LSTM’s fully connected layer. Results Across the 18-appliance dataset, the proposed LPQ–LSTM–SVM pipeline achieved the highest accuracy (98.69%), followed by kNN (98.25%) and standalone LSTM (96.94%). Macro-F1 and macro-AUC metrics further validated the robustness of the approach, with most appliances achieving AUC values above 0.99. A 5-fold cross-validation analysis confirmed the stability of the results. Appliances with highly overlapping temporal signatures, such as dishwashers and hair dryers, showed marginally reduced separability. Discussion The findings demonstrate that combining STFT-based spectral imaging with LPQ descriptors and hybrid deep–shallow classifiers offers a powerful and computationally efficient solution for 1 Hz NILM. Compared with recent convolutional neural network (CNN), Autoencoder, and Transformer-based NILM models, the proposed approach provides competitive performance without requiring high-frequency data or heavy neural architectures. A t-SNE visualization of the learned feature space further illustrates the interpretability of the model. This framework offers a practical basis for future work on multimodal fusion and cross-household generalization.

PeerJ Computer ScienceVol. 12
Affordable and clean energy
Openalex Percentile: Top 35%
Smart Grid Energy Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.