Attention Makes HVAC Control More Efficient

Read full text
Authors: Khalil Al Sayed, Abhinandana Boodi, Roozbeh Sadeghian Broujeny, Karim Beddiar
Cited by: 0

Abstract

Heating, ventilation, and airconditioning (HVAC) systems account for around 16.4% of global final energy consumption and about 14% of global operational CO2 emissions. Controlling them is a partially observable, sequential decision problem: relying solely on instantaneous sensor readings as inputs overlooks the full sequence of past conditions that shape future dynamics. To tackle this challenge and fully exploit the available temporal context, this study integrates a transformer encoder-decoder architecture into a Double Deep Q-Network (DDQN), forming a "Q-Transformer" capable of processing 24hour sequences of observations. This approach is benchmarked against a conventional DDQN using a multilayer perceptron (MLP) and a sequence-aware Bi-LSTM within an EnergyPlus model of a 400 m 2 university amphitheater. In a weekly adaptation test, the Q-Transformer demonstrated rapid learning convergence, reducing energy consumption by up to 48% and 66% (occupied and unoccupied periods) compared to Bi-LSTM and MLP, respectively, while maintaining thermal and air quality comfort. After one year of simulated training on weather and occupancy data from a reference site (Luxembourg), the agent was evaluated across 4 different climatic locations, resulting energy reductions of 40% and 74%, and comfort violation reductions of 11% and 29%, compared to Bi-LSTM and MLP, respectively. These results signifies the ability of generalization and control capabilities of transformer-based reinforcement learning for adaptive HVAC management. . Source Code (GitHub)

Fields of Study & Subjects

Building Energy and Comfort Optimization Energy Efficiency in Computing Refrigeration and Air Conditioning Technologies

Publication details

Publication date
27 January 2026
Document type
Preprint