Experimental Validation and Cross-Building Transfer of Learning-Based Occupancy Detection in KTH Undervisningshuset
Buildings in the European Union account for roughly 30% of total final energy use, and heating, ventilation, and air conditioning (HVAC) systems are among the main drivers of this consumption. HVAC performance strongly depends on occupant presence and behavior, so accurate occupancy information can improve both energy efficiency and indoor comfort.
Background
Buildings in the European Union account for roughly 30% of total final energy use, and heating, ventilation, and air conditioning (HVAC) systems are among the main drivers of this consumption. HVAC performance strongly depends on occupant presence and behavior, so accurate occupancy information can improve both energy efficiency and indoor comfort.
Installed occupancy and people-counting sensors, however, can be affected by missed detections, false detections, accumulated counting errors, crowd movement, sensor placement, calibration drift, clock synchronization issues, and communication failures. Their performance therefore needs to be validated under realistic operating conditions against an independent ground truth.
Undervisningshuset forms Testbed AH within the KTH Live-In Lab. It is an educational building with classrooms, group rooms, and individual study spaces, equipped with extensive sensing of variables such as temperature and carbon dioxide concentration. This infrastructure creates an opportunity to compare manually observed occupancy with the data produced by the building’s installed occupancy-detection or people-counting sensors.
A recent KTH study investigated non-intrusive occupancy detection in residential apartments using environmental sensor data, comparing logistic regression, support vector machines, and an attention-enhanced LSTM network, with models evaluated on apartments not seen during training. Transferring these methods from residential apartments to an educational building represents a more substantial domain shift, since the two settings differ in room volume, ventilation operation, occupancy density, and schedules.
Task description
The student is expected to (i) conduct manual ground-truth occupancy counting in selected spaces of Undervisningshuset, (ii) quantify the accuracy and limitations of the installed occupancy sensors, (iii) prepare a documented dataset suitable for public release and a data article, and (iv) assess whether previously published residential occupancy-detection methods transfer to the educational-building setting – comparing direct transfer with calibration, fine-tuning, full retraining, and, where feasible, domain-adaptation strategies.
The main research questions are:
-
How accurate are the occupancy-detection or people-counting sensors installed in selected areas of Undervisningshuset?
-
Can models trained on residential-building data detect occupancy in an educational building without retraining?
-
Which approach performs best: direct transfer, threshold calibration, fine-tuning, or complete retraining?
Learning outcomes
Upon completion of this thesis, the student will be able to:
-
Design and execute a rigorous manual ground-truth observation protocol for occupancy in real building spaces.
-
Quantitatively evaluate the accuracy and limitations of installed occupancy and people-counting sensors.
-
Prepare and document a public, reusable sensor/occupancy dataset following good data-publication practice, including a draft data article.
-
Apply and critically compare transfer-learning strategies (direct transfer, calibration, fine-tuning, full retraining, and domain adaptation) for machine learning models moved across building domains.
Prerequisites
Background in machine learning, experimental design, statistics, and/or building-energy systems; interest in field measurements; ability to work systematically with time-series sensor data.
Programming languages: Python/MATLAB, and familiarity with building-management-system (BMS) data.
Research Area
Building energy systems, machine learning, energy technology, sustainability in buildings, energy efficiency,
Duration
To be agreed with the supervisors.
How to apply
Please apply by sending the following to Mahsa Farjadnia :
your CV, transcript (Bachelor + Master), a short motivation, including the following: your current Master's programme, your thesis timeline, and what makes you a good candidate, one sentence on which task area above you are most interested in, confirm that you are eligible to register for a degree project (KTH Master requirement is to complete 60 credit points before starting the thesis).