Can IoT Occupancy Sensors Work in an Unseen Room? A Cross-Dataset Benchmark Using Environmental Sensors

Occupancy detection from indoor-environment sensors often exceeds 95% accuracy, but mostly when models are trained and tested in the same room. We rebuilt five public datasets (29 office, lecture, library, and residential rooms in four countries, 128,902 fifteen-minute intervals) from their official releases and evaluated models with chronological splits, within datasets and with the target dataset held out (leave-one-dataset-out, LODO). With temperature and CO2, the mean AUROC fell from 0.900–0.927 to 0.809–0.844, and F1 at the default threshold fell from 0.68–0.76 to about 0.50. With illuminance, the AUROC fell only from about 0.97 to 0.92–0.96, but F1 still fell from 0.80–0.84 to 0.64–0.70. A CNN-LSTM and domain adaptation did not close the gap. Over 54 cases, the F1 loss split into ranking and operating-point components of similar median size (0.109 and 0.105). Unsupervised label-shift correction did not raise F1, whereas a threshold set on the labeled day before each test day raised the mean F1 from 0.50 to 0.61 (logistic regression, no illuminance) but lowered it in 16 of 50 cases. We also found that the indoor-environment data of one public dataset were time-stamped 8 h early, which inverted its illuminance cue. Studies report LODO results and check time alignment, and deployments need a short labeled commissioning period.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-11-24
DOI
https://doi.org/10.3390/s26237429
Primary Topic
Building Energy and Comfort Optimization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Can IoT Occupancy Sensors Work in an Unseen Room? A Cross-Dataset Benchmark Using Environmental Sensors

J Jesy Janet Kumari, Thangam Somasundaram
Sensors
Building Energy and Comfort Optimization
article

Can IoT Occupancy Sensors Work in an Unseen Room? A Cross-Dataset Benchmark Using Environmental Sensors

J Jesy Janet Kumari, Thangam Somasundaram
article en

Abstract

Occupancy detection from indoor-environment sensors often exceeds 95% accuracy, but mostly when models are trained and tested in the same room. We rebuilt five public datasets (29 office, lecture, library, and residential rooms in four countries, 128,902 fifteen-minute intervals) from their official releases and evaluated models with chronological splits, within datasets and with the target dataset held out (leave-one-dataset-out, LODO). With temperature and CO2, the mean AUROC fell from 0.900–0.927 to 0.809–0.844, and F1 at the default threshold fell from 0.68–0.76 to about 0.50. With illuminance, the AUROC fell only from about 0.97 to 0.92–0.96, but F1 still fell from 0.80–0.84 to 0.64–0.70. A CNN-LSTM and domain adaptation did not close the gap. Over 54 cases, the F1 loss split into ranking and operating-point components of similar median size (0.109 and 0.105). Unsupervised label-shift correction did not raise F1, whereas a threshold set on the labeled day before each test day raised the mean F1 from 0.50 to 0.61 (logistic regression, no illuminance) but lowered it in 16 of 50 cases. We also found that the indoor-environment data of one public dataset were time-stamped 8 h early, which inverted its illuminance cue. Studies report LODO results and check time alignment, and deployments need a short labeled commissioning period.

SensorsVol. 26(23)
Amrita Vishwa Vidyapeetham (IN)
Building Energy and Comfort Optimization
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.

Laika access coming soon