NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Data-Driven Control and Data-Poisoning attacks in Buildings: the KTH Live-In Lab case study

Alessio Russo, Marco Molinari, Alexandre Proutière

Introduction

The management of indoor climates in modern "smart" buildings is increasingly reliant on sophisticated control systems to balance energy efficiency with occupant comfort. Traditionally, these systems are built using "first-principles" mathematical models—complex sets of equations that describe the thermodynamics of a specific structure. However, creating these models is labor-intensive and often prohibitively expensive for diverse building portfolios.

In response, researchers have turned to data-driven control methods. These techniques bypass the need for explicit physical modeling by learning optimal control parameters directly from experimental input-output data. While this approach offers a streamlined path to automation, it introduces a significant security vulnerability: the reliance on the integrity of sensor data. This paper explores the feasibility of Virtual Reference Feedback Tuning (VRFT) in the context of the KTH Live-In Lab and investigates how "data-poisoning" attacks can compromise these systems.

Methodology: Virtual Reference Feedback Tuning (VRFT)

The study focuses on Virtual Reference Feedback Tuning (VRFT), a "one-shot" data-driven method. Unlike traditional methods that first identify a model of the plant and then design a controller, VRFT directly computes the parameters of a controller (such as a standard PID controller). It achieves this by minimizing the difference between the actual system performance and a predefined "reference model" that represents the desired behavior.

While VRFT is computationally efficient and effective, its direct nature is a double-edged sword. Because there is no intermediate physical model to serve as a "sanity check," the resulting controller is entirely dependent on the quality of the training data.

The Threat Model: Max-Min Data Poisoning

To evaluate the security of VRFT, the researchers implemented a Max-Min Attack Framework. This framework represents a bi-level optimization problem where an adversary seeks the smallest possible perturbation to the training data that yields the maximum degradation in the final controller's performance.

The attack targets two primary vectors:

  1. Actuator Signals (Inputs): Manipulated using Disciplined Convex-Concave Programming (DCCP).
  2. Sensor Signals (Outputs): Manipulated using Projected Gradient Ascent (PGA).

A critical aspect of these attacks is their "stealth." Rather than injecting obvious noise or outliers, the framework generates poisoned data that appears operationally plausible, making it difficult for standard anomaly detection filters to identify the breach.

Experimental Setup: The KTH Live-In Lab

The research utilized a high-fidelity digital twin of the KTH Live-In Lab, a sophisticated residential testbed in Sweden. Simulations were conducted using IDA Indoor Climate and Energy (IDA ICE), a gold-standard tool for building performance analysis.

The study compared two experimental scenarios:

  • Scenario A (Controlled): Experiments were carefully designed to keep the system within its linear operating range, avoiding actuator saturation.
  • Scenario B (Naive): Experiments were conducted without these constraints, often leading the control signals to hit their physical limits (saturation).

Data batches of varying sizes ($N=100$ and $N=1000$) were sampled at 9-minute intervals to test the impact of data volume on both performance and vulnerability.

Key Insights: The Saturation Trap and Stealth Vulnerabilities

The experiments revealed that the method of data collection significantly influences the system's security profile. Controllers trained under Scenario B (the "naive" approach) were found to be far more susceptible to poisoning. When a system frequently hits its physical limits during training, the resulting data provides a skewed view of the building's dynamics, which an attacker can easily exploit to "mislead" the VRFT algorithm.

Furthermore, the lack of a physical model in the VRFT pipeline means the controller "trusts" the poisoned data implicitly. Without a model to verify if the suggested control logic aligns with known laws of thermodynamics, the system adopts faulty parameters that lead to poor real-world performance.

Results: Performance Degradation and System Instability

Under normal, uncompromised conditions, VRFT proved highly effective. In Scenario A, 100% of the controllers achieved excellent setpoint tracking. However, the introduction of poisoned data led to dramatic failures:

  • Tracking Errors: In the most vulnerable cases (Scenario B with small datasets), the Root Mean Square Error (RMSE) of temperature tracking increased sharply. Some controllers missed their temperature targets by as much as 5°C.
  • System Oscillations: Power Spectral Density analysis showed that poisoned controllers often caused the HVAC system to oscillate. These rapid, unnecessary fluctuations in heating and cooling would result in significant energy waste and accelerated mechanical wear on the building's infrastructure.

Limitations and Future Outlook

While this study highlights a critical vulnerability, it also identifies areas for further research. The current work focused on linear PID-like controllers; future studies should examine the vulnerability of non-linear and neural-network-based controllers. Additionally, while the IDA ICE simulations are highly accurate, physical validation within the KTH Live-In Lab is necessary to bridge the "sim-to-real" gap.

Finally, the research underscores a pressing need for defensive mechanisms. As buildings transition toward autonomous, AI-driven operations, securing the data supply chain becomes as vital as the control logic itself. Robust training methods and data-validation layers will be essential to protect the next generation of smart infrastructure from sophisticated cyber-physical attacks.

Summary updated

BibTeX
@inproceedings{russo2021data,
  author = {Alessio Russo and Marco Molinari and Alexandre Proutière},
  title = {{Data-Driven Control and Data-Poisoning attacks in Buildings: the KTH Live-In Lab case study}},
  booktitle = {MED},
  year = {2021},
  doi = {10.1109/med51440.2021.9480238},
}
Figure