← All opacity pages Search by tag →

Opacity of Stochastic Systems

0.5 0.3 0.2 secret Not "can the observer learn the secret," but "with what probability?"
Once transitions carry probabilities, a secret branch usually can't be made strictly indistinguishable from every other branch. The question shifts from a binary yes/no to a measure: how likely is disclosure, and can that likelihood be bounded or minimized?
● Scope of this page

Every other page in this index assumes the system's dynamics are non-deterministic at worst: several runs may be possible from a given point, but none is more likely than another. This page covers what happens once transitions carry probabilities: probabilistic automata, hidden Markov models, and Markov decision processes (which add controllable non-determinism on top of probabilistic transitions).

The core question doesn't quite survive the transition intact. With probabilities in the picture, a secret run can usually still be matched by some non-secret run producing the same observation, but the two are rarely equally likely, so strict opacity in the classical sense is often either trivially false or too strong a demand. Much of this literature is about replacing the binary yes/no with a quantitative measure instead: the probability that an observer's belief crosses some confidence threshold, or a value to be minimized or bounded rather than a property to be strictly guaranteed.

A

Notions & Decidability

Definitions, decidability, and complexity results for opacity across the stochastic models on this page. Most of the literature here re-derives the classical automaton-based notions with probabilities, or some other form of graded uncertainty, attached, then asks how hard the resulting problem is to decide, which turns out to be undecidable in general and only recoverable under restrictions.

