Adversarial Robustness Verification and Attack Synthesis in Stochastic Systems

Lisa Oakley, Alina Oprea, Stavros Tripakis

Introduction

As probabilistic model checking becomes a cornerstone for verifying the safety and reliability of complex systems—ranging from communication protocols to autonomous robotics—a critical vulnerability remains: the assumption that transition probabilities are static and accurately known. In real-world deployments, these probabilities are often estimated from noisy data or, more alarmingly, subject to malicious manipulation. This paper bridges the gap between formal verification and adversarial machine learning by introducing a framework for adversarial robustness in stochastic systems, specifically targeting Discrete-Time Markov Chains (DTMCs) and Markov Decision Processes (MDPs).

Problem Formulation: Defining Robustness

The authors define a stochastic system as robust if the degradation in its performance (the probability of satisfying a specific property, such as reaching a goal state) remains below a threshold $\delta$ under a bounded adversarial perturbation $\epsilon$. This formalization allows for a rigorous assessment of how "brittle" a system is when its underlying probabilistic model is tampered with by a malicious actor.

Methodology: Threat Models and Optimization

To capture the diverse ways an attacker might influence a system, the framework defines four distinct threat models based on two axes: structural preservation and the scope of control.

Flexible Threat Models

  1. Structure-Preserving vs. Non-Structure-Preserving: Structure-preserving attacks only modify existing transition probabilities, while non-structure-preserving attacks can introduce entirely new transitions (e.g., creating a new failure path).
  2. State-Specific vs. Transition-Specific: Adversaries may control all transitions originating from a specific set of vulnerable states or only a specific subset of transitions across the system.
Comparison of different adversarial threat models on a Discrete-Time Markov Chain (DTMC). (a) Original system; (b-e) Various attack types targeting states or transitions.

Computational Framework

The search for the "worst-case" attack is formulated as a constrained optimization problem. The authors employ the Sequential Least Squares Programming (SLSQP) algorithm to minimize the probability of property satisfaction. Two primary approaches are proposed:

  • Direct Computation: The optimizer iteratively invokes a standard model checker (e.g., PRISM) to evaluate the objective function.
  • Symbolic Solution: A parametric model checker (e.g., PARAM) generates a closed-form mathematical expression for the satisfaction probability once. The optimizer then performs numerical optimization directly on this formula.

Experimental Evaluation

The framework was validated using three benchmark scenarios: a Simple Communication Protocol, the IPv4 Zeroconf Protocol, and a randomized Grid World environment representing robotic navigation.

Key findings include:

  • Attack Potency: In the Grid World case study, an adversary controlling just 20% of the states could reduce the success probability from 95% to nearly 0% with a perturbation budget of $\epsilon = 0.3$.
  • Scalability Trade-offs: The symbolic approach offers significant speedups (up to 3x) for systems with few parameters. However, as the number of vulnerable transitions increases (typically beyond 20), the complexity of the symbolic formula leads to timeouts, making direct computation the more scalable alternative.
  • Structural Vulnerability: Non-structure-preserving attacks are notably more damaging. The ability to create even low-probability transitions to hazard states can degrade system utility far more effectively than simply shifting existing probabilities.

Insights and Future Directions

This research highlights a parallel to adversarial examples in computer vision: small, targeted perturbations in transition probabilities can lead to catastrophic system failure. By identifying the most sensitive components through "vulnerability mapping," designers can prioritize which states or transitions require the most protection.

While the current framework provides a robust foundation for attack synthesis and verification, several avenues for future work remain. The non-convex nature of the objective functions means optimization may occasionally settle in local minima. Furthermore, extending these methods to history-dependent policies and developing Robust Synthesis techniques—where systems are designed to be inherently resistant to such attacks—represents the next frontier in secure stochastic system design.

Summary updated

Abstract

Probabilistic model checking is a useful technique for specifying and verifying properties of stochastic systems including randomized protocols and reinforcement learning models. Existing methods rely on the assumed structure and probabilities of certain system transitions. These assumptions may be incorrect, and may even be violated by an adversary who gains control of system components. In this paper, we develop a formal framework for adversarial robustness in systems modeled as discrete time Markov chains (DTMCs). We base our framework on existing methods for verifying probabilistic temporal logic properties and extend it to include deterministic, memoryless policies acting in Markov decision processes (MDPs). Our framework includes a flexible approach for specifying structure-preserving and non structure-preserving adversarial models. We outline a class of threat models under which adversaries can perturb system transitions, constrained by an $\varepsilon$ ball around the original transition probabilities. We define three main DTMC adversarial robustness problems: adversarial robustness verification, maximal $δ$ synthesis, and worst case attack synthesis. We present two optimization-based solutions to these three problems, leveraging traditional and parametric probabilistic model checking techniques. We then evaluate our solutions on two stochastic protocols and a collection of Grid World case studies, which model an agent acting in an environment described as an MDP. We find that the parametric solution results in fast computation for small parameter spaces. In the case of less restrictive (stronger) adversaries, the number of parameters increases, and directly computing property satisfaction probabilities is more scalable. We demonstrate the usefulness of our definitions and solutions by comparing system outcomes over various properties, threat models, and case studies.
BibTeX
@inproceedings{oakley2021adversarial,
  author = {Lisa Oakley and Alina Oprea and Stavros Tripakis},
  title = {{Adversarial Robustness Verification and Attack Synthesis in Stochastic Systems}},
  booktitle = {CSF},
  year = {2021},
  doi = {10.1109/csf54842.2022.9919660},
}
Figure