Abstract
Reinforcement Learning (RL) has emerged as a powerful tool for optimizing building energy management, yet its real-world applicability is often hindered by a lack of generalization across diverse environments. We present BEAVER, an open-source benchmark designed to stress-test Multi-Objective Reinforcement Learning (MORL) agents against variations in building dynamics and climate conditions. Our evaluation reveals a critical "generalization gap": while agents can effectively balance conflicting objectives like thermal comfort and energy cost in a single setting, their performance degrades significantly when faced with unseen building materials or shifting weather patterns.
Introduction
The deployment of RL in smart buildings faces a significant hurdle: the "generalization gap." Most research evaluates agents on the same building configurations and weather data used during training. However, a real-world building operator manages a heterogeneous portfolio where insulation properties, local climates, and tenant priorities vary wildly. To address this, we introduce the Multi-Objective Contextual Markov Decision Process (MOC-MDP) framework, which treats environmental factors as context variables that alter the underlying physics of the task.
The BEAVER Framework
BEAVER is built on a foundation of physics-principled modeling and realistic data sources to ensure high-fidelity simulations:
- Physics-Principled Modeling: Instead of black-box models, BEAVER utilizes a Resistance-Capacitance (RC) network to simulate thermal dynamics, ensuring the environment obeys the laws of heat transfer.
- Contextual Parameterization: The benchmark allows researchers to systematically vary building properties (based on U.S. Dept. of Energy reference buildings) and climate profiles.
- Climate Diversity: The benchmark includes five distinct weather zones: Mixed Marine, Cool Marine, Warm Humid, Warm Dry, and Hot Humid.
- Open Source Integration: The environment is fully compatible with the Gymnasium interface and is available for the research community.
Evaluation Metrics
To rigorously assess MORL performance, we employ specialized metrics:
- Hypervolume (HV): Measures the quality and extent of the trade-off frontier between objectives.
- Sparsity (SP): Quantifies how evenly distributed the solutions are, indicating the diversity of options provided to a user.
- Expected Utility (EU): Represents the average performance across different user preferences (e.g., prioritizing cost vs. comfort).
Key Findings
Our experiments with state-of-the-art MORL algorithms, such as C-MORL, yielded several critical insights:
The Generalization Paradox
Agents often achieve near-optimal trade-offs in their training climate but fail to generalize to others. For example, an agent trained in "Warm Marine" conditions showed extreme instability when tested in "Warm Humid" zones, with the Sparsity (SP) metric spiking from 0.19 to 7.24. This indicates a total loss of the ability to provide diverse trade-off options for users.
Sensitivity to Building Dynamics
While performance was stable across most building types, specific variations in heat convection (e.g., "Dynamics 3") caused the Hypervolume to drop from ~9.35 to ~8.49. This suggests that certain physical parameters are more critical to policy stability than others.
Static vs. Dynamic Training
Interestingly, training on a variety of buildings ("Dynamic-Train") offered only marginal improvements over training on a single building ("Static-Train"). This suggests that simply increasing data diversity is insufficient; agents require more sophisticated mechanisms to internalize and adapt to contextual information.
Conclusion and Future Work
BEAVER highlights the fragility of current MORL approaches in the face of environmental variation. Future research must focus on developing policies that can adapt from small-scale to large-scale buildings and incorporating more realistic factors such as stochastic human behavior and varying occupancy levels. By providing a standardized platform for these challenges, BEAVER aims to bridge the gap between lab-based RL and real-world smart building deployment.
Summary updated