A.1 — Probabilistic automata & stochastic DES

  • Opacity Verification in Stochastic Discrete Event Systems
    Anooshiravan Saboori, Christoforos N. Hadjicostis · 49th IEEE Conference on Decision and Control (CDC 2010), pp. 6759–6764 · doi.org/10.1109/CDC.2010.5717580
    opacity · stochastic
    Show abstractHide abstract
    Motivated by security and privacy considerations in applications of discrete event systems, various notions of opacity have been introduced. Specifically, a system is said to be current-state opaque if the entrance of the system state to a set of secret states remains opaque (uncertain) to an intruder - at least until the system leaves the set of secret states. This notion, which has been studied in non-deterministic finite automaton settings where the intruder observes a subset of events, has been shown to be useful in characterizing security requirements in many applications (including encryption using pseudo-random generators and trajectory coverage of a mobile agent in sensor networks). One limitation of these existing approaches is that they fail to provide a quantifiable measure for characterizing the degree of opacity of a given system. In this paper, we partially address this limitation by extending this framework to systems that can be modeled as probabilistic finite automata, characterizing in the process the probability of observing a violation of current-state opacity. We introduce the notion of step-based almost current-state opacity which provides a measure of opacity for a given system. We also propose a verification method for this probabilistic notion of opacity and characterize its computational complexity.
  • Current-State Opacity Formulations in Probabilistic Finite Automata
    Anooshiravan Saboori, Christoforos N. Hadjicostis · IEEE Transactions on Automatic Control, 59(1), pp. 120–133, 2014 · doi.org/10.1109/TAC.2013.2279914
    opacity · stochastic
    Show abstractHide abstract
    A system is said to be current-state opaque if the entrance of the system state to a set of secret states remains opaque (uncertain) to an intruder-at least until the system leaves the set of secret states. This notion of opacity has been studied in nondeterministic finite automata settings (where the intruder observes a subset of events, for example, via some natural projection mapping) and has been shown to be useful in characterizing security requirements in many applications (including encryption using pseudorandom generators and coverage properties in sensor networks). One limitation of the majority of existing analysis is that it fails to provide a quantifiable measure of opacity for a given system; instead, it simply provides a binary characterization of the system (being opaque or not opaque). In this paper, we address this limitation by extending current-state opacity formulations to systems that can be modeled as probabilistic finite automata under partial observation. We introduce three notions of opacity, namely: 1) step-based almost current-state opacity; 2) almost current-state opacity; and 3) probabilistic current-state opacity, all of which can be used to provide a measure of a given system's opacity. We also propose verification methods for these probabilistic notions of opacity and characterize their corresponding computational complexities.
  • Quantifying Opacity
    Béatrice Bérard, John Mullins, Mathieu Sassolas · Mathematical Structures in Computer Science, 25(2), pp. 361–403, 2015 · doi.org/10.1017/S0960129513000637 · conference version: QEST 2010, pp. 263–272 · doi.org/10.1109/QEST.2010.40 · preprint: arXiv:1301.6799
    opacity · stochastic
    Show abstractHide abstract
    In this paper we propose two dual notions of quantitative information leakage in probabilistic systems, both related to opacity for non probabilistic systems. The liberal one measures the probability for an attacker observing a random execution of the system, to be able to gain information he can be sure about. We show that a null value for this measure corresponds to a secure system, in the usual sense of opacity. On the other hand, restrictive opacity is defined as the complement of the information-theoretic notion of mutual information. It measures the level of certitude in the information acquired by an attacker observing the system: we prove that a null value for this second measure corresponds to non opacity. We also show how these measures can be computed for regular secrets and observations. We finally apply them to the dining cryptographers problem and to the crowd anonymity protocol.
  • Probabilistic System Opacity in Discrete Event Systems
    Christoforos Keroglou, Christoforos N. Hadjicostis · Discrete Event Dynamic Systems, 28, pp. 289–314, 2018 · doi.org/10.1007/s10626-017-0263-8
    opacity · stochastic
    Show abstractHide abstract
    In many emerging security applications, a system designer frequently needs to ensure that a certain property of a given system (that may reveal important details about the system’s operation) be kept secret (opaque) to outside observers (eavesdroppers). Motivated by such applications, several researchers have formalized, analyzed, and described methods to verify notions of opacity in discrete event systems of interest. This paper introduces and analyzes a notion of opacity in systems that can be modeled as probabilistic finite automata or hidden Markov models. We consider a setting where a user needs to choose a specific hidden Markov model (HMM) out of m possible (different) HMMs, but would like to “hide” the true system from eavesdroppers, by not allowing them to have an arbitrary level of confidence as to which system has been chosen. We describe necessary and sufficient conditions (that can be checked with polynomial complexity), under which the intruder cannot distinguish the true HMM, namely, the intruder cannot achieve a level of certainty about its decision, which is above a certain threshold that we can a priori compute.
  • Infinite-Step Opacity and K-Step Opacity of Stochastic Discrete-Event Systems
    Xiang Yin, Zhaoan Li, Weilin Wang, Shaoyuan Li · Automatica, 99, pp. 266–274, 2019 · doi.org/10.1016/j.automatica.2018.10.049
    opacity · stochastic
    Show abstractHide abstract
    Opacity is an important information-flow property that arises in security and privacy analysis of cyber–physical systems. Among many different notions of opacity, K-step opacity requires that the intruder can never determine unambiguously that the system was at a secret state for any specific instant within K steps prior to that particular instant. This notion becomes infinity-step opacity when K goes to infinity. Existing works on the analysis of infinite-step opacity and K-step opacity only provide a binary characterization, i.e., a system is either opaque or non-opaque. To analyze infinite-step and K-step opacity more quantitatively, in this paper, we investigate the verification of infinite-step and K-step opacity in the context of stochastic discrete-event systems. A new notion of opacity, called almost infinite-step opacity (respectively, almost K-step opacity), is proposed to capture whether or not the probability of violating infinite-step opacity (respectively, K-step opacity) is smaller than a given threshold. We also provide effective algorithms for the verification of almost infinite-step opacity and almost K-step opacity.
  • Decidability of Probabilistic Current-State Opacity for Probabilistic Finite Automata
    Keru Chen, Shaowen Miao, Aiwen Lai, Ji Ma, Sihan Chen · 2024 43rd Chinese Control Conference (CCC), pp. 1556–1561, 2024 · doi.org/10.23919/CCC63176.2024.10661575
    opacity · stochastic
    Show abstractHide abstract
    Opacity holds significance as a critical property for probabilistic finite automata. Specifically, we center our attention on probabilistic current-state opacity, a property acknowledged to be generally undecidable. In this paper, we present a reduction from the problem of verifying probabilistic current-state opacity to the emptiness problem for finitely ambiguous stochastic automata. Subsequently, we establish that verifying probabilistic current-state opacity becomes feasible for probabilistic finite automata with finite ambiguity, and we conduct a complexity analysis of this problem.
  • Online Verification and Enforcement of Sequential K-Opacity in Extended Probabilistic Automata
    Tareq Ahmad Al-Sarayrah, Zhiwu Li, Li Yin, Almetwally M. Mostafa · IEEE Access, vol. 12, 2024 · doi.org/10.1109/ACCESS.2024.3413070
    opacity · stochastic
    Show abstractHide abstract
    In the context of extended probabilistic automata, this study focuses on an information flow property, called opacity, of discrete event systems. The achievement of this research is the formulation and in-depth analysis of what is termed sequential k-opacity. This metric, through its detailed assessment, marks an explicit and visible advancement beyond the existing paradigms for measuring system opacity. It introduces an improved method for analyzing the probability of event sequences leading to confidential states within a system. An approach of such a comprehensive nature is essential for a detailed analysis of opacity in systems typified by deterministic and stochastic elements. Furthermore, this work incorporates a numerical case study that provides a baseline for further investigations in practical applications, thereby validating the proposed framework’s usefulness. The research progresses to explore novel approaches to the reinforcement and persistence of system opacity within extended probabilistic automata. Among these approaches, the strategic use of fake events is critical as it is a fundamental tool for enhancing system security and secrecy, which plays an important role in protecting sensitive and secret data by effectively hiding the real status of the system from outside inspection.
  • Research on k-Step Active Opacity of Stochastic Discrete Event Systems
    Weiqi Liu, Fuchun Liu · Journal of Guangdong University of Technology, 42(4), pp. 79–87, 2025 (published in Chinese) · doi.org/10.12052/gdutxb.240131
    opacity · stochastic
    Show abstractHide abstract
    In recent years, the opacity of discrete event systems has achieved remarkable application results in information security mechanisms, attracting increasing attention from the researchers of the world. With the aim to address the security issue of leakage paths in the system, this paper proposes a method to enhance the k-step opacity of the system through active control based on the framework of stochastic discrete event systems, ensuring that all secret states in the system are not disclosed. First, the k-step active opacity of stochastic discrete event systems is formalized. Second, by constructing a k-step active opacity verifier, a controllable event string with the lowest leakage probability is found for each secret state in the system, allowing the system to enter the secret state through the safest path by enforcing controllable events. In this way, the k-step opacity can be enhanced, and additionally a necessary and sufficient condition for the k-step active opacity of stochastic discrete event systems is obtained, which can be used to verify the k-step active opacity of stochastic discrete event systems.

