Organizations: Center for Intelligent and Networked Systems, Department of Automation, BNRist, Tsinghua University, Beijing, 100084, China · Singapore-MIT Alliance for Research and Technology Centre (SMART), Massachusetts Institute of Technology, 138602, Singapore · Urban Mobility Lab, Massachusetts Institute of Technology, Cambridge, MA 02139, United States · School of Automation Science and Engineering, Xi’an Jiaotong University, Xi’an, Shaanxi, 710049, China · Institute for Environmental Design and Engineering, The Bartlett, University College London, London, WC1E 6BT, United Kingdom
Optimizing indoor climate systems plays a critical role in achieving the United Nations' Sustainable Development Goals 11 and 13. However, indoor delayed thermodynamic responses and partial observability severely hinder existing reinforcement learning (RL) methods, which are primarily limited by implicit thermal inertia, occupancy dynamic prediction, and cumulative prediction errors during long-horizon rollouts. Thus, we propose a novel occupant-centric indoor climate control framework. It develops indoor environmental world models to predict future physical thermal baselines and dynamic occupancy, explicitly capturing latent thermal inertia. By formulating adaptive regulation as counterfactual advantage learning against future environments via a Branching Dueling Q-Network, and integrating a Held-Action TD-λ target, it effectively mitigates delayed credit assignment. Additionally, a proposed physics-aligned smoothness regularization suppresses high-frequency actuator fluctuations, potentially extending equipment service life. Experiments on SemiBuildingSim and Sinergym demonstrate that our method achieves a superior multi-objective trade-off. Compared to the best-performing methods, it further reduces energy consumption by 11.2%, occupant discomfort by 44.2%, and action fluctuation by 47.3%, achieving better sample efficiency and cross-region effectiveness. This interdisciplinary study offers an energy-efficient, occupant-centric AI solution for control science, building science, and energy sustainability.
Figures & tables
Figure 1: Overall methodology and proposed framework establishment. Left: research workflow, linking historical data collection and building simulation to prediction and control. Right: the framework is trained in two phases. Phase I: IEWM training. Phase II: counterfactual adaptive learning (CAL). The IEWM is frozen during Phase II.
Figure 2: Layout of the office building Zhong et al. (2025) .
Figure 3: HVAC system configuration. (a) FCUs of zones 5 to 7. (b) Sensors of FCU 1. (c) Video sampling of zone 7. (d) Sensors of water pumps. (e) Electrical cabinet. (f) Temperature sensor. (g) Video camera of zone 2 Zhong et al. (2025) .
Metric
MLP
LSTM
Transformer
Mamba
IEWM (Ours)
Environment 1: SemiBuildingSim
Overall Performance
MAE ( ↓ )
0.046
0.058
0.045
0.038
0.036
RMSE ( ↓ )
0.090
0.108
0.088
0.080
0.078
CVRMSE per Dimension (%) ↓
Outdoor Temp
1.397
1.267
1.386
1.334
1.099
Return Temp
10.584
11.026
9.988
9.175
9.029
Room Temp
5.972
8.678
5.893
5.538
5.479
Table 1: Multi-step prediction performance of world models on SemiBuildingSim and Sinergym. Lower is better for all reported errors.
Figure 4: Qualitative multi-step prediction on a representative SemiBuildingSim episode. From left to right: occupancy at t+1 and room temperature at t+1 , t+2 , and t+3 for Room 5. The proposed IEWM remains closest to the ground truth as the prediction horizon increases.
Algorithm
Energy (kWh) ↓
Abs PMV ↓
PPD (%) ↓
Action Fluctuation ↓
MPC
156.82±1.59
0.50±0.03
13.51±1.01
10.37±0.93
A2C
157.81±7.59
0.50±0.06
14.05±1.56
12.89±3.35
PPO
154.83±3.10
0.41±0.01
12.37±0.33
9.75±0.85
DQN
155.77±2.03
0.49±0.06
13.19±1.88
9.86±1.52
BDQ
154.57±5.23
0.37±0.01
10.88±0.78
10.20±1.17
TransformerRL
149.34±2.93
0.37±0.03
10.05±0.50
9.42±1.05
Table 2: Performance comparisons on SemiBuildingSim (mean ± std over three seeds). PMV and PPD are computed over occupied periods. Lower is better for all metrics.
Figure 5: Mechanistic analysis on SemiBuildingSim. (a) Smoothed training return averaged over 3 seeds; stars denote the first point at which each method reaches 95% of its peak return. (b) Action-score landscape under a specific initial trajectory. Candidate actions are projected to two dimensions with UMAP and weighted by normalized action scores. Compared with BDQ, CAL produces a more concentrated high-value region, highlighting the effectiveness of counterfactual advantage.
Figure 6: Single-zone control profiles over a representative day, showing occupancy by activity, FCU fan-speed mode, and indoor air temperature. CAL initiates cooling before occupant arrival, adjusts cooling intensity around activity transitions, and switches off the FCU during vacant periods. Before the transition from sitting to walking around 12:30, CAL increases cooling to accommodate the higher metabolic heat associated with walking, illustrating anticipatory, occupant-centric control.
Figure 7: Performance comparison of monthly energy savings relative to the rule-based controller and temperature violation on Sinergym 2ZoneDataCenterHVAC under Chicago weather. CAL maintains positive savings across the year and shows the largest advantage during the transition seasons (Apr–Jun and Oct–Nov), while achieving least temperature violation.Radar chart comparing the monthly mean total temperature violation of CAL against multiple baselines in Sinergym (angular axis: Jan–Dec; radial axis: mean violation over timesteps in that month)
Figure 8: Multi-objective trade-off analysis on SemiBuildingSim. Vanilla denotes training without the smoothness reward. The figure compares CAL with representative baselines under vanilla, logarithmic, and linear smoothness regularization. Regularization consistently reduces fluctuations, with CAL utilizing the linear smoothness reward achieving the greatest trade-off across all objectives.
Algorithm
Energy (kWh) ↓
Abs PMV ↓
PPD (%) ↓
Action Fluctuation ↓
MPC
167.68±3.69
0.50±0.06
13.51±2.33
7.99±0.77
A2C
164.04±7.18
0.51±0.01
14.08±0.55
6.61±0.84
PPO
158.39±2.45
0.45±0.06
13.21±1.94
6.63±2.28
DQN
162.21±8.81
0.55±0.05
15.02±1.95
8.24±3.02
BDQ
153.91±1.22
0.39±0.04
11.34±0.91
7.74±1.05
TransformerRL
151.81±2.69
0.41±0.02
11.15±0.58
6.75±0.59
Table 3: Performance comparisons on SemiBuildingSim under logarithmic smoothness regularization (mean ± std over three seeds). PMV and PPD are computed over occupied periods. Lower is better for all metrics.
Algorithm
Energy (kWh) ↓
Abs PMV ↓
PPD (%) ↓
Action Fluctuation ↓
MPC
171.08±3.66
0.58±0.12
16.01±3.45
4.37±0.86
A2C
162.93±10.31
0.47±0.06
13.97±2.44
5.25±1.68
PPO
159.68±6.49
0.47±0.01
13.58±0.17
4.04±0.83
DQN
164.60±15.36
0.56±0.01
14.98±0.13
4.99±2.31
BDQ
162.67±3.98
0.45±0.06
12.88±1.48
4.54±0.38
TransformerRL
158.83±6.54
0.47±0.01
13.02±0.33
4.52±0.58
Table 4: Performance comparisons on SemiBuildingSim under linear smoothness regularization (mean ± std over three seeds). PMV and PPD are computed over occupied periods. Lower is better for all metrics.
Figure 9: Room-level daily fan-mode and temperature trajectories under different smoothness settings. Vanilla denotes no smoothness reward. Both regularizers suppress high-frequency switching, while the linear penalty yields the most stable actuation pattern.
Variant
Energy (kWh)
Abs PMV
PPD (%)
Action Fluctuation
H=1
143.20±3.56
0.27±0.01
7.58±0.07
5.81±0.68
H=2
139.90±2.29
0.26±0.01
7.11±0.23
5.65±0.96
H=4
137.37±1.46
0.25±0.01
6.98±0.16
5.79±0.65
H=8
138.03±2.07
0.26±0.01
7.06±0.25
4.78±0.32
Table 5: Performance comparison under long-horizon control. In this specific experiment, the control interval increases to 15 minutes. Lower is better.
Figure 10: Ablation study on hyper-parameters under linear smoothness regularization. The control interval is 5 minutes.
Variant
Energy (kWh) ↓
Abs PMV ↓
PPD (%) ↓
Action Fluctuation ↓
w/o Decoupled Architecture
144.56±3.72
0.33±0.02
8.15±0.22
3.72±0.99
w/o Held-Action TD- λ
141.25±4.60
0.28±0.03
7.90±0.34
2.97±0.41
CAL (Full)
137.63±1.20
0.26±0.01
7.16±0.11
2.13±0.32
Table 6: Ablation study under linear smoothness regularization. Lower is better for all metrics.
Reinforcement learning control uses reward-driven learning to make decisions in dynamic systems, from robots and vehicles to energy and infrastructure.
Buildings account for roughly one-third of global energy consumption and CO2 emissions. Optimizing indoor climate systems plays a critical role for urban climate mitigation aligned with UN Sustainable Development Goals 11 and 13. However, indoor delayed thermodynamic responses and partial observability severely hinder existing methods, which are primarily limited by implicit thermal inertia, occupancy dynamic prediction, and cumulative prediction errors, especially for out-of-distribution environments. In practice, these challenges are further exacerbated by the high cost and privacy burden of dense indoor sensing, forcing operators to collect only limited data in a single operating regime while expecting controllers to generalize reliably across unseen seasons and climate regions. To address this problem, we propose ADAPT, a physics-aware conditional diffusion indoor environmental world model for HVAC control. The model predicts a short-horizon held-action thermal baseline to capture the latent thermal inertia of the buildings. The diffusion backbone utilizes the robustness of generative models, while a learnable multi-zone heat-balance regularizer constrains generated trajectories to satisfy transferable building thermodynamics without requiring known building geometry or manually calibrated thermal parameters. A credit assignment is then design for the downstream reinforcement learning. Extensive experiments on SemibuildingSim and Sinergym demonstrate that ADAPT reduces HVAC energy consumption by 7.3% and occupant discomfort by 30.2% compared with state-of-the-art baselines under IID control. Under OOD control scenarios spanning unseen seasons and climate regions, ADAPT maintains robust performance with only marginal degradation relative to its IID performance, substantially outperforming existing methods in transfer robustness.
Xu Yang, Kailai Sun, Dianyu Zhong +1
Department of Automation Tsinghua University, Beijing, China · SMART, Singapore Massachusetts Institute of Technology Cambridge, MA, USA
Model-based reinforcement learning (MBRL) offers a promising approach for data-efficient energy management in buildings, combining the strengths of predictive modeling and reinforcement learning. While previous MBRL methods applied to HVAC control have reduced training data requirements, they still require several months of interaction with the building to learn a satisfactory control policy. A key reason is that existing surrogate models attempt to predict the entire state-space, including weather and electricity prices that are unaffected by control actions, or completely ignore these variables. Addressing these issues, we propose Counter-Dyna, a method that enhances the data-efficiency of Dyna, an MBRL method. We create data-efficient counterfactual surrogate models (CSM) by leveraging invariances in the state-space. Using a CSM in Dyna speeds up RL training measured in environment interaction data compared to previous results. In comparison with previous state-of-the-art that used 6-12 months of environment interactions, our method needs only 5 weeks. We evaluate our method in a large simulation study using the literature standard BOPTEST framework and proximal policy algorithm (PPO) as the RL algorithm. Our results show cost-saving potentials of 5.3% to 17.0% in a hypothetical deployment scenario. Our work is a significant step towards making real-world deployment of RL algorithms in HVAC control practically viable.
Jan Marco Ruiz de Vargas, Fabian Raisch, Zoltan Nagy +2
Technical University of Munich Munich, Germany · Technical University of Applied Sciences Rosenheim Rosenheim, Germany · Eindhoven University of Technology Eindhoven, Netherlands +1
Accurate occupancy information is essential for closed-loop occupant-centric control (OCC) in smart buildings. However, existing vision-based occupancy measurement methods often struggle to provide stable and accurate measurements in real indoor environments, and their implications for downstream HVAC control remain insufficiently studied. To achieve Net Zero emissions by 2050, this paper presents an experimental study of large language models (LLMs)-enhanced vision-based indoor occupancy measurement and its impact on OCC-enabled HVAC operation. Detection-only, tracking-based, and LLM-based refinement pipelines are compared under identical conditions using real surveillance data collected from a research laboratory in China, with frame-level manual ground-truth annotations. Results show that tracking-based methods improve temporal stability over detection-only measurement, while LLM-based refinement further improves occupancy measurement performance and reduces false unoccupied prediction. The best-performing pipeline, YOLOv8+DeepSeek, achieves an accuracy of 0.8824 and an F1-score of 0.9320. This pipeline is then integrated into an HVAC supervisory model predictive control framework in OpenStudio-EnergyPlus. Experimental results demonstrate that the proposed framework can support more efficient OCC operation, achieving a substantial HVAC energy-saving potential of 17.94%. These findings provide an effective methodology and practical foundation for future research in AI-enhanced smart building operations.
Irfan Qaisar, Kailai Sun, Qingshan Jia +1
Center for Intelligent and Networked Systems, Department of Automation, BNRist, Tsinghua University, Beijing, 100084, China · Urban Mobility Lab, Massachusetts Institute of Technology, Cambridge, MA 02139, USA · Singapore-MIT Alliance for Research and Technology Centre, Massachusetts Institute of Technology, 138602, Singapore