Formal Abstractions for Automated Verification and Synthesis of Stochastic Systems

Stochastic hybrid systems involve the coupling of discrete, continuous, and probabilistic phenomena, in which the composition of continuous and discrete variables captures the behavior of physical systems interacting with digital, computational devices. Because of their versatility and generality, methods for modeling, analysis, and verification of stochastic hybrid systems (SHS) have proved invaluable in a wide range of applications, including biology, smart grids, air traffic control, finance, and automotive systems. The problems of verification and of controller synthesis over SHS can be algorithmically studied using methodologies and tools developed in computer science, utilizing proper symbolic models describing the overall behaviors of the SHS. A promising direction to address formal verification and synthesis against complex logic specifications, such as PCTL and BLTL, is the use of abstraction with finitely many states. This thesis is devoted to formal abstractions for verification and synthesis of SHS by bridging the gap between stochastic analysis, computer science, and control engineering. A SHS is first considered as a discrete time Markov process over a general state space, then is abstracted as a finite-state Markov chain to be formally verified against the desired specification. We generate finite abstractions of general state-space Markov processes based on the partitioning of the state space, which provide a Markov chain as an approximation of the original process. We put forward a novel adaptive and sequential gridding algorithm based on non-uniform quantization of the state space that is expected to conform to the underlying dynamics of the model and thus to mitigate the curse of dimensionality unavoidably related to the partitioning procedure. PCTL and BLTL properties are defined over trajectories of a system. Examples of such properties are probabilistic safety and reach-avoid specifications. While the developed techniques are applicable to a wide arena of probabilistic properties, the thesis focuses on the study of the particular specification probabilistic safety or invariance, over a finite horizon. Abstraction of controlled discrete-time Markov processes to Markov decision processes over finite sets of states is also studied in the thesis. The proposed abstraction scheme enables us to solve the problem of obtaining a maximally safe Markov policy for the Markov decision process and synthesize a control policy for the original model. The total error is quantified which is due to the abstraction procedure and caused by exporting the result back to the original process. The abstraction error hinges on the regularity of the stochastic kernel of the process, i.e. its Lipschitz continuity. Furthermore, this thesis extends the results in the following directions: 1) Partially degenerate stochastic processes suffer from non-smooth probabilistic evolution of states. The stochastic kernel of such processes does not satisfy Lipschitz continuity assumptions which requires us to develop new techniques specialized for this class of processes. We have shown that the probabilistic invariance problem over such processes can be separated into two parts: a deterministic reachability analysis, and a probabilistic invariance problem that depends on the outcome of the first. This decomposition approach leads to computational improvements. 2) The abstraction approach have leveraged piece-wise constant interpolations of the stochastic kernel of the process. We extend this approach for systems with higher degrees of smoothness in their probabilistic evolution and provide approximation methods via higher-order interpolations that are aimed at requiring less computational effort. Using higher-order interpolations (versus piece-wise constant ones) can be beneficial in terms of obtaining tighter bounds on the approximation error. Furthermore, since the approximation procedures depend on the partitioning of the state space, higher-order schemes display an interesting tradeoff between more parsimonious representations versus more complex local computation. From the application point of view, an example of SHS is the model of thermostatically controlled loads (TCLs), which captures the evolution of temperature inside a building. This thesis proposes a new, formal two-step abstraction procedure to generate a finite stochastic dynamical model as the aggregation of the dynamics of a population of TCLs. The approach relaxes the limiting assumptions employed in the literature by providing a model based on the natural probabilistic evolution of the single TCL temperature. We also describe a dynamical model for the time evolution of the abstraction, and develop a set-point control strategy aimed at reference tracking over the total power consumption of the TCL population. The abstraction algorithms discussed in this thesis have been implemented as a MATLAB tool FAUST2 (abbreviation for “Formal Abstractions of Uncountable-STate STochastic processes”). The software is freely available for download at http://sourceforge.net/projects/faust2/.

[1]  H. Kushner Numerical Methods for Stochastic Control Problems in Continuous Time , 2000 .

[2]  Mark H. Davis Markov Models and Optimization , 1995 .

[3]  P. N. Somerville Numerical Computation of Multivariate Normal and Multivariate-t Probabilities over Convex Regions , 1998 .