A.2 — Beyond automata: Petri nets, constraint Markov chains, fuzzy models

  • Opacity for Linear Constraint Markov Chains
    Béatrice Bérard, Olga Kouchnarenko, John Mullins, Mathieu Sassolas · Discrete Event Dynamic Systems, 28(1), pp. 83–108, 2018 · doi.org/10.1007/s10626-017-0259-4 · hal-01384153 · conference precursor: “Preserving Opacity on Interval Markov Chains Under Simulation”, 13th International Workshop on Discrete Event Systems (WODES 2016), pp. 319–324 · doi.org/10.1109/WODES.2016.7497866 · preprint: arXiv:1510.04316 (posted under the working title "Probabilistic Opacity in Refinement-Based Modeling")
    opacity · stochastic
    Show abstractHide abstract
    On a partially observed system, a secret φ is opaque if an observer cannot ascertain that its trace belongs to φ. We consider specifications given as Constraint Markov Chains (CMC), which are underspecified Markov chains where probabilities on edges are required to belong to some set. The nondeterminism is resolved by a scheduler, and opacity on this model is defined as a worst case measure over all implementations obtained by scheduling. This measures the information obtained by a passive observer when the system is controlled by the smartest scheduler in coalition with the observer. When restricting to the subclass of Linear CMC, we compute (or approximate) this measure and prove that refinement of a specification can only improve opacity.
  • Opacity Measures of Fuzzy Discrete Event Systems
    Weilin Deng, Daowen Qiu, Jingkai Yang · IEEE Transactions on Fuzzy Systems, 29(9), pp. 2612–2622, 2020 · doi.org/10.1109/TFUZZ.2020.3005335
    Fuzzy rather than probabilistic uncertainty, grouped here because it plays the same role: quantifying how opaque a system is instead of giving a yes/no verdict.
    opacity · stochastic
    Show abstractHide abstract
    Opacity, as an important security property, has been well investigated in crisp discrete event systems. However, in some practical systems, the general behaviors, secret and nonsecret behaviors obtained by the intruder need to be expressed as fuzzy sets rather than crisp sets. Under this situation, the intruder makes inferences by fuzzy logic rather than classic logic, thus the notions of the fuzzy opacity measures are desired to be established. First, by means of the basic laws of fuzzy logic, a general fuzzy opacity measure, as a template, is presented, in this article, for the given generalized characterizations of secret and nonsecret behaviors. Moreover, a specific measure, called as fuzzy initial-final opacity (FIFO) measure, is investigated under the assumption that the secrets and nonsecrets can be coded into the initial-final state-pairs. In addition, two variants of FIFO measure are also proposed under the assumptions that the secrets and nonsecrets are only related to the initial-states or final-states. With these fuzzy opacity measures, the system designers can evaluate the opacity degree of the systems to be designed. To show the applicability of the fuzzy opacity measures to practical systems, we finally present an illustrative example of evaluating the location privacy protection systems in location-based services by means of the fuzzy opacity measures.
  • Quantifying opacity of discrete event systems modeled with probabilistic Petri nets
    Sian Zhou, Li Yin, Zhiwu Li · Information Sciences, 666, article 120434, 2024 · doi.org/10.1016/j.ins.2024.120434
    opacity · stochastic
    Show abstractHide abstract
    The verification and enforcement problem of opacity that falls into the category of security properties of information flows in a cyber-physical system has been extensively studied from the view of discrete event systems. Recent years have witnessed growing interest in the quantitative analysis of opacity. However, documented results on quantifying opacity in the literature are not formulated within the framework of Petri nets. By introducing a new class of Petri net as a modeling vehicle for opacity quantification, we suggest a novel notion of opacity referred to as worthy opacity, which describes the worth associated with the information that a system might leak during its evolution. Depending on how much system information is captured by an intruder, we propose two types of worthy opacity: stepwise and observational worthy opacity. We provide a necessary and sufficient condition for stepwise worthy opacity and prove its decidability. Observational worthy opacity is established by considering both system and observation aspects, with its verification shown to be undecidable. Compared with the existing works on quantifying opacity, we argue that the worthy opacity is of practical concern, as being aware of the information worth that a system may leak during its evolution is a more realistic guide than the probability that it may reveal a system secret.

