This paper, recently published by researchers at the University of Texas at Austin, explores a critical security vulnerability in modern control systems: Data-Driven Predictive Control (DPC). While DPC is a powerful tool for controlling complex systems without needing a mathematical model, this research demonstrates that it is surprisingly fragile when faced with "smart" adversarial data.
TL;DR
The authors develop a highly efficient numerical method to compute "poisoning attacks" against data-driven controllers by injecting tiny, calculated perturbations into sensor data. Their results show that these adversarial attacks can cause tracking errors ten times higher than random noise, even in high-fidelity nonlinear simulations like quadrotors.
What Problem Does This Paper Address?
Traditional Model Predictive Control (MPC) requires a precise physics-based model of a system (like a robot or a power grid). Data-Driven Predictive Control (DPC) bypasses this by using past input-output data to predict future behavior. Because it relies entirely on data, DPC is theoretically susceptible to "poisoning"—where an attacker subtly modifies the data to trick the controller.
While previous research suggested DPC is robust against random, zero-mean stochastic noise, this paper asks a more dangerous question: What happens if the noise isn't random? If an attacker knows how the controller "thinks," can they design a deterministic perturbation that causes the system to fail while remaining small enough to bypass standard security filters?
Methods
The authors frame the attack as a bilevel optimization problem:
- Lower Level: The DPC controller tries to find the best control inputs based on (poisoned) data.
- Upper Level: The attacker tries to find the "best" perturbation to maximize the controller's error.
Solving bilevel optimization is notoriously difficult (NP-hard). To make it practical, the authors introduce a novel approximation method:
- Implicit Differentiation: Instead of "unrolling" the controller's optimization steps (which is computationally expensive), they use the Implicit Function Theorem to differentiate through the controller's optimality conditions.
- Minty Parameterization: They use a specific mathematical trick (Minty parameterization) to transform the controller's optimization into a set of nonlinear equations. This allows them to compute the "sensitivity" of the control output to the input data very efficiently.
- Algorithm 1: They provide a streamlined algorithm that solves the DPC problem once, computes a Jacobian, and then solves a simple linear optimization to find the optimal attack.
Datasets
The researchers evaluated their attack on two distinct simulated systems:
- Oscillating Masses System: A standard linear benchmark consisting of two masses connected by springs.
- PyBullet Quadrotor: A high-fidelity, nonlinear robotics simulator. This is a "black-box" system where the underlying dynamics are complex and not explicitly known to the attacker, making it a realistic testbed for DPC.
Key Insights and Ideas
- Adversarial vs. Random: The most significant "aha" moment is the disparity between random noise and adversarial poisoning. DPC handles random sensor jitter well, but it is highly sensitive to perturbations aligned with the "solution map" of its internal optimization.
- Efficiency over Generality: By tailoring their implicit differentiation specifically for the structure of DPC, the authors created a method that is significantly faster and uses less memory than general-purpose toolboxes like
CVXPYlayers. - The Vulnerability of Online Data: The authors specifically target online output data ($y_{ini}$). Unlike offline training data, which can be scrubbed and verified, online data is generated in real-time and is often more sensitive to non-invasive sensor spoofing.
Key Results
- Magnitude of Impact: In the quadrotor experiments, the poisoning attacks generated by Algorithm 1 resulted in tracking errors one order of magnitude higher than random perturbations of the same size.
- Computational Speed: The proposed method solves a least-squares problem that is roughly half the size of those solved by state-of-the-art differentiation toolboxes. For a trajectory length of 100, their method handled a problem size of 1,712 vs. 4,049 for
CVXPYlayers. - Nonlinear Success: Even though the attack is calculated using a linear approximation, it successfully disrupted the highly nonlinear quadrotor system in PyBullet, proving the attack's transferability.
Limitations and Future Work
The current study assumes a "white-box" attack scenario, where the attacker has full knowledge of the controller's parameters (like regularization weights). In a real-world hack, an attacker might only have partial knowledge.
Future directions suggested by the authors include: 1. Partial Knowledge Attacks: Developing "grey-box" or "black-box" attacks where the controller's internal settings are unknown. 2. Adversarial Defense: Using these attack methods as a "red team" tool to help engineers design more robust regularization parameters—essentially "adversarial training" for control systems. 3. Quantitative Robustness: Moving beyond qualitative statements ("DPC is robust") to quantitative metrics that define exactly how much data poisoning a specific controller can withstand before failing.
Summary updated