Neural Network Control Policy Verification With Persistent Adversarial Perturbation

Yuh-Shyang Wang, Lily Weng, Luca DanielICML 2020

This paper, presented at ICML 2020, tackles a critical safety gap in modern robotics and autonomous systems: how do we trust a neural network (NN) when it's driving a physical system in a feedback loop?

TL;DR

The authors present a framework that combines static neural network verification tools with robust control theory to certify the safety of closed-loop systems. Their method provides safety guarantees against "persistent" adversarial attacks—perturbations that occur at every time step—and achieves certification bounds up to five times tighter than traditional methods.

What Problem Does This Paper Address?

Deep neural networks are notoriously "brittle." A tiny, invisible perturbation to an input can cause a network to make a wild error. In a static setting (like image classification), this is bad. In a dynamic setting (like a self-driving car), it’s potentially fatal.

System architecture showing the feedback loop between the neural network policy, the physical plant, and model uncertainty.

The challenge is the feedback loop. If an attacker nudges a sensor reading at time $t$, it changes the control action, which changes the physical state at time $t+1$, which then becomes the next input to the neural network. Most existing NN verification tools are "static"—they look at a single input-output pair. This paper addresses the dynamic setting, where perturbations are persistent over an infinite horizon, and errors can accumulate over time to destabilize the entire system.

Methods

The authors bridge the gap between AI and Control Theory using two main components:

  1. Theorem 1 (The Core Framework): They derive a sufficient condition for "Closed-Loop Boundedness." Instead of trying to predict the exact path a system will take, they look for a positively invariant set—essentially a "safe box" in the state space. If the system starts in this box and the conditions are met, the authors prove it will never leave the box, regardless of what the adversary does (within a defined $L_\infty$ bound).
  2. Algorithm 1 (Iterative Certification): Finding this "safe box" is hard. The authors propose an iterative algorithm that uses existing static NN verifiers (like CROWN or CNN-Cert) as a subroutine. It extracts a linear approximation of the NN policy to stabilize the system and then uses the verifier to bound the "residual" (the non-linear error) of the network.
  3. A Stronger Attack: To test their limits, they developed a new adversarial attack strategy specifically for control loops. Unlike random testing, this attack uses the system's transfer matrices to "aim" for the most damaging state deviations.

Datasets

The primary evaluation is performed on the Cart-Pole balance control problem, a classic benchmark in control theory and reinforcement learning.

  • They trained a 3-layer ReLU network using Proximal Policy Optimization (PPO).
  • They evaluated the system under two conditions: using the true physics model and using a learned model (where the system dynamics are estimated from data using regression).

Key Insights and Ideas

  • Feedback Amplifies Vulnerability: The paper demonstrates that a system can be "safe" according to random simulations (Monte-Carlo) but still be catastrophically vulnerable to a coordinated, persistent attack.
  • Beyond Lipschitz Continuity: Traditional robust control often relies on "Lipschitz constants" to bound how much an output changes relative to an input. However, for deep NNs, these constants are often extremely "loose" (overly conservative). By using specialized NN verification tools, the authors get a much tighter characterization of the network's behavior.
  • Handling Discontinuity: One of the most impressive features of this framework is that it works even if the NN policy is discontinuous (e.g., if the control output is quantized into discrete steps). Traditional calculus-based methods fail here, but the "invariant set" approach remains valid.

Key Results

Experimental results demonstrating that Algorithm 1 provides 5x better certification bounds and that the custom attack vastly outperforms Monte-Carlo simulations.
  • 5x Better Certification: On the cart-pole task, Algorithm 1 was able to certify safety for an "attack level" (perturbation magnitude) five times larger than what traditional Lipschitz-based robust control could handle.
  • Attack Effectiveness: Their custom attack algorithm discovered state deviations of 31.4 units, while a massive Monte-Carlo simulation of 1 million steps only found a deviation of 5.2. This highlights why mathematical verification is necessary—random testing simply cannot find the worst-case scenarios in complex systems.
  • Robustness to Model Uncertainty: The method proved effective even when the underlying physics were unknown and had to be learned from as few as 100 episodes of data.

Limitations and Future Work

  • Linear Plant Assumption: The framework assumes the physical "plant" (the thing being controlled) is a Linear Time-Invariant (LTI) system. While they handle non-linearities by treating them as "model uncertainty," a purely non-linear framework would be a significant next step.
  • Scalability: The computational cost depends heavily on the static NN verifier used. For very deep or wide networks, the $O(m^2 n^3)$ complexity (where $n$ is nodes and $m$ is layers) might become a bottleneck.
  • Tightness Gap: While much better than previous methods, there is still a gap between the certified safe region and the region where their attack succeeds. Closing this gap remains an open research question.

Summary updated

BibTeX
@inproceedings{wang2020neural,
  author = {Yuh-Shyang Wang and Lily Weng and Luca Daniel},
  title = {{Neural Network Control Policy Verification With Persistent Adversarial Perturbation}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure