Basing Markov Transition Systems on the Giry Monad Smooth Equiva- - - PowerPoint PPT Presentation

basing markov transition systems on the giry monad
SMART_READER_LITE
LIVE PREVIEW

Basing Markov Transition Systems on the Giry Monad Smooth Equiva- - - PowerPoint PPT Presentation

EED. Motivation The Giry Monad Basing Markov Transition Systems on the Giry Monad Smooth Equiva- lence Relations Congruences Ernst-Erich Doberkat Factoring Chair for Software Technology Some Technische Universitt Dortmund Conclu-


slide-1
SLIDE 1

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Basing Markov Transition Systems on the Giry Monad

Ernst-Erich Doberkat Chair for Software Technology Technische Universität Dortmund http://ls10-www.cs.uni-dortmund.de

1/1/

slide-2
SLIDE 2

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Overview

1 Motivation 2 The Giry Monad 3 Smooth Equivalence Relations 4 Congruences 5 Factoring 6 Some Concluding Remarks 7 References

2/2/

slide-3
SLIDE 3

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Motivation

You are interested in the behavior of coalitions, not in the behavior of individual objects (Economics, Biology). You model the system through a stochastic model (e. g., a Markov transition system). Then it is sometimes preferable not to compare the states of a modelling system but rather distributions over these states. Some questions come up How do you model morphisms? How is equivalent behavior modelled? This is what will be done: A brief introduction to the Giry monad as the mechanism underlying Markov transition systems. A discussion of moving equivalence relations around. A look into morphisms and congruences, including factoring.

3/3/Motivation

slide-4
SLIDE 4

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

The Giry Monad

The space of all subprobabilities

Measurable Space A measurable space (X, A) is a set X with a σ-algebra A — a Boolean algebra of subsets of X which is closed under countable unions. Measurable Map Let (Y , B) be another measurable

  • space. A map f : X → Y is

A-B-measurable iff f −1 [B] ∈ A for all B ∈ B. Measurable spaces with measurable maps form a category Meas. Subprobability A subprobability µ on A is a map µ : A → [0, 1] with µ(∅) = 0 such that µ(S

n∈N An) = P n∈N An, provided (An)n∈N ⊆ A is mutually disjoint.

S (X, A) The set S (X, A) of all subprobabilities is made into a measurable space: take as a σ-algebra A• the smallest σ-algebra which makes the evaluations evA : µ → µ(A) measurable.

4/4/The Giry Monad

slide-5
SLIDE 5

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

The Giry Monad

S as an endofunctor

S : Meas → Meas What about morphisms? Let f : (X, A) → (Y , B) be measurable. Then S (f ) (µ) : B ∋ B → µ ` f −1 [B] ´ . Easy S (f ) : S (X, A) → S (Y , B) is A•-B•-measurable. Proposition S is an endofunctor on the category of measurable spaces. Remark S is also an endofunctor also on the subcategory of Polish spaces or the subcategory of analytic spaces. Well ... But I promised you a monad.

5/5/The Giry Monad

slide-6
SLIDE 6

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

The Giry Monad

Kleisli Tripel

Recall A Kleisli triple (F, η, −∗) on a category C has

1 a map F : Obj(C) → Obj(C), 2 for each object A a map ηA : A → F (A), 3 for each morphism f : A → F (B) a morphism f ∗ : F (A) → F (B)

that satisfy these laws η∗

A = idF(A), f ∗ ◦ ηA = f , g ∗ ◦ f ∗ = (g ∗ ◦ f )∗

(F, e, m) Put mA := id ∗

F(A) and eA := ηA. One shows that m : F2

  • → F and e : 1

lC

  • → F

satisfy the usual laws for a monad.

6/6/The Giry Monad

slide-7
SLIDE 7

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

The Giry Monad

S? Put for measurable K : (X, A) → S (Y , B) K ∗(µ)(B) := Z

X

K(x)(B) µ(dx). and ηA(x)(D) := ( 1, x ∈ D, 0,

  • therwise.

7/7/The Giry Monad

slide-8
SLIDE 8

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

The Giry Monad

Proposition (S, η, −∗) is a Kleisli tripel. The corresponding monad is the Giry monad. Kleisli Morphisms A stochastic relation K : (X, A) (Y , B) is a A-B•-measurable map. Stochastic relations are just the morphisms in the Kleisli category associated with this monad. Kleisli composition L∗K for K : (X, A) (Y , B) and L : (Y , B) (Z, C) is given through ` L∗K ´ (x)(D) = Z

Y

L(y)(D) K(x)(dy) Remark on Language In Probability Theory stochastic relations are referred to as sub Markov kernels; the Kleisli product of stochastic relations is called there the convolution of kernels.

8/8/The Giry Monad

slide-9
SLIDE 9

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Smooth Equivalence Relations

From now on X is assumed to be a Polish space with the Borel sets B(X) as the σ-algebra; B(X) is the smallest σ-algebra which contains the open sets of X. Countably Generated Equivalence An equivalence relation ρ on X is called smooth iff there is a sequence (An)n∈N ⊆ B(X) of Borel sets with x ρ x′ ⇔ ˆ ∀n ∈ N : x ∈ An ⇔ x′ ∈ An ˜ iff ρ = ker (f ) for some measurable f : X → R. Example

Assume X is the state space for a Markov transition system K that interprets a modal logic with a countable number of formulas. Put x ρK x′ iff ∀ϕ : K, x | = ϕ ⇔ K, x′ | = ϕ. Then ρK is smooth. This is used when looking at behavioral equivalence of Markov transition systems.

