M.S. in Computer Science · Non-thesis defense
for Personalized Thermal Comfort Prediction Using Wearable Heart Rate and Environmental Sensors
Committee · Dr. Mahmood Jasim (Chair) · Dr. Arup Bhattacharya · Dr. David C. Shepherd
Roadmap
Introduction
And the standard model predicts the average occupant, not the person in the room.
of buildings reach 80% thermally satisfied occupants
Huizenga et al., 2006
HVAC energy saved, at most, by personalized conditioning in simulations
Veselý & Zeiler, 2014
inputs for the standard comfort model, several hard to measure continuously
Fanger, 1970; ISO 7730; ASHRAE 55
Illustrative votes in one room under one condition
Group model · PMV
People under the same conditions vote differently. Under cooling and cold exposure, PMV was about 30% accurate.
Chen et al., 2023; Wu et al., 2021
Personalized model
Often more accurate than PMV, but it needs many sensors and many labeled votes in every new building.
Ngarambe et al., 2020; Aerts, 2019; Čulić et al., 2021
Can thermal comfort be predicted with acceptable accuracy from a reduced set of practical sensors and only a small amount of locally labeled data?
The research question
Full sensing · Step 1
A controlled chamber, August 2024: which signals track how warm people feel?
environmental signals
wearable signals · Empatica E4
thermal camera · FLIR A70
Spearman ρ with the vote
ρ 0.77
RH was held near 40%. Air-quality signals moved with the setpoints, so they are confounded.
Wearables
ρ −0.17
Step 2 never uses it alone: it is read with temperature and humidity.
After the chamber study
Which is exactly Step 2.
Field data · Step 2
An office and a classroom at LSU, November 2023 – January 2024, with three sensed signals.
synchronized observations, each 12 steps of 5 minutes
participants · rooms
uncomfortably warm: the rare class
Step 1 · what the chamber had
11 signals · 5 participants · 22–30 °C
Step 2 · what an occupied building affords
3 signals · 15 participants · 596 labels
Heart rate by room
p < 0.001
Comfort by room
p = 0.82
7-point vote · not comparable to the later 3-class results
Indoor Air 2024
The idea
Few labels, few inputs, a rare warm class and noisy votes: borrow knowledge from ASHRAE, then adapt it to the local sensors.
Meanwhile, by the pond
After the closing scene of Oppenheimer (2023)
Dialogue rewritten for 596 labels
Oppenheimer · me
When I came to you with those calculations, we thought an ANN and an RNN could learn comfort from 596 labels alone.
Einstein · a Transformer pretrained on ASHRAE
I remember it well. What of it?
Oppenheimer · me
I believe they couldn't. On a 7-point vote, the best one only got past 50%.
Einstein · a Transformer pretrained on ASHRAE
Then don't start from zero. I have already read 44,124 surveys. Give me a small adapter for your three sensors.
Einstein, leaving
And remember: God does not play dice. You will need three seeds.
Methods
Pretrain on 44,124 survey records, then adapt to six local features.
Fewer labels
1.4%
of the 44,124 labeled records in ASHRAE DB II.
The strategy
Pretrain on the public database; train only a small adapter locally.
Source and target
Each cell asks: is this local feature the same signal as that ASHRAE feature? Shuffled, it is noise.
Sorted by match
Air temperature, humidity and the two season terms directly; clothing only as a season-based estimate.
The gap
So the pretrained input layer cannot be reused. An adapter learns the mapping into the model's space.
The source domain
44,124 records after cleaning, naturally ventilated buildings excluded, 7-point votes mapped to three classes.
Against the imbalance
Rarer classes weigh more: Cool 1.28 · Warm 1.06 · Neutral 0.78.
Meanwhile, in my head
It is on the limitations list. Promise.
① A snapshot
ASHRAE measured one moment: the survey. Both backbones read sequences.
② Backward from the survey
For the five transient variables; static features are held constant.
③ Differences
Δxt = xt − xt−1 for the transient variables.
④ Stack
X ∈ ℝN × 12 × 17. The history is synthesized, not measured.
T3C
Six encoder layers, eight heads, and the last step (the survey moment) pooled into three classes.
≈3.2M parameters
Aminorroayaei, Chahardoli et al., ASHRAE 2026
Self-attention
Each step's query is scored against every step's key; each row sums to 1.
Illustrative values · Vaswani et al., 2017
The Transformer, formally · ① embed
Each step's 17 features become a 256-wide vector, plus its position.
② ③ attend
Eight heads, each with its own 12 × 12 attention matrix.
④ ⑤ ⑥ mix, add, normalize · ×6
Heads are concatenated and projected; a feed-forward network widens to 512 and back.
⑦ classify
Keep step 12, the survey moment, and map it to three class probabilities.
Baseline
Two stacked layers, 256 per direction; the last step goes to three classes.
Shared recipe
Class-weighted cross-entropy, Adam, 55 epochs, batch 64, three seeds.
The BiLSTM, formally
f, i and o are sigmoid gates; g is the candidate memory.
Seeing the past
Attention reaches every step directly; in recurrence, step k passes 12 − k forget gates.
A structural difference, not a controlled test · illustrative values
Training and evaluation
Loss · class-weighted cross-entropy
Optimizer · Adam
Metric · macro-F1
Stage 1 · pretrain
Stage 2 · swap
An adapter, 6 → 128 → 256, takes the place of the 17 → 256 projection learned on ASHRAE.
Stage 2 · freeze
17.6%of 3.2 M parameters trained
Inside the model
Results
First the source baseline on ASHRAE, then adaptation to the field data.
Source baseline · ASHRAE DB II hold-out
± 0.12 · macro-F1 0.709
± 0.09 · macro-F1 0.708
smaller than the seed-to-seed variation: a tie
Per seed
Neither enters adaptation with an advantage.
Learning curves
Its validation accuracy stays near 71% while training pulls ahead.
Per class · ASHRAE
Summed over three seeds: 26,475 hold-out predictions.
Recall
BiLSTM slightly better on Neutral; T3C slightly better on both discomfort classes.
After transfer · local validation
± 1.36 · macro-F1 0.667
± 2.39 · macro-F1 0.580
+0.087 macro-F1, with lower seed variability
Paired by seed · accuracy
Closest pair: 71.67% vs 70.83%, one validation observation apart.
Paired by seed · macro-F1
0.667 against 0.580 on average; 120 validation observations per run.
Per class · local
Uncomfortably Warm: 12 of 18 (Transformer) vs 9 of 18 (BiLSTM) over three runs.
The rare class
Six warm cases per run, so the error bars are wide.
Learning behavior
The Transformer adapter's validation ends close to training; the BiLSTM adapter's stays about 4–5 pp below its own training curve.
The research question, answered
Different datasets and class balance: a comparable level, not a head-to-head test. Majority-class baseline: 42.5% on ASHRAE, 50% locally.
Discussion
Why the backbones diverged, and what the evidence does not show.
01 · Connection point
T3C keeps all six pretrained encoder layers (five frozen); the BiLSTM loses one of its two recurrent layers and retrains the other.
02 · Stability
Lower spread across seeds: SD 1.36 vs 2.39 pp.
03 · Signal
Same inputs for both adapters; no run without heart rate yet.
Interpretations, not controlled tests: with three seeds the gap is not statistically established (paired t-test, p ≈ 0.14).
Limitations
Data
15 people, 2 rooms, one winter; no separate test set, so scores may be optimistic.
Source model
Synthesized history; survey inputs likely flatter the 71%.
Comparison
Architecture and capacity confounded; no from-scratch baseline; three seeds.
Step 1 chamber
5 participants; air quality co-varied with temperature.
Every graduate student, always
Conclusion
Four answers, each with its caveat.
Feasible here: three sensed signals plus date-derived features (± 1.36; macro-F1 0.667).
Transfer was feasible with 596 local observations; a no-pretraining baseline on the same split is still to run.
May matter for transfer: tied on ASHRAE, ahead in all three seeds after transfer. Capacity not yet separated.
Consistent with the design: in the chamber, air temperature tracked sensation most strongly.
Contributions
observations from 15 occupants in 2 rooms; air temperature, RH and wrist heart rate
ASHRAE records turned into 1-hour sequences for T3C (with H. Aminorroayaei)
of T3C's parameters trained locally: 6 local features into a partly frozen Transformer
classes scored with macro-F1 and per-class recall, over 3 seeds
Future work
Leave-one-participant-out · a baseline without pretraining · more warm-discomfort samples · source models without survey inputs
A full year · wrist skin temperature · more rooms and climates
Step-wise predictions for HVAC feedback · physics priors with a learned residual · an LLM reasoning layer grounded in ASHRAE 55 (ongoing)
Publications
Questions?
To my committee, Dr. Mahmood Jasim, Dr. Arup Bhattacharya and Dr. David C. Shepherd; to my co-authors Hamidreza Aminorroayaei and Dr. Yimin Zhu; and to every participant who wore a sensor and answered a survey.
Saeid Chahardoli · M.S. in Computer Science · Louisiana State University