A.3 — Continuous-state stochastic systems

  • On Approximate Opacity of Stochastic Control Systems
    Siyuan Liu, Xiang Yin, Dimos V. Dimarogonas, Majid Zamani · IEEE Transactions on Automatic Control, 2024 · doi.org/10.1109/TAC.2024.3516202 · conference precursor: “On a Notion of Approximate Opacity for Discrete-Time Stochastic Control Systems”, 2020 American Control Conference (ACC), pp. 5413–5418 · doi.org/10.23919/ACC45564.2020.9147235
    Cross-listed from the continuous-systems page for its stochastic setting: general Markov decision processes over continuous state spaces.
    continuous · opacity · stochastic
    Show abstractHide abstract
    This article investigates an important class of information-flow security property called opacity for stochastic control systems. Opacity captures whether a system's secret behavior (a subset of the system's behavior that is considered to be critical) can be kept from outside observers. Existing works on opacity for control systems only provide a binary characterization of the system's security level by determining whether the system is opaque or not. In this work, we introduce a quantifiable measure of opacity that considers the likelihood of satisfying opacity for stochastic control systems modeled as general Markov decision processes (gMDPs). We also propose verification methods tailored to the new notions of opacity for finite gMDPs by using value iteration techniques. Then, a new notion called approximate opacity-preserving stochastic simulation relation is proposed, which captures the distance between two systems' behaviors in terms of preserving opacity. Based on this new system relation, we show that one can verify opacity for stochastic control systems using their abstractions (modeled as finite gMDPs). We also discuss how to construct such abstractions for a class of gMDPs under certain stability conditions.
B

Verification & Scalability

Algorithms and techniques that make checking, or enforcing, the notions from category A actually tractable, as opposed to defining them. Belief-state estimators blow up combinatorially just like their non-probabilistic counterparts, so each article here targets that scalability problem with a specific technique: two-way observers, belief abstraction, barrier certificates, or a simulation relation that lets a smaller model stand in for verification.

C

MDP Enforcement & Synthesis

Where categories A and B verify or measure leakage in a fixed system, this one is about actively synthesizing a controller or policy in an MDP that keeps a secret opaque going forward: supervisors, masking policies, and planners, several of them adversarial or game-theoretic in flavor.

D

Applications & Case Studies

Where probabilistic opacity gets applied to a concrete domain, beyond toy or illustrative examples.