TL;DR
This paper introduces RARL_HIL, a novel reinforcement learning framework designed to make human-in-the-loop (HIL) HVAC systems more robust against unreliable user feedback. By training a primary agent alongside an adversarial agent that generates "false" feedback, RARL_HIL enables HVAC systems to maintain optimal performance even when faced with intentionally misleading or irrational user inputs, thereby improving energy efficiency and occupant comfort.
What Problem Does This Paper Address?
Global energy consumption is a critical concern, with buildings being major energy consumers, particularly through Heating, Ventilation, and Air-Conditioning (HVAC) systems. In large communal spaces like malls or offices, HVAC systems often overcool to ensure comfort for a diverse user base, leading to significant energy waste. Human-in-the-loop (HIL) learning offers a promising solution by using crowdsourced user feedback to optimize HVAC settings for both energy efficiency and thermal comfort. However, a significant challenge arises from the potential for users to provide unreliable, adversarial, or irrational feedback. This unreliable input can destabilize the HIL system, leading to suboptimal decisions and negating the intended benefits. This paper addresses this critical gap by developing a method to make HIL HVAC systems robust to such adversarial and irrational user inputs.
Methods
The core innovation of this paper is the RARL_HIL (Robust Adversarial Reinforcement Learning for Human-in-the-Loop) framework. It builds upon standard HIL and reinforcement learning (RL) techniques but introduces a novel adversarial training component.
- Human-in-the-Loop (HIL) RL: The system uses an RL agent to learn optimal temperature settings for HVAC systems. This agent receives aggregated thermal comfort feedback (e.g., user votes on temperature) from occupants via a network-enabled interface. The agent's goal is to balance energy savings with occupant comfort.
- Adversarial Training: RARL_HIL jointly trains two agents:
- Primary Agent: This is the main RL agent responsible for learning the optimal HVAC control policy.
- Adversarial Agent: This agent is trained to generate "false" feedback (simulating adversarial or irrational users) with the goal of minimizing the primary agent's rewards.
- Zero-Sum Game: The two agents are trained in a zero-sum framework, meaning the adversarial agent's gain is the primary agent's loss, and vice-versa. This encourages the primary agent to learn a policy that is resilient to disturbances.
- Modular Design: The framework is designed to be modular, allowing it to be applied to other crowd-sourced HIL systems beyond HVAC.
Datasets
The paper does not explicitly mention using pre-existing datasets for training. Instead, it relies on a simulated environment designed to mimic a single-level office building. This simulation incorporates:
- Building Environment: An area of 4800 m² with a maximum capacity of 1000 occupants.
- Outdoor Conditions: Simulated tropical summer conditions with a base temperature of 28°C, varying hourly.
- Occupancy Simulation: Dynamically generated occupancy levels based on time-of-day probabilities, with different patterns for work hours, lunch breaks, and transition periods.
- User Feedback Simulation:
- Predicted Mean Vote (PMV): Occupants' thermal comfort is modeled using the PMV index, influenced by their metabolic rate and clothing insulation.
- Adversarial Input: Two scenarios are modeled:
- Scenario 1 (Adversarial): Occupants intentionally provide erroneous PMV scores, with adjustments based on time, occupancy, and historical trends.
- Scenario 2 (Irrational): Occupants choose PMV values with a diminishing probability as they deviate from their true PMV, controlled by an irrationality constant (B).
The simulation is used for both training and evaluating the performance of the proposed RARL_HIL algorithm and comparing it against a vanilla DQN HIL baseline.
Key Insights and Ideas
- The "Blind Spot" of HIL: Standard HIL systems are vulnerable because they assume user feedback is generally truthful. This paper highlights that this assumption is a critical weakness, especially in public spaces where malicious or simply irrational behavior can have significant consequences.
- Adversarial Training as a "Vaccine": By explicitly training an adversarial agent to "attack" the primary agent, RARL_HIL effectively inoculates the system against unreliable inputs. The primary agent learns to distinguish between genuine comfort signals and attempts to destabilize it.
- Robustness Over Pure Optimization: The framework shifts the focus from achieving peak performance under ideal conditions to achieving reliable performance under challenging, adversarial conditions. This is crucial for real-world deployment where perfect conditions are rare.
- Generalizability of the Approach: The modular design of RARL_HIL suggests its applicability beyond HVAC, potentially improving the safety and reliability of any HIL system that relies on user feedback.
Key Results
The paper demonstrates the effectiveness of RARL_HIL through simulations and testing in unseen environments:
- Outperforming Vanilla DQN: In simulations with adversarial and irrational users, RARL_HIL consistently achieved higher cumulative rewards compared to a vanilla DQN HIL algorithm.
- Performance under Adversarial Input: As the fraction of adversarial users increased (up to 100%), RARL_HIL showed a significant performance advantage. In a fully adversarial population, RARL_HIL achieved up to a 14.8% improvement in average reward compared to the vanilla DQN baseline.
- Performance under Irrational Input: As user irrationality increased (lower B values), RARL_HIL's performance advantage over the vanilla DQN also grew.
- Unseen Environments: The converged policies of RARL_HIL and vanilla DQN were tested in unseen online environments with simulated adversarial users. RARL_HIL demonstrated superior performance, indicating its ability to generalize to new adversarial scenarios.
Limitations and Future Work
- Simulation-Based: The current evaluation is primarily based on simulations. While the simulation is designed to be realistic, real-world deployment might reveal unforeseen challenges.
- Computational Cost: Jointly training two agents, especially in a zero-sum game, can be computationally intensive.
- Detecting Adversarial Users: The current system does not explicitly identify individual adversarial users. It learns to be robust to their collective impact. Future work could explore methods for detecting and isolating malicious users.
- Real-World Deployment: The authors plan to release the building simulator and RARL_HIL algorithm for open use, paving the way for real-world testing and validation.
- Broader Applicability: While the framework is designed to be modular, further research could explore its application to other HIL systems beyond HVAC.
Summary updated