9/9/Smooth Equivalence Relations

slide-10
SLIDE 10

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Smooth Equivalence Relations

Invariant Sets A Borel subset B ⊆ X is called ρ-invariant iff B = S{[x]ρ | x ∈ B}, thus iff x ∈ B and x ρ x′ implies x′ ∈ B. The invariant Borel sets form a σ-algebra INV (B(X), ρ) on X. Lift a Relation X ֒ → S (X) Define the lifting ρ of the smooth equivalence relation ρ from X to S (X) through µ ρ µ′ iff ∀B ∈ INV (B(X), ρ) : µ(B) = µ′(B). Example

Let ρK be defined through a modal logic. Then µ ρK µ′ iff ∀ϕ : µ ` [ [ϕ] ]K ´ = µ′` [ [ϕ] ]K ´ . This is used for looking at distributional equivalence of Markov transition systems.

10/10/Smooth Equivalence Relations

slide-11
SLIDE 11

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Smooth Equivalence Relations

To S (X) and back

S (X) ֒ → X If ξ is a smooth equivalence relation on S (X), then x ⌊ξ⌋ x′ iff ηX(x) ξ ηX(x′) defines a smooth equivalence relation on X (ηX comes from the monad). Of course If ρ is smooth on X, ρ = ⌊ρ⌋. Grounded ξ = ⌊ξ⌋ Near Grounded ξ ⊆ ⌊ξ⌋ Characterization The equivalence relation ξ in S (X) is grounded iff ξ = ker (H) for a point-affine, surjective and continuous map H : S (X) → S (R).

11/11/Smooth Equivalence Relations

slide-12
SLIDE 12

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Smooth Equivalence Relations

Factoring

Congruence Let K : X X be a stochastic relation. The smooth equivalence relation ρ on X is a congruence for K iff K(x)(D) = K(x′)(D), whenever x ρ x′ and D ⊆ X is a ρ-invariant Borel set. If ρ cannot distinguish x and x′, and if it cannot distinguish the elements of D, then the probabilities must be equal. Proposition: Factoring ρ is a congruence for K iff there exists a stochastic relation Kρ : X/ρ S (X/ρ) such that this diagram commutes X

K ερ

X/ρ

S (X)

S(ερ)

S (X/ρ) (ερ is a morphism K → Kρ)

12/12/Congruences

slide-13
SLIDE 13

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Smooth Equivalence Relations

Factoring

Randomized Congruence The smooth equivalence relation ξ on S (X) is a randomized congruence for the stochastic relation K : X X iff ξ is near grounded, µ ξ µ′ implies K ∗(µ) ξ K ∗(µ′). Factoring for the randomized case? Morphism If K : X X and L : Y Y are stochastic relations, then f : X → Y measurable is called a morphism K → L iff L ◦ f = S (f ) ◦ K. Randomized Morphism If K : X X and L : Y Y are stochastic relations, then Φ : X Y is called a randomized morphism K ⇒ L iff L∗Φ = Φ∗K.

13/13/Factoring

slide-14
SLIDE 14

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Smooth Equivalence Relations

Factoring

Morphism If f : K → L is a morphism, then ker (f ) is a congruence for K. Randomized Morphism If Φ : K ⇒ L is a randomized morphism, then ker (Φ∗) is a randomized congruence for K.

The randomized morphism Φ : K ⇒ L is called near-grounded iff ker (Φ∗) is near grounded. For morphism f : K → L there exists a unique morphism g : K/ker (f ) → L with K

f εker(f )

L K/ker (f )

g

If Φ : K ⇒ L is near-grounded, then there exists a unique randomized morphism Γ : K/ker (Φ) ⇒ L with K

Φ εker(Φ)

L K/ker (Φ)

Γ

14/14/Factoring

slide-15
SLIDE 15

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Some Remarks & Consequences

Factoring is done along the lines of Universal Algebra. Polish (or analytic) base spaces seem to be essential, at least for the proofs. Using these results, various forms of comparing the behavior of Markov transition systems can be investigated (behavioral equivalence. logical equivalence, bisimulations etc.) In particular, these results are tools for investigating bisimulations for weak morphisms. It seems that in general some work could be done to investigate properties of Kleisli categories for not-set based functors.

15/15/Some Concluding Remarks

slide-16
SLIDE 16

EED. Motivation The Giry Monad Smooth Equiva- lence Relations Congruences Factoring Some Conclu- ding Remarks References

Some References

  • M. Giry.

A categorical approach to probability theory. In Categorical Aspects of Topology and Analysis, number 915 in Lect. Notes Math., pages 68 – 85, Berlin, 1981. Springer-Verlag.

  • P. Panangaden.

Probabilistic relations. In C. Baier, M. Huth, M. Kwiatkowska, and M. Ryan, editors, Proc. PROBMIV, pages 59 – 74, 1998. E.-E. Doberkat. Stochastic Relations. Foundations for Markov Transition Systems. Chapman & Hall/CRC Press, Boca Raton, New York, 2007. E.-E. Doberkat. Kleisli morphisms and randomized congruences for the Giry monad.

  • J. Pure Appl. Alg., 211:638–664, 2007.

E.-E. Doberkat. Stochastic coalgebraic logic: Bisimilarity and behavioral equivalence.

  • Ann. Pure Appl. Logic, 155:46 – 68, 2008.

16/16/Some Concluding Remarks