TRANSMISSION // 2611.33946v1
When Should HVAC Controllers Treat Comfort as a Rule?
Source published
A study of simulated building control finds that hard comfort limits and penalty-based objectives can perform differently across optimization and reinforcement-learning methods.

A controller can trade comfort against energy use—or be told that comfort is non-negotiable. A preprint comparing those approaches in simulated HVAC control finds that the better choice depends on how the requirement is valued, how it is enforced, and how the controller learns.
The question: a trade-off or a firm limit?
Automated controllers often have to minimize costs while meeting a service requirement. For a building, that might mean saving energy without letting occupied rooms leave their comfort bands. One approach combines comfort violations and energy use into a single score, assigning comfort a penalty weight. Another imposes a comfort limit directly, so the controller must stay within it whenever possible.
The distinction matters. A penalty can make violations costly without making them impossible. A hard constraint treats them as unacceptable, but needs a way to determine which actions will satisfy the limit. Tai-You Chen and colleagues investigate this choice in heating, ventilation and air conditioning (HVAC) control, using the Smart Buildings Challenge’s simulated buildings and scoring system.
How the researchers compared the approaches
The study holds other components as constant as possible while comparing two types of controller. For model-based control, it uses model predictive control (MPC): a controller predicts the result of candidate actions and chooses among them. The researchers compare a hard comfort constraint with a “soft” version that penalizes predicted discomfort. Their MPC uses a one-step prediction horizon and an online-identified thermal model.
For learned control, they use proximal policy optimization (PPO), a reinforcement-learning method. They compare a fixed comfort penalty in the reward, a penalty whose weight changes during training (a Lagrangian method), and an action-projection layer. Projection uses the model to adjust an action toward one predicted to keep a zone inside its comfort band.
The challenge score combines comfort, energy cost and carbon emissions, with comfort receiving a weight of 0.6 and the two cost terms 0.2 each. The MPC tests include 30 training scenarios and 48 generated, unseen buildings. The PPO experiments use a smaller evaluation set: four held-out building–climate pairs, assessed over their first seven days. The paper also reports public leaderboard results, but those are single aggregate scores rather than paired comparisons.
What happened with model-based control
For MPC, a soft penalty can reproduce the hard constraint if its weight is high enough. The relevant threshold is the requirement’s “shadow price”: roughly, the additional cost of meeting the comfort limit. Below that threshold, the controller may save energy and carbon by allowing more discomfort. In this study, the challenge’s comfort weight was about 3.9 times the estimated shadow price, a range in which the hard constraint performed about as well as a sufficiently strong penalty.
Choosing a penalty weight on the training buildings did not guarantee the same result elsewhere. A weight that performed well on the training scenarios scored 3.9% worse than the hard constraint on the 48 unseen buildings, where the shadow price varied. The authors report that a much higher weight matched the hard-constraint result in these tests.
The hard constraint was not always the best scoring choice. When the researchers re-scored the same MPC runs with a lower comfort weight, a soft penalty could outperform it—by up to 28% in the reported re-scoring. That comparison changes how the recorded outcomes are valued; it is not a new controller experiment. The broader point is that enforcing a requirement makes sense when the evaluation values it more than the cost of meeting it. If it values comfort less, allowing some shortfall may yield a better score.
What happened with learned control
The PPO results depended on training duration. Projection kept comfort loss low from the outset and led early, but the projected policy’s overall performance later deteriorated in the reported extended runs. The cause remains unknown. The authors suggest a possible mismatch between the policy’s proposed action and the action actually used after projection, but do not establish that explanation.
The Lagrangian policy learned more gradually and overtook projection in the longer runs, achieving the lowest reported losses there. Its comfort performance on held-out scenarios did not improve as consistently as its training-time measure, however. The fixed-penalty policy did not learn to satisfy the comfort requirement within the tested training lengths. These findings show that a penalty’s theoretical ability to represent a constraint does not ensure that a learning algorithm will discover a satisfactory policy in practice.
What remains uncertain
This is a simulator study, not evidence from occupied buildings in operation. The MPC uses a one-step horizon and an approximate model, so its constraint applies to predicted temperatures; real outcomes could differ. The results come from one simulator, and the learned-policy evaluation is limited: three seeds through 400,000 environment steps, two runs at longer durations, and four held-out scenarios. The authors also note that the Lagrangian results depend on tuning choices, including the threshold and step size.
The paper is a preprint associated with the NeurIPS 2026 Smart Buildings Challenge track. Its conclusions are specific to the tested setup and do not establish that hard constraints or penalties are generally superior. Instead, it illustrates a practical design choice: requirements, models, evaluation scores and learning behavior all shape what a controller can reliably achieve.
- HVAC control
- model predictive control
- reinforcement learning
- comfort constraints
- building energy
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
An AI controller that anticipates a building’s heat
Source published
Shared keywords: building energy, hvac control, reinforcement learning
A safety shield for image-based robot parking
Source published
Shared keywords: model predictive control
When searching harder makes a robot worse
Source published
Shared keywords: model predictive control
Why geometry matters in inverse reinforcement learning
Source published
Shared keywords: reinforcement learning
Learning chemotherapy schedules from patient records: a small study with major limits
Source published
Shared keywords: reinforcement learning