[4]  Joost-Pieter Katoen,et al.  A Markov reward model checker , 2005, Second International Conference on the Quantitative Evaluation of Systems (QEST'05).

[5]  Alessandro Abate,et al.  Aggregation of thermostatically controlled loads by formal abstractions , 2013, 2013 European Control Conference (ECC).

[6]  Athanasios C. Antoulas,et al.  Approximation of Large-Scale Dynamical Systems , 2005, Advances in Design and Control.

[7]  M. Smoluchowski Zur kinetischen Theorie der Brownschen Molekularbewegung und der Suspensionen , 1906 .

[8]  Joost-Pieter Katoen,et al.  Quantitative automata-based controller synthesis for non-autonomous stochastic hybrid systems , 2013, HSCC '13.

[9]  Muruhan Rathinam,et al.  Stiffness in stochastic chemically reacting systems: The implicit tau-leaping method , 2003 .

[10]  C. T. Traxler,et al.  An algorithm for adaptive mesh refinement inn dimensions , 1997, Computing.

[11]  P. Kloeden,et al.  Numerical Solution of Stochastic Differential Equations , 1992 .

[12]  George J. Pappas,et al.  A Framework for Worst-Case and Stochastic Safety Verification Using Barrier Certificates , 2007, IEEE Transactions on Automatic Control.

[13]  van der Arjan Schaft,et al.  Stochastic Hybrid Systems: Theory and Safety Critical Applications , 2006 .

[14]  Alessandro Abate,et al.  FAUST 2 : Formal Abstractions of Uncountable-STate STochastic Processes , 2014, TACAS.

[15]  D. Gillespie The chemical Langevin equation , 2000 .

[16]  T. N. Thiele,et al.  Theory Of Observations , 1903 .

[17]  David J. Barnes,et al.  Introduction to Modeling for Biosciences , 2010 .

[18]  R. Malhamé,et al.  Electric load model synthesis by diffusion approximation of a high-order hybrid-state stochastic system , 1985 .

[19]  C. Cassandras,et al.  Stochastic hybrid systems , 2006 .

[20]  Martin Fränzle,et al.  Stochastic Satisfiability Modulo Theory: A Novel Technique for the Analysis of Probabilistic Hybrid Systems , 2008, HSCC.

[21]  Alessandro Abate,et al.  Adaptive Gridding for Abstraction and Verification of Stochastic Hybrid Systems , 2011, 2011 Eighth International Conference on Quantitative Evaluation of SysTems.

[22]  Alessandro Abate,et al.  Precise Approximations of the Probability Distribution of a Markov Process in Time: An Application to Probabilistic Invariance , 2014, TACAS.

[23]  R. E. Mortensen,et al.  A stochastic computer model for heating and cooling loads , 1988 .

[24]  Hosam K. Fathy,et al.  Modeling and control insights into demand-side energy management through setpoint control of thermostatic loads , 2011, Proceedings of the 2011 American Control Conference.

[25]  G. Milovanović,et al.  Interpolation Processes: Basic Theory and Applications , 2008 .

[26]  Mark H. A. Davis Louis Bachelier’s “Theory of Speculation” , 2008 .

[27]  Andrew W. Moore,et al.  Variable Resolution Discretization in Optimal Control , 2002, Machine Learning.

[28]  Mark R. Greenstreet Verifying Safety Properties of Differential Equations , 1996, CAV.

[29]  Richard L. Tweedie,et al.  Markov Chains and Stochastic Stability , 1993, Communications and Control Engineering Series.

[30]  Corina S. Pasareanu,et al.  Automated Assume-Guarantee Reasoning by Abstraction Refinement , 2008, CAV.

[31]  R. Brown XXVII. A brief account of microscopical observations made in the months of June, July and August 1827, on the particles contained in the pollen of plants; and on the general existence of active molecules in organic and inorganic bodies , 1828 .

[32]  Dimitri P. Bertsekas,et al.  Stochastic optimal control : the discrete time case , 2007 .

[33]  Wei Zhang,et al.  Aggregate model for heterogeneous thermostatically controlled loads with demand response , 2012, 2012 IEEE Power and Energy Society General Meeting.

[34]  J. H. Schuppen,et al.  On Kalman filtering for conditionally Gaussian systems with random matrices , 1990 .

[35]  D. Bertsekas Convergence of discretization procedures in dynamic programming , 1975 .

[36]  O. Kallenberg Foundations of Modern Probability , 2021, Probability Theory and Stochastic Modelling.

[37]  Bengt Jonsson,et al.  A logic for reasoning about time and reliability , 1990, Formal Aspects of Computing.

[38]  John Lygeros,et al.  Stochastic hybrid systems: Theory and safety critical applications , 2006 .

[39]  Johanna L. Mathieu,et al.  State Estimation and Control of Heterogeneous Thermostatically Controlled Loads for Load Following , 2012, 2012 45th Hawaii International Conference on System Sciences.

[40]  C Jayaprakash,et al.  The role of dimerization in noise reduction of simple genetic networks. , 2003, Journal of theoretical biology.

[41]  Johanna L. Mathieu,et al.  Modeling and Control of Aggregated Heterogeneous Thermostatically Controlled Loads for Ancillary Services , 2011 .

[42]  Maria Prandini,et al.  Stochastic Reachability: Theory and Numerical Approximation , 2006 .

[43]  Ansgar Fehnker,et al.  Benchmarks for Hybrid Systems Verification , 2004, HSCC.

[44]  Charlotte Striebel,et al.  Optimal Control of Discrete Time Stochastic Systems , 1975 .

[45]  Alessandro Abate,et al.  Probabilistic Reach-Avoid Computation for Partially Degenerate Stochastic Processes , 2014, IEEE Transactions on Automatic Control.

[46]  Andrew Hinton,et al.  PRISM: A Tool for Automatic Verification of Probabilistic Systems , 2006, TACAS.

[47]  Xenofon D. Koutsoukos,et al.  Computational Methods for Reachability Analysis of Stochastic Hybrid Systems , 2006, HSCC.

[48]  Alessandro Abate,et al.  Regularization of bellman equations for infinite-horizon probabilistic properties , 2012, HSCC '12.

[49]  Alessandro Abate,et al.  Higher-Order Approximations for Verification of Stochastic Hybrid Systems , 2012, ATVA.

[50]  A. Einstein Concerning an heuristic point of view toward the emission and transformation of light , 1905 .

[51]  Alessandro Abate,et al.  Characterization and computation of infinite-horizon specifications over Markov processes , 2012, Theor. Comput. Sci..

[52]  John Lygeros,et al.  Energy arbitrage with thermostatically controlled loads , 2013, 2013 European Control Conference (ECC).

[53]  John Lygeros,et al.  Reachability Questions in Piecewise Deterministic Markov Processes , 2003, HSCC.

[54]  Alessandro Abate,et al.  Probabilistic invariance of mixed deterministic-stochastic dynamical systems , 2012, HSCC '12.

[55]  L. Bachelier Louis Bachelier's Theory of Speculation: The Origins of Modern Finance , 2006 .

[56]  Alessandro Abate,et al.  Adaptive and Sequential Gridding Procedures for the Abstraction and Verification of Stochastic Processes , 2013, SIAM J. Appl. Dyn. Syst..

[57]  D. Gillespie A General Method for Numerically Simulating the Stochastic Time Evolution of Coupled Chemical Reactions , 1976 .

[58]  Johanna L. Mathieu,et al.  State Estimation and Control of Electric Loads to Manage Real-Time Energy Imbalance , 2013 .

[59]  Mauro Dardo,et al.  Nobel Laureates and Twentieth-Century Physics , 2004 .

[60]  Duncan S. Callaway Tapping the energy storage potential in electric loads to deliver load following and regulation, with application to wind energy , 2009 .

[61]  Christel Baier,et al.  Principles of model checking , 2008 .

[62]  S. Widergren,et al.  Real-time pricing demand response in operations , 2012, 2012 IEEE Power and Energy Society General Meeting.

[63]  Joost-Pieter Katoen,et al.  Quantitative automata model checking of autonomous stochastic hybrid systems , 2011, HSCC '11.

[64]  John Lygeros,et al.  On stochastic receding horizon control with bounded control inputs , 2009, Proceedings of the 48h IEEE Conference on Decision and Control (CDC) held jointly with 2009 28th Chinese Control Conference.

[65]  A. Debs,et al.  Statistical synthesis of power system functional load models , 1979, 1979 18th IEEE Conference on Decision and Control including the Symposium on Adaptive Processes.

[66]  F. Dufour,et al.  Approximation of Markov decision processes with general state space , 2012 .

[67]  W. Wonham Linear Multivariable Control: A Geometric Approach , 1974 .

[68]  J. Maciejowski,et al.  On Polyhedral Projection and Parametric Programming , 2008 .

[69]  H. Kushner,et al.  Stochastic Approximation and Recursive Algorithms and Applications , 2003 .

[70]  Desmond J. Higham,et al.  Chemical Master Equation and Langevin regimes for a gene transcription model , 2008, Theor. Comput. Sci..

[71]  Wei Zhang,et al.  Aggregated Modeling and Control of Air Conditioning Loads for Demand Response , 2013 .

[72]  Stephen P. Boyd,et al.  Convex Optimization , 2004, Algorithms and Theory of Computation Handbook.

[73]  Alessandro Abate,et al.  On infinite-horizon probabilistic properties and stochastic bisimulation functions , 2011, IEEE Conference on Decision and Control and European Control Conference.

[74]  Joost-Pieter Katoen,et al.  Approximate Model Checking of Stochastic Hybrid Systems , 2010, Eur. J. Control.

[75]  John Lygeros,et al.  On the connections between PCTL and dynamic programming , 2009, HSCC '10.

[76]  Onésimo Hernández-Lerma,et al.  Markov Control Processes , 1996 .

[77]  John Lygeros,et al.  Probabilistic reachability and safety for controlled discrete time stochastic hybrid systems , 2008, Autom..

[78]  John Lygeros,et al.  Modeling options for demand side participation of thermostatically controlled loads , 2013, 2013 IREP Symposium Bulk Power System Dynamics and Control - IX Optimization, Security and Control of the Emerging Power Grid.

[79]  Hosam K. Fathy,et al.  Modeling and Control of Aggregate Air Conditioning Loads for Robust Renewable Power Management , 2013, IEEE Transactions on Control Systems Technology.

[80]  D. Gillespie Exact Stochastic Simulation of Coupled Chemical Reactions , 1977 .

[81]  Alessandro Abate,et al.  Aggregation and Control of Populations of Thermostatically Controlled Loads by Formal Abstractions , 2015, IEEE Transactions on Control Systems Technology.