HVAC Control With Optimization-Guided Behavior Cloning and Restricted Residual Policy Learning

View at publisher
Authors: Shuhua Gao, Hailong WEN, Feng Wang, Kun‐Yi Yang, Cheng Xiang
Cited by: 1
References: 41

Abstract

HVAC control can be formulated as an optimization problem balancing energy consumption and occupant comfort. Model-based approaches such as model predictive control (MPC) deliver strong performance when accurate thermal models are available but degrade under model mismatch and require costly system identification. Learning-based methods, notably reinforcement learning (RL), avoid explicit modeling yet often incurs unsafe exploration, poor initial performance, and slow convergence in practice. We propose Optimization-Guided Behavioral Cloning with Restricted Residual Policy Learning (OGBC+RRPL), a hybrid framework that unites model-based optimization and data-driven adaptation. OGBC first builds an optimization-based HVAC control expert by solving a linear program derived from an approximate autoregressive thermal model and trains an initial policy offline via behavioral cloning. RRPL then refines this policy online by learning a compensating lightweight residual policy with an actor-critic algorithm enhanced by action clipping and critic regularization to ensure stable and safe updates. This design preserves optimization knowledge, mitigates catastrophic forgetting, and constrains risky exploration during online adaptation. Experiments on CityLearn v2 demonstrate that OGBC+RRPL delivers high-quality control immediately upon deployment, attains comparable or better performance far faster than standard online RL algorithms, and outperforms offline RL methods on both energy consumption and temperature-violation metrics. The results indicate that infusing optimization guidance into residual online learning provides a practical, data-efficient, and safe approach for real-world HVAC control. Our implementation code can be found at https://github.com/HailongW0818/HVAC-OGBC-RRPL.

Fields of Study & Subjects

Building Energy and Comfort Optimization Smart Grid Energy Management Reinforcement Learning in Robotics

Publication details

Journal / source
IEEE Transactions on Smart Grid
Publisher
Institute of Electrical and Electronics Engineers (IEEE)
Volume
17
Issue
4
Pages
3112–3125
Publication date
16 February 2026