Generalizability of Learning-based Occupancy Detection in Residential Buildings (extended version)
Mahsa Farjadnia, Katayoun Eshkofti, Albin Apell, Tilde Hjalmarsson, Karl Henrik Johansson, Angela Fontan, Marco Molinari

TL;DR
This study evaluates machine learning models for non-intrusive occupancy detection in residential buildings, focusing on their accuracy, computational complexity, and ability to generalize across different apartments.
Contribution
It compares logistic regression, SVM, and LSTM with attention, highlighting the LSTM's superior cross-apartment generalization in occupancy detection.
Findings
All models achieved ~0.83 accuracy on same-apartment data.
LSTM outperformed others with 0.84 accuracy on cross-apartment data.
Logistic regression offers a low-complexity alternative with competitive performance.
Abstract
This paper investigates non-intrusive occupancy detection methods for residential buildings using environmental sensor data from the KTH Live-In Lab in Stockholm, Sweden. Three machine learning approaches, namely, logistic regression (LR), support vector machines (SVM), and long short-term memory (LSTM) network enhanced with an attention mechanism, are evaluated in terms of predictive performance and computational complexity. The analysis considers the trade-off between sensor availability (investment cost) and prediction accuracy in real applications, as well as the models' cross-apartment generalizability. Hyperparameters for both the SVM and LSTM models are optimized using Bayesian optimization. All three models are evaluated on data collected from apartments not used during training, and on data generated from a calibrated digital model of the testbed. Results show that all models…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
