Partially stochastic deep learning with uncertainty quantification for model predictive heating control
Emma Hannula, Arttu Häkkinen, Antti Solonen, Felipe Uribe, Jana de Wiljes, Lassi Roininen
TL;DR
The work addresses energy efficiency in building heating by improving indoor temperature prediction for model predictive control (MPC) with uncertainty quantification. It introduces a partially stochastic deep learning model, LSTM+BNN, which places a probabilistic prior on the first linear layer while keeping the remainder deterministic, and trains via variational inference to produce predictive uncertainty. On a large real-world dataset of 100 buildings, the LSTM+BNN outperforms an industry-proven reference model by more than 40% RMSE for the $H=48$ hour horizon and provides a calibrated uncertainty distribution, enabling pre-assessment of model competency for MPC decisions. The approach balances predictive accuracy with transparency and scalability, supporting uncertainty-aware integration into industrial heating MPC and offering a pathway toward more reliable, energy-efficient thermal management in buildings.
Abstract
Making the control of building heating systems more energy efficient is crucial for reducing global energy consumption and greenhouse gas emissions. Traditional rule-based control methods use a static, outdoor temperature-dependent heating curve to regulate heat input. This open-loop approach fails to account for both the current state of the system (indoor temperature) and free heat gains, such as solar radiation, often resulting in poor thermal comfort and overheating. Model Predictive Control (MPC) addresses these drawbacks by using predictive modeling to optimize heating based on a building's learned thermal behavior, current system state, and weather forecasts. However, current industrial MPC solutions often employ simplified physics-inspired indoor temperature models, sacrificing accuracy for robustness and interpretability. While purely data-driven models offer superior predictive performance and therefore more accurate control, they face challenges such as a lack of transparency. To bridge this gap, we propose a partially stochastic deep learning (DL) architecture, dubbed LSTM+BNN, for building-specific indoor temperature modeling. Unlike most studies that evaluate model performance through simulations or limited test buildings, our experiments across a comprehensive dataset of 100 real-world buildings, under various weather conditions, demonstrate that LSTM+BNN outperforms an industry-proven reference model, reducing the average prediction error measured as RMSE by more than 40% for the 48-hour prediction horizon of interest. Unlike deterministic DL approaches, LSTM+BNN offers a critical advantage by enabling pre-assessment of model competency for control optimization through uncertainty quantification. Thus, the proposed model shows significant potential to improve thermal comfort and energy efficiency achieved with heating MPC solutions.
