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

Adversarial Examples for Model-Based Control: A Sensitivity Analysis

Po-han Li, Ufuk Topcu, Sandeep P. Chinchali · DOI

Introduction

While adversarial machine learning has traditionally focused on the domain of computer vision—such as the manipulation of pixels to deceive image classifiers—the vulnerability of physical infrastructure remains a critical and under-explored frontier. Many modern industrial systems, including power grids, telecommunications networks, and automated financial platforms, rely on model-based control frameworks like Model Predictive Control (MPC) and Linear Quadratic Regulators (LQR). These systems are "input-driven," meaning they ingest external time-series forecasts to optimize their decision-making processes.

This paper investigates the sensitivity of these controllers to adversarial perturbations in their input forecasts. We demonstrate that even minute, human-imperceptible changes to external data (e.g., electricity demand forecasts) can lead to catastrophic failures, including massive cost increases and the violation of physical safety constraints.

The Problem: Passive Vulnerability in Control Systems

Standard control frameworks are designed to be robust against internal system noise and process disturbances. However, they are often "passive" recipients of external forecast data. If an adversary can subtly manipulate the forecast that a controller uses for its optimization—for instance, by predicting a slight surge in power demand—the controller will take actions that are mathematically "optimal" for the fraudulent data but disastrous in the real world.

This research provides a formal sensitivity analysis to quantify the damage a "white-box" attacker—one with knowledge of the controller’s internal parameters—can inflict by targeting these forecast inputs.

Methodology

The study approaches the problem through two primary analytical lenses:

1. Analytical Attacks on LQR

For the Linear Quadratic Regulator (LQR), the authors derive a closed-form solution for the "worst-case" perturbation. The analysis reveals that the change in control cost is quadratic relative to the forecast error and is governed by a sensitivity matrix, denoted as $\Psi$. Crucially, the optimal attack direction is determined by the system's dynamics and cost weights, rather than the actual values of the time-series or the current state of the system. This implies a state-agnostic vulnerability: an attacker does not need to know the battery's current charge or the real-time demand to craft a devastating attack.

2. Gradient-Based Attacks on Convex MPC

For more complex controllers that manage constraints (such as energy storage limits), a simple analytical solution is often unavailable. To address this, the researchers utilize a first-order Taylor Series expansion of the "solution map." This approximation allows the attacker to understand how the controller’s actions will shift in response to input perturbations. This method enables targeted attacks designed to either maximize total operational costs or force the system to violate specific inequality constraints, such as overcharging a battery or exceeding throughput limits.

Experimental Setup

The methodologies were evaluated using two distinct datasets:

  • ARIMA Process: A synthetic dataset generated via an Autoregressive Integrated Moving Average model to test the statistical properties of the attacks in a controlled environment.
  • PJM Electricity Data: Real-world hourly electricity consumption data from 2015, sourced from the PJM Interconnection (a major US regional transmission organization). This was used to simulate a battery storage operator attempting to balance grid demand.

Key Results and Insights

Massive Cost Escalation

On the real-world PJM electricity dataset, targeted adversarial perturbations increased control costs by an average of 8500% compared to the baseline scenario. This highlights the extreme sensitivity of optimization-based control to strategic input manipulation.

Constraint Violations and Infeasibility

Attacks targeting energy limitations increased the absolute sum of actions (energy throughput) by 13%, which can significantly shorten hardware lifespan or exceed physical safety thresholds. Furthermore, sophisticated attacks can render the control optimization problem infeasible, effectively paralyzing the controller as no valid action can satisfy the manipulated constraints.

Potency vs. Random Noise

Strategic manipulation proved to be orders of magnitude more effective than natural forecasting errors. In tests using the ARIMA data, targeted attacks increased costs by 740%, whereas random noise of the same magnitude had a negligible impact on system performance.

Discussion and Future Work

The findings underscore a significant security gap in model-based control. The sensitivity of the system is not uniform; errors at specific time steps or in specific directions (defined by the dominant eigenvector of the sensitivity matrix $\Psi$) cause exponentially more damage than others.

Limitations

The current approach for attacking general convex controllers relies on first-order approximations. In scenarios where the system has local extrema or the gradient is zero, this method may falter. Additionally, the study assumes a "white-box" environment where the attacker knows the system parameters ($A, B, C, Q, R$).

Future Directions

There is an urgent need for "certified defenses"—control methods that can detect manipulation or adjust parameters to remain robust in the face of tampered inputs. Future research should also explore "black-box" attacks, where the adversary must estimate system parameters through observation rather than direct knowledge.

Summary updated

BibTeX
@inproceedings{li2022adversarial,
  author = {Po-han Li and Ufuk Topcu and Sandeep P. Chinchali},
  title = {{Adversarial Examples for Model-Based Control: A Sensitivity Analysis}},
  booktitle = {Allerton},
  year = {2022},
  url = {https://openreview.net/forum?id=jAsqkszkaM},
}
Figure