Bi Directional Feedback Fusion for Activity Aware Forecasting of Indoor CO2 and PM2.5
Authors: Harshala Gammulle, Lidia Morawska, Sridha Sridharan, Clinton Fookes
Organizations: Signal Processing, Artificial Intelligence and Vision Technologies (SAIVT) Lab, Queensland University of Technology, Brisbane, Australia. · International Laboratory for Air Quality and Health (ILAQH), Queensland University of Technology, Brisbane, Australia.
Indoor air quality (IAQ) forecasting plays a critical role in safeguarding occupant health, ensuring thermal comfort, and supporting intelligent building control. However, predicting future concentrations of key pollutants such as carbon dioxide (CO2) and fine particulate matter (PM2.5) remains challenging due to the complex interplay between environmental factors and highly dynamic occupant behaviours. Traditional data driven models primarily rely on historical sensor trajectories and often fail to anticipate behaviour induced emission spikes or rapid concentration shifts. To address these limitations, we present a dual stream bi directional feedback fusion framework that jointly models indoor environmental evolution and action derived embeddings representing human activities. The proposed architecture integrates a context aware modulation mechanism that adaptively scales and shifts each stream based on a shared, evolving fusion state, enabling the model to selectively emphasise behavioural cues or long term environmental trends. Furthermore, we introduce dual timescale temporal modules that independently capture gradual CO2 accumulation patterns and short term PM2.5 fluctuations. A composite loss function combining weighted mean squared error, spike aware penalties, and uncertainty regularisation facilitates robust learning under volatile indoor conditions. Extensive validation on real-world IAQ datasets demonstrates that our approach significantly outperforms state of the art forecasting baselines while providing interpretable uncertainty estimates essential for practical deployment in smart buildings and health-aware monitoring systems.
Figures & tables
Fig. 1 : Overview of the proposed dual‑stream bi-directional feedback fusion framework for indoor air‑quality forecasting. The model processes environmental sensor data and action embeddings through separate stream encoders to capture environmental evolution and human activity patterns. A bi-directional feedback fusion module iteratively aligns and refines cross‑stream representations using shared‑private decomposition and context‑aware modulation. Dual‑timescale modules then model both long‑term CO 2 trends and short‑term PM 2.5 fluctuations before generating pollutant-specific predictions.
Ll
Lp
CO 2
PM 2.5
RMSE ↓
MAE ↓
R 2 ↑
RMSE ↓
MAE ↓
R 2 ↑
24
5
99.75
68.43
0.89
39.42
29.40
0.80
36
10
78.14
40.43
0.94
32.63
24.23
0.86
48
15
81.47
53.15
0.93
30.43
24.06
0.88
60
15
76.09
50.97
0.94
35.42
30.42
0.84
60
30
148.11
82.01
0.79
52.32
44.01
0.65
TABLE I : Experimental results across different forecasting horizons. Here, Ll and Lp denote the lookback and prediction windows, respectively.
Model
CO 2
PM 2.5
RMSE ↓
MAE ↓
R 2 ↑
RMSE ↓
MAE ↓
R 2 ↑
Xe only
134.16
71.27
0.81
65.60
43.75
0.44
Xe+Xa (direct concat)
147.06
86.38
0.77
70.04
50.29
0.37
Xe+Xa (2-streams; concat)
125.82
62.59
0.83
59.92
39.63
0.54
Ours (no feedback, R=0 )
123.37
65.30
0.84
39.10
19.56
0.80
Ours (feedback, R=3 )
81.47
53.15
0.93
30.43
24.06
0.88
TABLE II : Impact of dual-stream information and fusion strategy on IAQ forecasting performance.
Model
CO 2
PM 2.5
RMSE ↓
MAE ↓
R 2 ↑
RMSE ↓
MAE ↓
R 2 ↑
iTransformer
128.23
84.68
0.82
49.96
23.52
0.68
Multi-Stage TCN (3 stages)
120.68
73.02
0.84
41.16
33.04
0.78
patch-TST
100.03
61.24
0.89
35.04
14.02
0.84
STE(Ours)
81.47
53.15
0.93
30.43
24.06
0.88
TABLE III : Impact of different temporal modelling strategies on IAQ forecasting performance.
Fusion Variant
CO 2
PM 2.5
RMSE ↓
MAE ↓
R 2 ↑
RMSE ↓
MAE ↓
R 2 ↑
Direct Concat
147.06
86.38
0.77
70.04
50.29
0.37
Two-Streams Concat
125.82
62.59
0.83
59.92
39.63
0.54
No feedback ( R=0 )
123.37
65.30
0.84
39.10
19.56
0.80
Feedback R=1
92.42
47.40
0.91
35.04
14.02
0.84
Feedback R=3
81.47
53.15
0.93
30.43
24.06
0.88
TABLE IV : Impact of bi-directional feedback fusion on IAQ forecasting performance.
Temporal Variant
CO 2
PM 2.5
RMSE ↓
MAE ↓
R 2 ↑
RMSE ↓
MAE ↓
R 2 ↑
Short-term only
100.39
74.22
0.90
36.65
28.23
0.83
Long-term only
99.15
71.23
0.90
38.39
29.20
0.81
With dual-timescale
81.47
53.15
0.93
30.43
24.06
0.88
TABLE V : Impact of dual-timescale temporal modules on forecasting performance.
Loss
CO 2
PM 2.5
RMSE ↓
MAE ↓
R 2 ↑
RMSE ↓
MAE ↓
R 2 ↑
LMSE only
93.61
43.05
0.91
47.88
35.69
0.70
LMSE+LNLL (Homo)
87.83
51.53
0.92
45.13
37.39
0.74
LMSE+LNLL (Hetero)
81.47
53.15
0.93
30.43
24.06
0.88
TABLE VI : Impact of loss formulation on IAQ forecasting performance.
Regularisation
CO 2
PM 2.5
RMSE ↓
MAE ↓
R 2 ↑
RMSE ↓
MAE ↓
R 2 ↑
L⋆ only
105.11
55.49
0.89
52.10
30.19
0.65
L⋆ + Ralign
101.09
66.23
0.89
37.75
30.59
0.82
L⋆ + Ralign+Rind
83.12
38.12
0.92
36.82
26.35
0.82
L⋆ + Ralign+Rind+Rdiv
81.47
53.15
0.93
30.43
24.06
0.88
TABLE VII : Impact of regularisation terms on IAQ forecasting performance
School of Computing, National University of Computer & Emerging Sciences (FAST), Lahore 54000, Pakistan · College of Computing and Informatics, Saudi Electronic University, Riyadh, 11673, Saudi Arabia