Distributed Markov Chains P S Thiagarajan School of Computing, National University of Singapore Joint work with Madhavan Mukund, Sumit K Jha and Ratul.

Slides:



Advertisements
Similar presentations
Stochastic algebraic models SAMSI Transition Workshop June 18, 2009 Reinhard Laubenbacher Virginia Bioinformatics Institute and Mathematics Department.
Advertisements

An Introduction to Game Theory Part V: Extensive Games with Perfect Information Bernhard Nebel.
Monte Carlo Model Checking Radu Grosu SUNY at Stony Brook Joint work with Scott A. Smolka.
CS 267: Automated Verification Lecture 8: Automata Theoretic Model Checking Instructor: Tevfik Bultan.
Knowledge Based Synthesis of Control for Distributed Systems Doron Peled.
Paris, 3 Dec 2007MPRI Course on Concurrency MPRI – Course on Concurrency Lecture 12 Probabilistic process calculi Catuscia Palamidessi LIX, Ecole Polytechnique.
1 Model checking. 2 And now... the system How do we model a reactive system with an automaton ? It is convenient to model systems with Transition systems.
Automatic Verification Book: Chapter 6. What is verification? Traditionally, verification means proof of correctness automatic: model checking deductive:
Applying Petri Net Unfoldings for Verification of Mobile Systems Apostolos Niaouris Joint work with V. Khomenko, M. Koutny MOCA ‘06.
1 1 Regression Verification for Multi-Threaded Programs Sagar Chaki, SEI-Pittsburgh Arie Gurfinkel, SEI-Pittsburgh Ofer Strichman, Technion-Haifa Originally.
Event structures Mauro Piccolo. Interleaving Models Trace Languages:  computation described through a non-deterministic choice between all sequential.
Snap-stabilizing Committee Coordination Borzoo Bonakdarpour Stephane Devismes Franck Petit IEEE International Parallel and Distributed Processing Symposium.
Timed Automata.
Deterministic Negotiations: Concurrency for Free Javier Esparza Technische Universität München Joint work with Jörg Desel and Philipp Hoffmann.
Probability Basic Probability Concepts Probability Distributions Sampling Distributions.
Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
Randomness for Free Laurent Doyen LSV, ENS Cachan & CNRS joint work with Krishnendu Chatterjee, Hugo Gimbert, Tom Henzinger.
Process Algebra (2IF45) Probabilistic Process Algebra Suzana Andova.
Statistical Probabilistic Model Checking Håkan L. S. Younes Carnegie Mellon University.
Model Checking for Probabilistic Timed Systems Jeremy Sproston Università di Torino VOSS Dagstuhl seminar 9th December 2002.
1 Slides for the book: Probabilistic Robotics Authors: Sebastian Thrun Wolfram Burgard Dieter Fox Publisher: MIT Press, Web site for the book & more.
Anna Philippou Department of Computer Science University of Cyprus Joint work with Mauricio Toro Department of Comp. Sc. EAFIT University Christina Kassara.
1 Towards formal manipulations of scenarios represented by High-level Message Sequence Charts Loïc Hélouet Claude Jard Benoît Caillaud IRISA/PAMPA (INRIA/CNRS/Univ.
An Introduction to Markov Decision Processes Sarah Hickmott
Symbolic dynamics of Markov chains P S Thiagarajan School of Computing National University of Singapore Joint work with: Manindra Agrawal, S Akshay, Blaise.
Planning under Uncertainty
1 Discrete Structures & Algorithms Discrete Probability.
Games, Times, and Probabilities: Value Iteration in Verification and Control Krishnendu Chatterjee Tom Henzinger.
Discrete Event Simulation How to generate RV according to a specified distribution? geometric Poisson etc. Example of a DEVS: repair problem.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Course outline and schedule Introduction Event Algebra (Sec )
Probabilistic Robotics Introduction Probabilities Bayes rule Bayes filters.
Probabilistic Verification of Discrete Event Systems Håkan L. S. Younes.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Course outline and schedule Introduction (Sec )
Learning and Planning for POMDPs Eyal Even-Dar, Tel-Aviv University Sham Kakade, University of Pennsylvania Yishay Mansour, Tel-Aviv University.
Game Dynamics Out of Sync Michael Schapira (Yale University and UC Berkeley) Joint work with Aaron D. Jaggard and Rebecca N. Wright.
Great Theoretical Ideas in Computer Science.
Jun. Sun Singapore University of Technology and Design Songzheng Song and Yang Liu National University of Singapore.
02/06/05 “Investigating a Finite–State Machine Notation for Discrete–Event Systems” Nikolay Stoimenov.
Distributions of Randomized Backtrack Search Key Properties: I Erratic behavior of mean II Distributions have “heavy tails”.
MAKING COMPLEX DEClSlONS
General information CSE : Probabilistic Analysis of Computer Systems
T. Mhamdi, O. Hasan and S. Tahar, HVG, Concordia University Montreal, Canada July 2010 On the Formalization of the Lebesgue Integration Theory in HOL On.
Lecture #12 Distributed Algorithms (I) CS492 Special Topics in Computer Science: Distributed Algorithms and Systems.
Some Probability Theory and Computational models A short overview.
Basic Probability Rules Let’s Keep it Simple. A Probability Event An event is one possible outcome or a set of outcomes of a random phenomenon. For example,
NCTM Series Navigating through Navigating through Probability in Grades 9-12 AATM State Conference September 27, 2008 Shannon Guerrero Asst Professor,
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Chapter 10 Introducing Probability BPS - 5th Ed. Chapter 101.
MPRI 3 Dec 2007Catuscia Palamidessi 1 Why Probability and Nondeterminism? Concurrency Theory Nondeterminism –Scheduling within parallel composition –Unknown.
Probability Definition : The probability of a given event is an expression of likelihood of occurrence of an event.A probability isa number which ranges.
Statistics What is the probability that 7 heads will be observed in 10 tosses of a fair coin? This is a ________ problem. Have probabilities on a fundamental.
Probabilistic Automaton Ashish Srivastava Harshil Pathak.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
Great Theoretical Ideas in Computer Science for Some.
Model Checking Lecture 1. Model checking, narrowly interpreted: Decision procedures for checking if a given Kripke structure is a model for a given formula.
Generalized Point Based Value Iteration for Interactive POMDPs Prashant Doshi Dept. of Computer Science and AI Institute University of Georgia
Basic Probability. Introduction Our formal study of probability will base on Set theory Axiomatic approach (base for all our further studies of probability)
Probabilistic Robotics Probability Theory Basics Error Propagation Slides from Autonomous Robots (Siegwart and Nourbaksh), Chapter 5 Probabilistic Robotics.
CS5270 Lecture 41 Timed Automata I CS 5270 Lecture 4.
Mean Field Methods for Computer and Communication Systems Jean-Yves Le Boudec EPFL Network Science Workshop Hong Kong July
Great Theoretical Ideas in Computer Science.
PROBABILITY AND COMPUTING RANDOMIZED ALGORITHMS AND PROBABILISTIC ANALYSIS CHAPTER 1 IWAMA and ITO Lab. M1 Sakaidani Hikaru 1.
Probabilistic Analysis of Computer Systems
Polynomial analysis algorithms for free-choice workflow nets
SS 2017 Software Verification Probabilistic modelling – DTMC / MDP
Probabilistic Methods in Concurrency Lecture 5 Basics of Measure Theory and Probability Theory Probabilistic Automata Catuscia Palamidessi
Analytics and OR DP- summary.
Game Theory “How to Win the Game!”.
Automatic Verification
‘Crowds’ through a PRISM
Presentation transcript:

Distributed Markov Chains P S Thiagarajan School of Computing, National University of Singapore Joint work with Madhavan Mukund, Sumit K Jha and Ratul Saha

Probabilistic dynamical systems Rich variety and theories of probabilistic dynamical systems – Markov chains, Markov Decision Processes (MDPs), Dynamic Bayesian networks Many applications Size of the model is a bottleneck – Can we exploit concurrency theory? We explore this in the setting of Markov chains.

Our proposal A set of interacting sequential systems. – Synchronize on common actions. a a

Our proposal A set of interacting sequential systems. – Synchronize on common actions. a

Our proposal A set of interacting sequential systems. – Synchronize on common actions. a

Our proposal A set of interacting sequential systems. – Synchronize on common actions. – This leads a joint probabilistic move by the participating agents. a, 0.8 a, 0.2

Our proposal A set of interacting sequential systems. – Synchronize on common actions. – This leads a joint probabilistic move by the participating agents. a, 0.8 a, 0.2

Our proposal A set of interacting sequential systems. – Synchronize on common actions. – This leads a joint probabilistic move by the participating agents. a, 0.8 a, 0.2

Our proposal A set of interacting sequential systems. – Synchronize on common actions. – This leads a joint probabilistic move by the participating agents. a, 0.8 a, 0.2

Our proposal A set of interacting sequential systems. – Synchronize on common actions. – This leads a joint probabilistic move by the participating agents. – More than two agents can take part in a synchronization. – More than two probabilistic outcomes possible. – There can also be just one agent taking part in a synchronization. Viewed as an internal probabilistic move (like in a Markov chain) by the agent.

Our proposal This type of a system has been explored by Pighizzini et.al (“Probabilistic asynchronous automata”; 1996) – Language-theoretic study. Our key idea: – impose a “determinacy of communications” restriction. – Study formal verification problems using partial order based methods. We study here just one simple verification method.

Some notations

{a} Determinacy of communications. s s’ s’’ i {a}

Determinacy of communications. s s’ s’’ i j

{a} Determinacy of communications. s s’ s’’ i j loc(a) = {i, j} (s, s’), (s, s’’)  en a a a a

{a} Not allowed! s s’ i j s’’ k act(s) will have more than one action.

Some notations

Example – Two players each toss a fair coin – If the outcome is the same, they toss again – If the outcomes are different, the one who tosses Heads wins

Example Two component DMC

Interleaved semantics. Coin tosses are local actions, deciding a winner is synchronized action

Goal We wish to analyze the behavior of a DMC in terms of its interleaved semantics. Follow the Markov chain route. – Construct the path space. The set of infinite paths from the initial state. Basic cylinder: a set of infinite paths with a common finite prefix. Close under countable unions and complements.

The transition system view /5 3/ /5 3/ B Pr(B) = 1  2/5  1  1 = 2/5 B – The set of all paths that have the prefix

Concurrency Events can occur independent of each other. Interleaved runs can be (concurrency) equivalent. We use Mazurkiewicz trace theory to group together equivalent runs: trace paths. Infinite trace paths do not suffice. We work with maximal infinite trace paths.

(in 1, in 2 ) (T 1, in 2 )(in 1, H 2 ) (in 1, T 2 ) (H 1, in 2 ) t1, 0.5 t2, 0.5 h1, 0.5 h2, 0.5 (H 1, H 2 )(T 1, H 2 )(H 1, T 2 )(T 1, T 2 ) W1, L2 w1 l2 w1 L1, W2

The trace space A basic trace cylinder is the one generated by a finite trace Construct the  -algebra by closing under countable unions and complements. We must construct a probability measure over this  -algebra. For a basic trace cylinder we want its probability to be the product of the probabilities of all the events in the trace.

(in 1, in 2 ) (T 1, in 2 )(in 1, H 2 ) (in 1, T 2 ) (H 1, in 2 ) t1, 0.5 t2, 0.5 h1, 0.5 h2, 0.5 (H 1, H 2 )(T 1, H 2 )(H 1, T 2 )(T 1, T 2 ) W1, L2 w1 l2 w1 L1, W2 B Pr(B) = 0.5  0.5 = 0.25

The probability measure over the trace space. But proving that this extends to a unique probability measure over the whole  -algebra is hard. To solve this problem : – Define a Markov chain semantics for a DMC. – Construct a bijection between the maximal traces of the interleaved semantics and the infinite paths of the Markov chain semantics. Using Foata normal form – Transport the probability measure over the path space to the trace space.

The Markov chain semantics.

Markov chain semantics

Probabilistic Product Bounded LTL

PBLTL over interleaved runs

Statistical model checking…

SPRT based model checking

Case study

Case study…

Distributed leader election protocol [Itai-Rodeh]

Case study

Case study… Dining Philosophers Problem

Other examples Other PRISM case studies of randomized distributed algorithms – consensus protocols, gossip protocols… – Need to “translate" shared variables using a protocol Probabilistic choices in typical randomized protocols are local DMC model allows communication to influence probabilistic choices – We have not exploited this yet! – Not represented in standard PRISM benchmarks

Summary and future work The interplay between concurrency and probabilistic dynamics is subtle and challenging. But concurrency theory may offer new tools for factorizing stochastic dynamics. – Earlier work on probabilistic event structures [Katoen et al, Abbes et al, Varacca et al] also attempt to impose probabilities on concurrent structures. – Our work shows that formal verification as the goal offers valuable guidelines Need to develop other model checking methods for DMCs. – Finite unfoldings – Stubborn sets for PCTL like specifications.