TL;DR
Building2Building (B2B) is a new large-scale reinforcement learning (RL) benchmark suite featuring 6,000 realistic HVAC control environments built on the high-fidelity EnergyPlus simulator. By providing a physically grounded testbed with highly diverse building structures, climates, and control interfaces, B2B allows researchers to systematically address RL's brittleness across goal adaptation, dynamics variation, and cross-domain transfer.
What Problem Does This Paper Address?
While reinforcement learning (RL) excels in isolated, single-task control settings, trained policies are notoriously brittle. If you change the environment's dynamics, goals, or observation/action spaces, performance often plummets. Existing generalization benchmarks (like Meta-World or RLBench) are largely confined to robotics or video games, where variations are typically limited to simple parameter tweaks like changing friction or target positions.
These benchmarks rarely feature structural heterogeneity—scenarios where the number of inputs and outputs changes entirely from one task to the next. The authors propose Heating, Ventilation, and Air Conditioning (HVAC) control as an ideal real-world domain to bridge this gap. All buildings share fundamental thermodynamic principles, yet they vary drastically in layout, weather exposure, and mechanical control interfaces.
Methods
To make large-scale HVAC generalization research possible, the authors introduced several key innovations:
- EnergyPlus Gymnasium Interface: B2B wraps EnergyPlus, the gold-standard building energy simulator, into a standard, parallelizable Python Gymnasium interface.
- Structured Environment Representation: To handle a fleet of buildings with completely different numbers of zones and actuators, B2B introduces a formal "morphological universe." It decomposes observation and action spaces into a common part (e.g., outdoor weather) and a morphological graph representing local components (e.g., thermal zones and specific HVAC equipment). This natively supports flexible architectures like Graph Neural Networks and Transformers.
- Normalized Rewards: Tuning a single reward function across thousands of buildings is notoriously difficult because energy consumption scales differ wildly. B2B normalizes reward terms using the performance of a baseline reactive policy, ensuring that the trade-off between comfort and energy savings remains stable across the entire dataset.
Datasets
The paper introduces a massive dataset of 6,000 distinct environments split into 5,400 training and 600 test environments.
The suite spans 16 different North American climate locations and covers 6 distinct building archetypes:
- House (Single-zone, unitary system)
- Restaurant (2 zones, unitary systems)
- Warehouse (3 zones, unitary & baseboard)
- Retail Store (5 zones, unitary systems)
- Small Office (5 zones, unitary systems)
- Medium Office (15 zones, central air loop systems)
Based on this dataset, the authors establish four standardized benchmark tracks: goal adaptation, dynamics adaptation, action-space shifts, and cross-domain transfer.
Key Insights and Ideas
- Physics as the Anchor: HVAC control provides a unique sweet spot for generalization research. The underlying physics (thermodynamics and energy conservation) are invariant, providing a shared structure that an agent can learn, even as control interfaces shift.
- Moving Beyond Fixed Vectors: Standard RL assumes fixed-size observation and action vectors. B2B's graph-based structural representation forces a shift toward multi-morphology architectures that can dynamically scale across different environment topologies.
- The Pitfall of Reward Scaling: Without proper baseline normalization, a reward weight that works perfectly for a medium office might cause an RL agent in a small office to completely shut off the HVAC system to save energy, resulting in degenerate policies.
Key Results
The authors evaluated standard Proximal Policy Optimization (PPO) agents against a high-performance rule-based reactive baseline inspired by ASHRAE Guideline 36.
- Dynamics Adaptation: In experiments on single-zone houses, a "parameterized agent" (conditioned on building attributes like floor area and construction year) significantly outperformed a standard non-specialist agent. However, a substantial performance gap remains between these general agents and a per-building specialist trained from scratch on a single environment.
- Cross-Domain Transfer: Using an attention-based transformer architecture operating on B2B's structured graph representation, a single policy was trained simultaneously across retail stores, fast-food restaurants, small offices, and medium offices. This unified policy successfully adapted to unseen test buildings and even outperformed the rule-based baseline on several tasks.
Limitations and Future Work
While the generalized models perform well on average, they exhibit a "long tail" of failure cases where transfer fails completely on specific buildings (as seen in the wide distribution of the non-specialist models). Closing the performance gap between multi-environment generalized policies and expensive, per-building specialists remains an open algorithmic challenge. Future work will likely focus on developing more robust multi-morphology architectures that can guarantee stable control across all building variations without catastrophic failures.
Summary updated