Personalized Building Climate Control with Contextual Preferential Bayesian Optimization

Wenbin Wang, Jicheng Shi, Colin N. JonesarXiv 2025 · DOI

Introduction

Heating, Ventilation, and Air-Conditioning (HVAC) systems are primary drivers of global energy consumption in modern buildings. While advanced control strategies like Model Predictive Control (MPC) offer significant energy-saving potential, they are notoriously difficult to tune for human comfort. This difficulty stems from two main factors: the subjective nature of comfort, which is hard for occupants to quantify on absolute scales, and the influence of environmental context (e.g., outdoor temperature) on occupant preferences.

Researchers at EPFL have addressed these challenges by developing a "contextual preferential" Bayesian optimization algorithm. This framework tunes building climate controllers based on simple "better or worse" feedback from occupants while explicitly accounting for changing environmental conditions.

Methodology: The Contextual PBO Framework

The proposed framework utilizes Contextual Preferential Bayesian Optimization (PBO) to bridge the gap between automated control and human preference.

The Contextual PBO learning loop, showing the interaction between the optimizer, the MPC controller, and the building environment.

The Controller and Learning Loop

The system employs an economic MPC that regulates indoor temperature by manipulating radiator valves. The MPC is tuned via two primary parameters ($\theta$): an energy price threshold and a lower temperature bound. Unlike traditional methods that require absolute comfort ratings, this system asks occupants for binary preference feedback ($q_t$), comparing the current day's conditions to the previous day's. This approach leverages the psychological insight that humans are more reliable at making pairwise comparisons than providing consistent absolute scores.

Context Integration

A critical innovation is the integration of a context variable ($z_t$), specifically the daily average outdoor temperature. The algorithm models the unknown occupant utility function within a Reproducing Kernel Hilbert Space (RKHS). By using a "likelihood ratio method" to construct confidence regions around this utility function, the algorithm selects controller parameters for the following day that maximize potential improvement given the predicted weather context.

Experimental Setup

The framework was evaluated using BOPTEST (Building Optimization Testing framework), a high-fidelity simulation platform. The test case focused on a "singlezone commercial hydronic" building. Initial thermal dynamics were identified using an ARX (AutoRegressive with eXogenous inputs) model trained on one week of "bang-bang" control data. The primary evaluation spanned a two-month simulation period.

Key Results and Discussion

The experimental results demonstrate that accounting for context is essential for stable and effective controller tuning. The contextual PBO consistently outperformed both the baseline controller and a "static" PBO that ignored weather variations.

Relative improvement of PBO and Contextual PBO compared to the baseline controller, highlighting the superior performance and stability of the contextual approach.
  • Utility and Efficiency: The contextual PBO achieved a total utility improvement of up to 23%. For energy-focused occupants, the method realized an 18.6% reduction in costs compared to the baseline.
  • Adaptive Comfort: The algorithm successfully learned "adaptive comfort" curves, automatically recognizing that occupants often tolerate lower indoor temperatures during colder weather due to changes in clothing.
  • Stability: While static PBO often showed high variability and occasionally performed worse than the baseline due to context mismatch, the contextual version remained stable and improved consistently over time.

Conclusion and Future Work

This research demonstrates that contextual preference-based tuning can effectively personalize building climate control without requiring complex user models. By focusing on simple comparisons and environmental context, the system achieves significant gains in both comfort and energy efficiency.

Future research will focus on moving from high-fidelity simulations to real-world deployments, where human feedback may be noisier or less frequent. Additionally, the authors aim to establish formal convergence guarantees and develop strategies to scale the framework to high-dimensional parameter spaces in complex, multi-zone buildings.

Summary updated

BibTeX
@misc{wang2025personalized,
  author = {Wenbin Wang and Jicheng Shi and Colin N. Jones},
  title = {{Personalized Building Climate Control with Contextual Preferential Bayesian Optimization}},
  year = {2025},
  eprint = {2512.09481},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.09481},
}
Figure