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.
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
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
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.
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
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.
Privacy Verification and Enforcement via Belief Abstraction
Bo Wu, Hai Lin · IEEE Control Systems Letters, 2(4), pp. 815–820, 2018 · doi.org/10.1109/LCSYS.2018.2849554 · earlier version: “Privacy Preserving Controller Synthesis via Belief Abstraction”, arXiv:1802.10051, 2018 · arXiv:1802.10051
enforcement · mdp · opacity · stochastic
Show abstractHide abstract
Privacy is a crucial concern in many practical systems. We consider a new notion of privacy based on beliefs of the system states, which is closely related to opacity in discrete event systems. To guarantee the privacy requirement, we propose to abstract the belief space whose dynamics is shown to be mixed monotone where efficient abstraction algorithm exists. Based on the abstraction, we propose two different approaches to preserve privacy with an illustrative example.
Privacy Verification in POMDPs via Barrier Certificates
Mohamadreza Ahmadi, Bo Wu, Hai Lin, Ufuk Topcu · 57th IEEE Conference on Decision and Control (CDC), pp. 5610–5615, 2018 · doi.org/10.1109/CDC.2018.8619061
opacity · stochastic
Show abstractHide abstract
Privacy is an increasing concern in cyber-physical systems that operates over a shared network. In this paper, we propose a method for privacy verification of cyber-physical systems modeled by Markov decision processes (MDPs) and partially-observable Markov decision processes (POMDPs) based on barrier certificates. To this end, we consider an opacity-based notion of privacy, which is characterized by the beliefs in system states. We show that the belief update equations can be represented as discrete-time switched systems, for which we propose a set of conditions for privacy verification in terms of barrier certificates. We further demonstrate that, for MDPs and for POMDPs, privacy verification can be computationally implemented by solving a set of semi-definite programs and sum-of-squares programs, respectively. The method is illustrated by an application to privacy verification of an inventory management system.
Opacity Verification in Stochastic Discrete Event Systems Using Two-Way Observers
Guangzhao Qi, Fuchun Liu, Hongyan Cui · Journal of Guangdong University of Technology, 40(3), pp. 32–37, 2023 (published in Chinese) · doi.org/10.12052/gdutxb.210169
opacity · stochastic
Show abstractHide abstract
The opacity of stochastic discrete event system is studied for stochastic system models. Firstly, the notions of stochastic infinite-step opacity and stochastic K-step opacity are formalized. By constructing a validator based on a two-way observer, a necessary and sufficient condition is obtained to verify the stochastic infinite-step opacity and stochastic K-step opacity of systems by using the validator of two-way observer. Finally, the verification algorithm for stochastic infinite-step opacity and stochastic K-step opacity based on two-way observer is proposed.
Verifying Opacity Properties in Security Systems
Chunyan Mu, David Clark · IEEE Transactions on Dependable and Secure Computing, 20(2), pp. 1450–1460, 2023 · doi.org/10.1109/TDSC.2022.3155323
Adds a probabilistic operator to OpacTL for quantitative analysis in PRISM; the core model and main results stay qualitative, and an entropy-based quantification is only sketched.
We delineate a methodology for the specification and verification of flow security properties expressible in the opacity framework. We propose a logic, OpacTL, for straightforwardly expressing such properties in systems that can be modelled as partially observable labelled transition systems. We develop verification techniques for analysing property opacity with respect to observation notions. Adding a probabilistic operator to the specification language enables quantitative analysis and verification. This analysis is implemented as an extension to the PRISM model checker and illustrated via a number of examples. Finally, an alternative approach to quantifying the opacity property based on entropy is sketched.
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.
Probabilistic Opacity for Markov Decision Processes
Opacity is a generic security property, that has been defined on (non-probabilistic) transition systems and later on Markov chains with labels. For a secret predicate, given as a subset of runs, and a function describing the view of an external observer, the value of interest for opacity is a measure of the set of runs disclosing the secret. We extend this definition to the richer framework of Markov decision processes, where non-deterministic choice is combined with probabilistic transitions, and we study related decidability problems with partial or complete observation hypotheses for the schedulers. We prove that all questions are decidable with complete observation and ω-regular secrets. With partial observation, we prove that all quantitative questions are undecidable but the question whether a system is almost surely non-opaque becomes decidable for a restricted class of ω-regular secrets, as well as for all ω-regular secrets under finite-memory schedulers.
Probabilistic Disclosure: Maximisation vs. Minimisation
Béatrice Bérard, Serge Haddad, Engel Lefaucheux · 37th IARCS Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2017), LIPIcs vol. 93, pp. 13:1–13:14 · doi.org/10.4230/LIPIcs.FSTTCS.2017.13 · hal-01618955
enforcement · mdp · opacity · stochastic
Show abstractHide abstract
We consider opacity questions where an observation function provides to an external attacker a view of the states along executions and secret executions are those visiting some state from a fixed subset. Disclosure occurs when the observer can deduce from a finite observation that the execution is secret, the ε-disclosure variant corresponding to the execution being secret with probability greater than 1 − ε. In a probabilistic and nondeterministic setting, where an internal agent can choose between actions, there are two points of view, depending on the status of this agent: the successive choices can either help the attacker trying to disclose the secret, if the system has been corrupted, or they can prevent disclosure as much as possible if these choices are part of the system design. In the former situation, corresponding to a worst case, the disclosure value is the supremum over the strategies of the probability to disclose the secret (maximisation), whereas in the latter case, the disclosure is the infimum (minimisation). We address quantitative problems (comparing the optimal value with a threshold) and qualitative ones (when the threshold is zero or one) related to both forms of disclosure for a fixed or finite horizon. For all problems, we characterise their decidability status and their complexity. We discover a surprising asymmetry: on the one hand optimal strategies may be chosen among deterministic ones in maximisation problems, while it is not the case for minimisation. On the other hand, for the questions addressed here, more minimisation problems than maximisation ones are decidable.
Parameter and Insertion Function Co-synthesis for Opacity Enhancement in Parametric Stochastic Discrete Event Systems
Opacity is a property that characterizes the system's capability to keep its “secret” from being inferred by an intruder that partially observes the system's behavior. In this paper, we are concerned with enhancing the opacity using insertion functions, while at the same time, enforcing the task specification in a parametric stochastic discrete event system. We first obtain the parametric Markov decision process that encodes all the possible insertions. Based on which, we convert this parameter and insertion function co-synthesis problem into a nonlinear program such that the security and the task specification can be simultaneously guaranteed.
Privacy-Preserving POMDP Planning via Belief Manipulation
The privacy issue has become one of the most critical concerns in cyber-physical systems (CPSs) as CPSs are vulnerable to information leakage. In particular, a passive intruder could infer the secret information of the system through observations, and the system may be critically compromised or damaged once the intruder has high confidence on certain secret states. In this letter, we investigate the planning problem of a stochastic system in the presence of a passive eavesdropping intruder. In this system, the planner is modeled as a Markov decision process (MDP) who can access the state information and control the system transition. The intruder, who has a partial observation of the system state, is modeled as a hidden Markov model. The goal of the intruder is to infer the secrets of the system in terms of whether the current system is in some sensitive states, and the goal of the defender is to maximize the reward while preventing the intruder from inferring the secret. Distinct from existing work that embedded privacy as a part of the reward or utility function, we quantify privacy as a constraint for the planning. The problem is formulated as a constrained partially observable MDP (POMDP) planning problem and a belief state partition approach is proposed to solve the privacy-preserving planning problem via value iteration. Our observation is that the defender could prevent the intruder from inferring sensitive information via belief manipulation. However, the introduction of the privacy concern may sacrifice the system performance or even cause the problem to be infeasible. A necessary and sufficient condition is given to check the feasibility of the planning problem and examples are shown to illustrate our proposed algorithm.
Opacity-Enforcing Active Perception and Control Against Eavesdropping Attacks
Sumukha Udupa, Hazhar Rahmani, Jie Fu · 14th Conference on Decision and Game Theory for Security (GameSec 2023), Springer, pp. 329–348 · doi.org/10.1007/978-3-031-50670-3_17
enforcement · mdp · opacity · stochastic
Show abstractHide abstract
In this paper, we consider opacity-enforcing planning with temporally-extended goals in partially observable stochastic environment. We consider a probabilistic environment modeled as partially observable Markov decision process (POMDP) in which the observation function is actively controlled as the agent decides which sensors to query at each decision step. The agent’s objective is to achieve a temporal objective, expressed using linear temporal logic for finite traces (LTL), while making achieving its goal opaque to a passive observer who can access the sensor readings of a subset of sensors that are unsecured. Opacity, as a security property, means that when from the observer’s perspective, the execution that satisfied the temporal goal is observational-equivalent to an execution that does not satisfy the temporal goal. When both secured and unsecured sensors are available upon query, the agent must be selective in its sensor query to prevent information leaking to the observer and to ensure task completion. We propose an algorithm that synthesizes a strategy that decides jointly the control actions and sensor queries to guarantee that the temporal goal is achieved and made opaque with probability 1. Our approach is based on planning with augmented belief state space. Further, we show how to employ properties in the temporal logic formula to reduce the size of the planning state space and improve scalability. We show the applicability of our algorithm on a case study with robotic planning in a stochastic gridworld with partial observations.
Security-Aware Reinforcement Learning Under Linear Temporal Logic Specifications
Bohan Cui, Keyi Zhu, Shaoyuan Li, Xiang Yin · 2023 IEEE International Conference on Robotics and Automation (ICRA), pp. 12367–12373 · doi.org/10.1109/ICRA48891.2023.10160753
enforcement · mdp · opacity · stochastic
Show abstractHide abstract
In this paper, we investigate the problem of reinforcement learning under linear temporal logic (LTL) specifications for Markov decision processes (MDPs) with security constraints. We consider an outside passive intruder (observer) that can observe the external output behavior of the system through an output projection. We assume that the secret of the system is a subset of the initial states. The security constraint requires that the observer can never infer for sure that the agent was initiated from a secret state. Our objective is to learn a control policy that achieves the LTL task while ensuring security. To solve the problem of shaping the reward for reinforcement learning, we propose an approach based on the initial-state estimator and the limit deterministic Büchi automata. We illustrate the proposed approach by a case study of mobile robot example.
Information-Theoretic Opacity-Enforcement in Markov Decision Processes
Chongyang Shi, Yuheng Bu, Jie Fu · Proceedings of the 33rd International Joint Conference on Artificial Intelligence (IJCAI 2024), pp. 6779–6787 · doi.org/10.24963/ijcai.2024/749
enforcement · mdp · opacity · stochastic
Show abstractHide abstract
The paper studies information-theoretic opacity, an information-flow privacy property, in a setting involving two agents: A planning agent who controls a stochastic system and an observer who partially observes the system states. The goal of the observer is to infer some secret, represented by a random variable, from its partial observations, while the goal of the planning agent is to make the secret maximally opaque to the observer while achieving a satisfactory total return. Modeling the stochastic system using a Markov decision process, two classes of opacity properties are considered---Last-state opacity is to ensure that the observer is uncertain if the last state is in a specific set and initial-state opacity is to ensure that the observer is unsure of the realization of the initial state. As the measure of opacity, we employ the Shannon conditional entropy capturing the information about the secret revealed by the observable. Then, we develop primal-dual policy gradient methods for opacity-enforcement planning subject to constraints on total returns. We propose novel algorithms to compute the policy gradient of entropy for each observation, leveraging message passing within the hidden Markov models. This gradient computation enables us to have stable and fast convergence. We demonstrate our solution of opacity-enforcement control through a grid world example.
Planning with Probabilistic Opacity and Transparency: A Computational Model of Opaque/Transparent Observations
The qualitative opacity of a secret is a security property, which means that a system trajectory satisfying the secret is observation-equivalent to a trajectory violating the secret. In this paper, we study how to synthesize a control policy that maximizes the probability of a secret being made opaque against an eavesdropping attacker/observer, while subject to other task performance constraints. In contrast to the existing belief-based approach for opacity-enforcement, we develop an approach that uses the observation function, the secret, and the model of the dynamical systems to construct a so-called opaqueobservations automaton that accepts the exact set of observations that enforce opacity. Leveraging this opaque-observations automaton, we can reduce the optimal planning in Markov decision processes(MDPs) for maximizing probabilistic opacity or its dual notion, transparency, subject to task constraints into a constrained planning problem over an augmented-state MDP. Finally, we illustrate the effectiveness of the developed methods in robot motion planning problems with opacity or transparency requirements.
Policy Gradient Methods for Information-Theoretic Opacity in Markov Decision Processes
Chongyang Shi, Sumukha Udupa, Michael R. Dorothy, Shuo Han, Jie Fu · arXiv:2511.02704, 2025 · arXiv:2511.02704
enforcement · mdp · opacity · stochastic
Show abstractHide abstract
Opacity, or non-interference, is a property ensuring that an external observer cannot infer confidential information (the "secret") from system observations. We introduce an information-theoretic measure of opacity, which quantifies information leakage using the conditional entropy of the secret given the observer's partial observations in a system modeled as a Markov decision process (MDP). Our objective is to find a control policy that maximizes opacity while satisfying task performance constraints, assuming that an informed observer is aware of the control policy and system dynamics. Specifically, we consider a class of opacity called state-based opacity, where the secret is a propositional formula about the past or current state of the system, and a special case of state-based opacity called language-based opacity, where the secret is defined by a temporal logic formula (LTL) or a regular language recognized by a finite-state automaton. First, we prove that finite-memory policies can outperform Markov policies in optimizing information-theoretic opacity. Second, we develop an algorithm to compute a maximally opaque Markov policy using a primal-dual gradient-based algorithm, and prove its convergence. Since opacity cannot be expressed as a cumulative cost, we develop a novel method to compute the gradient of conditional entropy with respect to policy parameters using observable operators in hidden Markov models. The experimental results validate the effectiveness and optimality of our proposed methods.
Synthesis of Dynamic Masks for Information-Theoretic Opacity in Stochastic Systems
Sumukha Udupa, Chongyang Shi, Jie Fu · ACM/IEEE 16th International Conference on Cyber-Physical Systems (ICCPS 2025), pp. 1–12 · doi.org/10.1145/3716550.3722036
enforcement · mdp · opacity · stochastic
Show abstractHide abstract
In this work, we investigate the synthesis of dynamic information releasing mechanisms, referred to as "masks", to minimize information leakage from a stochastic system to an external observer. Specifically, for a stochastic system, an observer aims to infer whether the final state of the system trajectory belongs to a set of secret states. The dynamic mask seeks to regulate sensor information in order to maximize the observer's uncertainty about the final state, a property known as final-state opacity. While existing supervisory control literature on dynamic masks primarily addresses qualitative opacity, we propose quantifying opacity in stochastic systems by conditional entropy, which is a measure of information leakage in information security. We then formulate a constrained optimization problem to synthesize a dynamic mask that maximizes final-state opacity under a total cost constraint on masking. To solve this constrained optimal dynamic mask synthesis problem, we develop a novel primal-dual policy gradient method. Additionally, we present a technique for computing the gradient of conditional entropy with respect to the masking policy parameters, leveraging observable operators in hidden Markov models. To demonstrate the effectiveness of our approach, we apply our method to an illustrative example and a stochastic grid world scenario, showing how our algorithm optimally enforces final-state opacity under cost constraints.
Almost k-Step Opacity Enforcement in Stochastic Discrete-Event Systems via Differential Privacy
This paper delves into current-state opacity enforcement in partially observed discrete event systems through an innovative application of differential privacy, which is fundamental for security-critical cyber–physical systems. An opaque system implies that an external agent cannot infer the predefined system secret via its observational output, such that the important system information flow cannot be leaked out. Differential privacy emerges as a robust framework that is pivotal for the protection of individual data integrity within these systems. Motivated by the differential privacy mechanism for information protection, this research proposes the secret string adjacency relation as a novel concept, assessing the similarity between potentially compromised strings and system-generated alternatives, thereby shielding the system’s confidential data from external observation. The development of secret string differential privacy is achieved by substituting sensitive strings. These substitution strings are generated by a modified Levenshtein automaton, following exponentially distributed generation probabilities. The verification and illustrative examples of the proposed mechanism are provided.
D
Applications & Case Studies
Where probabilistic opacity gets applied to a concrete domain, beyond toy or illustrative examples.
Probabilistic Opacity for a Passive Adversary and Its Application to Chaum's Voting Scheme
A predicate is opaque for a given system, if an adversary will never be able to establish truth or falsehood of the predicate for any observed computation. This notion has been essentially introduced and studied in the context of transition systems whether describing the semantics of programs, security protocols or other systems. In this paper, we are interested in studying opacity in the probabilistic computational world. Indeed, in other settings, as in the Dolev-Yao model for instance, even if an adversary is 99% sure of the truth of the predicate, it remains opaque as the adversary cannot conclude for sure. In this paper, we introduce a computational version of opacity in the case of passive adversaries called cryptographic opacity. Our main result is a composition theorem: if a system is secure in an abstract formalism and the cryptographic primitives used to implement it are secure, then this system is secure in a computational formalism. Security of the abstract system is the usual opacity and security of the cryptographic primitives is IND-CPA security. To illustrate our result, we give two applications: a short and elegant proof of the classical Abadi-Rogaway result and the first computational proof of Chaum’s visual electronic voting scheme.
Quantitative Analysis of Opacity in Cloud Computing Systems
Federated cloud systems increase the reliability and reduce the cost of the computational support. The resulting combination of secure private clouds and less secure public clouds, together with the fact that resources need to be located within different clouds, strongly affects the information flow security of the entire system. In this paper, the clouds as well as entities of a federated cloud system are assigned security levels, and a probabilistic flow sensitive security model for a federated cloud system is proposed. Then the notion of opacity—a notion capturing the security of information flow—of a cloud computing systems is introduced, and different variants of quantitative analysis of opacity are presented. As a result, one can track the information flow in a cloud system, and analyze the impact of different resource allocation strategies by quantifying the corresponding opacity characteristics.