Interprtation abstraite de modles de voies de signalisation - - PowerPoint PPT Presentation

interpr tation abstraite de mod les de voies de
SMART_READER_LITE
LIVE PREVIEW

Interprtation abstraite de modles de voies de signalisation - - PowerPoint PPT Presentation

cole thmatique Modlisation formelle de rseaux de rgulation biologique Interprtation abstraite de modles de voies de signalisation intracellulaire Jrme Feret Dpartement dInformatique de lcole Normale Suprieure


slide-1
SLIDE 1 École thématique Modélisation formelle de réseaux de régulation biologique

Interprétation abstraite de modèles de voies de signalisation intracellulaire

Jérôme Feret

Département d’Informatique de l’École Normale Supérieure INRIA, ÉNS, CNRS http://www.di.ens.fr/∼ feret June 2013
slide-2
SLIDE 2

Joint-work with...

Walter Fontana Harvard Medical School Vincent Danos Edinburgh Ferdinanda Camporesi Bologna / ÉNS Russ Harmer Harvard Medical School Jean Krivine Paris VII Jérôme Feret 2 June 2013
slide-3
SLIDE 3

Signalling Pathways

Eikuch, 2007 Jérôme Feret 3 June 2013
slide-4
SLIDE 4

Pathway maps

Oda, Matsuoka, Funahashi, Kitano, Molecular Systems Biology, 2005 Jérôme Feret 4 June 2013
slide-5
SLIDE 5

Differential models

                  

dx1 dt = −k1 · x1 · x2 + k−1 · x3 dx2 dt = −k1 · x1 · x2 + k−1 · x3 dx3 dt = k1 · x1 · x2 − k−1 · x3 + 2 · k2 · x3 · x3 − k−2 · x4) dx4 dt = k2 · x2 3 − k2 · x4 + v4·x5 p4+x5 − (k3 · x4 − k−3 · x5) dx5 dt = · · · . . . dxn dt = −k1 · x1 · c2 + k−1 · x3 − do not describe the structure of molecules; − combinatorial explosion: forces choices that are not principled; − a nightmare to modify. Jérôme Feret 5 June 2013
slide-6
SLIDE 6

A gap between two worlds

Two levels of description:
  • 1. Databases of proteins interactions in natural language
+ documented and detailed description + transparent description − cannot be interpreted
  • 2. ODE-based models
+ can be integrated − opaque modelling process, models can hardly be modified − there are also some scalability issues. Jérôme Feret 6 June 2013
slide-7
SLIDE 7

Rule-based approach

We use site graph rewrite systems
  • 1. The description level matches with both
  • the observation level
  • and the intervention level
  • f the biologist.
We can tune the model easily.
  • 2. Model description is very compact.
Jérôme Feret 7 June 2013
slide-8
SLIDE 8

Formal semantics

Several semantics (qualititative and/or quantitative) can be defined. G E R Sh So r r Y7 pi b a Y68 l d Y48 Interaction map x y1 y2 y3 z1 z2 z3 1/2 1/3 1 1 1 1/3 1/3 1/2 1/2 1/2 1/2 1/2 CTMC                        dx1 dt = −k1 · x1 · x2 + k−1 · x3 dx2 dt = −k1 · x1 · x2 + k−1 · x3 dx3 dt = k1 · x1 · x2 − k−1 · x3 + 2 · k2 · x3 · x3 − k−2 · x4 dx4 dt = k2 · x2 3 − k2 · x4 + v4·x5 p4+x5 − k3 · x4 − k−3 · x5 dx5 dt = · · · . . . dxn dt = −k1 · x1 · c2 + k−1 · x3 ODEs Jérôme Feret 8 June 2013
slide-9
SLIDE 9

Complexity walls

Jérôme Feret 9 June 2013
slide-10
SLIDE 10

Static analysis of reachable species (I/II)

Semi-fluid medium: the notion of individual is meaningless. Design a static analysis to approximate the set of reachable species [VMCAI’08] which focuses on the relationships between the states of the sites of each agent: This analysis is efficient, suitable to our problem, and accurate. Jérôme Feret 10 June 2013
slide-11
SLIDE 11

Static analysis of reachable species (II/II)

Applications:
  • 1. check the consistency of a model [ICCMSE’07]
  • 2. compute the properties to allow fast simulation [APLAS’07]
  • 3. simplify models,
  • 4. compute independent fragments of chemical species [PNAS’09, LICS’10,Chaos’10]
The analysis is complete (no false positif) for a significatif kernel of Kappa [VMCAI’08]. Jérôme Feret 11 June 2013
slide-12
SLIDE 12

Model reduction

The ground differential system uses one variable per chemical species; We directly compute its exact projection over fragments of chemical species. With a small model, 356 chemical species are reduced into 38 fragments: 100 200 300 400 500 600 700 800 1 2 3 4 5 6 Concentration Time /home/feret/demo/egfr-compressed.ka (reduced) [EGFR(Y48!0),SHC(Y7!1,pi!0),GRB2(a!1,b!2),SOS(d!2)] (reduced) [EGFR(Y68!0),GRB2(a!0,b!1),SOS(d!1)] (ground) [EGFR(Y48!0),SHC(Y7!1,pi!0),GRB2(a!1,b!2),SOS(d!2)] (ground) [EGFR(Y68!0),GRB2(a!0,b!1),SOS(d!1)] On a bigger model, 1019 chemical species are reduced into 180 000 frag-
  • ments. [PNAS’09,LICS’10,Chaos’10]
Jérôme Feret 12 June 2013
slide-13
SLIDE 13 École thématique Modélisation formelle de réseaux de régulation biologique

Reachability Analysis

  • f Rule-based Models
[ICCMSE’07,VMCAI’08]

Jérôme Feret

Laboratoire d’Informatique de l’École Normale Supérieure INRIA, ÉNS, CNRS http://www.di.ens.fr/∼ feret June 2013
slide-14
SLIDE 14

Overview

  • 1. Introduction
  • 2. Kappa language
  • 3. Local views
  • 4. Local set of chemical species
  • 5. Local rule systems
  • 6. Conclusion
Jérôme Feret 2 June 2013
slide-15
SLIDE 15

A single story

Jérôme Feret 3 June 2013
slide-16
SLIDE 16

A concurrent story

Jérôme Feret 4 June 2013
slide-17
SLIDE 17

Overshoot

When we combine the two stories. . . . . . we get an overshoot. Jérôme Feret 5 June 2013
slide-18
SLIDE 18

Overview

  • 1. Introduction
  • 2. Kappa language
  • 3. Local views
  • 4. Local set of chemical species
  • 5. Local rule systems
  • 6. Conclusion
Jérôme Feret 6 June 2013
slide-19
SLIDE 19

A chemical species

E R R E

l r r l r r

E(r!1), R(l!1,r!2), R(r!2,l!3), E(r!3)

Jérôme Feret 7 June 2013
slide-20
SLIDE 20

A Unbinding/Binding Rule

E R E R

l r r l r r

E(r), R(l,r) ← → E(r!1), R(l!1,r)

Jérôme Feret 8 June 2013
slide-21
SLIDE 21

Internal state

E R E R

l r p l r Y1 Y1 u

R(Y1∼u,l!1), E(r!1) ← → R(Y1∼p,l!1), E(r!1)

Jérôme Feret 9 June 2013
slide-22
SLIDE 22

Don’t care, Don’t write

R

u

R

p Y1 r Y1 r =

R

u

R

p . Y1 Y1 Jérôme Feret 10 June 2013
slide-23
SLIDE 23

A contextual rule

R

u

R

p e Y1 Y1 r r

R(Y1∼u,r!_) → R(Y1∼p,r)

Jérôme Feret 11 June 2013
slide-24
SLIDE 24

Creation/Suppression

R R R

. r r r u Y1 l

R(r) → R(r!1), R(r!1,l,Y1)

R R R

r r r

R(r!1), R(r!1) → R(r)

Jérôme Feret 12 June 2013
slide-25
SLIDE 25

Early EGF example

Ligand-receptor binding, receptor dimerisation, rtk x-phosph, & de-phosph 01: R(l,r), E(r) <-> R(l1,r), E(r1) 02: R(l1,r), R(l2,r) <-> R(l1,r3), R(l2,r3) 03: R(r1,Y68) -> R(r1,Y68p) R(Y68p) -> R(Y68) 04: R(r1,Y48) -> R(r1,Y48p) R(Y48p) -> R(Y48) Sh x-phosph & de-phosph 14: R(r2,Y48p 1), Sh(π1,Y7) -> R(r2,Y48p 1), Sh(π1,Y7p) ??: Sh(π1,Y7p) -> Sh(π1,Y7) 16: Sh(π,Y7p) -> Sh(π,Y7) Y68-G binding 09: R(Y68p), G(a,b) <-> R(Y68p 1)+G(a1,b) 11: R(Y68p), G(a,b2) <-> R(Y68p 1)+G(a1,b2)

egf rules 1

receptor type: R(l,r,Y68,Y48) refined from R(Y68p)+G(a)<->R(Y68p 1)+G(a1) refined from Sh(Y7p)-> Sh(Y7) protein shorthands: E:=egf, R:=egfr, So:=Sos,Sh:=Sh,G:=grb2 site abbreviations & fusions: Y68:=Y1068, Y48:=Y1148/73 , Y7 :=Y317 , π:=PTB/SH2 Jérôme Feret 13 June 2013
slide-26
SLIDE 26

Early EGF example

G-So binding 10: R(Y68p 1), G(a1,b), So(d) <-> R(Y68p 1), G(a1,b2), So(d2) 12: G(a,b), So(d) <-> G(a,b1), So(d1) 22: Sh(π,Y7p2), G(a2,b), So(d) <-> Sh(π,Y7p2), G(a2,b1), S(d1) 19: Sh(π1,Y7p2), G(a2,b), So(d) <-> Sh(π1,Y7p2), G(a2,b1), S(d1) Y48-Sh binding 13: R(Y48p), Sh(π,Y7) <-> R(Y48p 1), Sh(π1,Y7) 15: R(Y48p), Sh(π,Y7p) <-> R(Y48p 1), Sh(π1,Y7p) 18: R(Y48p), Sh(π,Y7p 1), G(a1,b) <-> R(Y48p2), Sh(π2,Y7p 1), G(a1,b) 20: R(Y48p), Sh(π,Y7p 1), G(a1,b3), S(d3) <-> R(Y48p2), Sh(π2,Y7p 1), G(a1,b3), S(d3) Sh-G binding 17 : R(Y48p 1), Sh(π1,Y7p), G(a,b) <-> R(Y48p 1), Sh(π1,Y7p2), G(a2,b) 21: Sh(π,Y7p), G(a,b) <-> Sh(π,Y7p 1), G(a1,b) 23: Sh(π,Y7p), G(a,b2) <-> Sh(π,Y7p 1), G(a1,b2) 24: R(Y48p 1), Sh(π1,Y7p), G(a,b3), S(d3) <-> R(Y48p 1), Sh(π1,Y7p2), G(a2, b3), S(d3)

egf rules 2

refined from R(Y48p)+Sh(π)<->R(Y48p 1)+Sh(π1) why not simply G(b3)?? refined from Sh(π), G(a)<->Sh(π1), G(a1) interface note: highlight the interacting parts refined from So(d)+G(b)<->So(d1)+G(b1) Jérôme Feret 14 June 2013
slide-27
SLIDE 27

Properties of interest

  • 1. Show the absence of modelling errors:
  • detect dead rules;
  • detect overlapping rules;
  • detect non exhaustive interactions;
  • detect rules with ambiguous molecularity.
  • 2. Get idiomatic description of the networks:
  • capture causality;
  • capture potential interactions;
  • capture relationships between site states.
(simplify rules)
  • 3. Allow fast simulation:
  • capture accurate approximation of the wake-up relation.
Jérôme Feret 15 June 2013
slide-28
SLIDE 28

Overview

  • 1. Introduction
  • 2. Kappa language
  • 3. Local views
  • 4. Local set of chemical species
  • 5. Local rule systems
  • 6. Conclusion
Jérôme Feret 16 June 2013
slide-29
SLIDE 29

Embedding

R R R Φ Φ E E Z Z′ r l Y48 r l r r We write Z ⊳Φ Z′ iff:
  • Φ is a site-graph morphism:
  • i is less specific than Φ(i),
  • if there is a link between (i, s) and (i′, s′),
then there is a link between (Φ(i), s) and (Φ(i′), s′).
  • Φ is an into map (injective):
  • Φ(i) = Φ(i′) implies that i = i′.
Jérôme Feret 17 June 2013
slide-30
SLIDE 30

Set of reachable chemical species

Let R = {Ri} be a set of rules. Let Species be the set of all chemical species (C, c1, c′ 1, . . . , ck, c′ k, . . . ∈ Species). Let Species0 be the set of initial . We write: c1, . . . , cm →Rk c′ 1, . . . , c′ n whenever:
  • 1. there is an embedding of the lhs of Rk in the solution c1, . . . , cm;
  • 2. the (embedding/rule) produces the solution c′
1, . . . , c′ n. We are interested in Speciesω the set of all chemical species that can be constructed in one or several applications of rules in R starting from the set Species0 of initial chemical species. (We do not care about the number of occurrences of each chemical species). Jérôme Feret 18 June 2013
slide-31
SLIDE 31

Inductive definition

We define the mapping F as follows: F :        ℘(Species) → ℘(Species) X → X ∪
  • c′
j
  • ∃Rk ∈ R, c1, . . . , cm ∈ X,
c1, . . . , cm →Rk c′ 1, . . . , c′ n
  • .
We define the set of reachable chemical species as follows: Speciesω = Fn(Species0)
  • n ∈ N
  • .
Jérôme Feret 19 June 2013
slide-32
SLIDE 32

Local views

E R E R R E

r l. l r Y1 u l Y1 r. u

α({R(Y1∼u,l!1), E(r!1)}) = {R(Y1∼u,l!r.E); E(r!l.R)}.

Jérôme Feret 20 June 2013
slide-33
SLIDE 33

Galois connexion

  • Let Local_view be the set of all local views.
  • Let α ∈ ℘(Species) → ℘(Local_view) be the function that maps any set
  • f chemical species into the set of their local views.
  • Let γ ∈ ℘(Local_view) → ℘(Species) be the function that maps any
set of local views into the set of chemical species that can be built with these local views.
  • The pair (α, γ) forms a Galois connexion:
℘(Species) − − → ← − − α γ ℘(Local_view). Jérôme Feret 21 June 2013
slide-34
SLIDE 34

γ ◦ α

γ ◦ α is an upper closure operator: it abstracts away some information. Guess the image of the following set of chemical species ?

{ }

a

R

r l Jérôme Feret 22 June 2013
slide-35
SLIDE 35

α ◦ γ

α ◦ γ is a lower closure operator: it simplifies (or reduces) constraints. Guess the image of the following set of local views ?

{ }

R

a

;

aS r l l. r. l r. r l.

R R R R

Jérôme Feret 23 June 2013
slide-36
SLIDE 36

One more question

α ◦ γ is a lower closure operator: it simplifies (or reduces) constraints. Guess the image of the following set of local views ?

{ }

R

a

;

aR r l.

R R R

l l r. l. r Jérôme Feret 24 June 2013
slide-37
SLIDE 37

Abstract rules

#

l

R R R R E R R R E R R

. .

R

r r r r u Y1 u Y1 l r. p Y1 r. r r. r l r l r. p Y1 r Jérôme Feret 25 June 2013
slide-38
SLIDE 38

Abstract counterpart to F

We define F♯ as: F♯ :        ℘(Local_view) → ℘(Local_view) X → X ∪
  • lv′
j
  • ∃Rk ∈ R, lv1, . . . , lvm ∈ X,
lv1, . . . , lvm →♯ Rk lv′ 1, . . . , lv′ n
  • .
We have:
  • F♯ is monotonic;
  • F ◦ γ
. ⊆ γ ◦ F♯; Jérôme Feret 26 June 2013
slide-39
SLIDE 39

Soundness

Theorem 1 Let:
  • 1. (D, ⊆, ∪) and (D♯, ⊑, ⊔) be chain-complete partial orders;
  • 2. D −
− → ← − − α γ D♯ be a Galois connexion;
  • 3. F ∈ D → D and F♯ ∈ D♯ → D♯ be monotonic mappings such that:
F ◦ γ . ⊆ γ ◦ F♯;
  • 4. x0 ∈ D be an element such that: x0 ⊆ F(x0);
Then:
  • 1. both lfpx0F and lfpα(x0)F♯ exist,
  • 2. lfpx0F ⊆ γ(lfpα(x0)F♯).
Jérôme Feret 27 June 2013
slide-40
SLIDE 40

Overview

  • 1. Introduction
  • 2. Kappa language
  • 3. Local views
  • 4. Local set of chemical species
  • 5. Local rule systems
  • 6. Conclusion
Jérôme Feret 28 June 2013
slide-41
SLIDE 41

Concretization

For any X ∈ ℘(Local_view), γ(X) is given by a rewrite system: For any lv ∈ X, we add the following rules: F . . . F E . E E

I

E . F F F

F E

.

E

E E F F l p p Y2 Y1 u p u r. Y2 Y1 Y3 u l p r u Y3 Y3. r r r r l l Y3. r. l. Y3 r Y3 l p p u r. Y2 Y3 u l. r l. r l p p u r. Y2 Y1 Y3 u r. r. r. Y1 I and semi-links are non-terminal. I is the initial symbol. Jérôme Feret 29 June 2013
slide-42
SLIDE 42

Pumping lemma

  • We use this rewrite system to enumerate the chemical species of γ(X).
  • There are two cases:
  • 1. either there is a finite number of rewrite sequences;
  • 2. or we encounter cyclic derivations
i.e. an open chemical species with a cycle of the following form:

R.l-r.E ... R.l-r.E

can be built.
  • We only enumerate chemical species that are reached through an acyclic
rewriting computation.
  • It turns out that: if X ∈ Im(α) then each rewrite sequence is the prefix of
a terminating rewrite sequence. (So there is an unbounded number of species if, and only if, there is an unbounded number of rewrite sequences.) Jérôme Feret 30 June 2013
slide-43
SLIDE 43

Examples

  • 1. Make the demo for egf
  • 2. Make the demo for fgf
  • 3. Make the demo for sfb
  • 4. Make the demo for Global invariants
Jérôme Feret 31 June 2013
slide-44
SLIDE 44

Which information is abstracted away ?

Our analysis is exact (no false positive):
  • for EGF cascade (356 chemical species);
  • for FGF cascade (79080 chemical species);
  • for SFB cascade (≈ 2.1019 chemical species);
We know how to build systems with false positives. . . . . .but they seem to be biologically meaningless. This raises the following issues:
  • Can we characterize which information is abstracted away ?
  • Which is the form of the systems, for which we have no false positive ?
  • Do we learn something about the biological systems that we describe ?
Jérôme Feret 32 June 2013
slide-45
SLIDE 45

Which information is abstracted away ?

Theorem 2 We suppose that:
  • 1. (D, ⊆) be a partial order;
  • 2. (D♯, ⊑, ⊔) be chain-complete partial order;
  • 3. D −
− → ← − − α γ D♯ be a Galois connexion;
  • 4. F ∈ D → D and F♯ ∈ D♯ → D♯ are monotonic;
  • 5. F ◦ γ
. ⊆ γ ◦ F♯;
  • 6. x0, inv ∈ D such that:
  • x0 ⊆ F(x0) ⊆ F(inv) ⊆ inv,
  • inv = γ(α(inv)),
  • and α(F(γ(α(inv)))) = F♯(α(inv));
Species inv lfpα(Species0)F♯ Speciesω Then, lfpα(x0)F♯ exists and γ(lfpα(x0)F♯) ⊆ inv. Jérôme Feret 33 June 2013
slide-46
SLIDE 46

When is there no false positive ?

Theorem 3 We suppose that:
  • 1. (D, ⊆, ∪) and (D♯, ⊑, ⊔) are chain-complete partial orders;
  • 2. (D, ⊆) −
− → ← − − α γ (D♯, ⊑) is a Galois connexion;
  • 3. F : D → D is a monotonic map;
  • 4. x0 is a concrete element such that x0 ⊆ F(x0);
  • 5. F ◦ γ
. ⊆ γ ◦ F♯;
  • 6. F♯ ◦ α = α ◦ F ◦ γ ◦ α.
Then:
  • lfpx0F and lfpα(x0)F♯ exist;
  • lfpx0F ∈ Im(γ) ⇐
⇒ lfpx0F = γ(lfpα(x0)F♯). Jérôme Feret 34 June 2013
slide-47
SLIDE 47

Local set of chemical species

Definition 1 We say that a set X ⊆ Species of chemical species is local if and only if X ∈ Im(γ). (ie. a set X is local if and only if X is exactly the set of all the species that are generated by a given set of local views.) Jérôme Feret 35 June 2013
slide-48
SLIDE 48

Swapping relation

We define the binary relation SWAP ∼ among tuples Species∗ of chemical species. We say that (C1, . . . , Cm) SWAP ∼ (D1, . . . , Dn) if and only if: (C1, . . . , Cm) matches with r l r l while (D1, . . . , Dn) matches with r l r l Jérôme Feret 36 June 2013
slide-49
SLIDE 49

Swapping closure

Theorem 4 Let X ⊆ Species be a set of chemical species. The two following assertions are equivalent:
  • 1. the set X ⊆ Species is local;
  • 2. for any tuples (Ci)i∈I, (Dj)j∈J ∈ Species∗ such that:
  • (Ci)i∈I ∈ X∗,
  • and (Ci)i∈I
SWAP ∼ (Dj)j∈J; we have (Dj)j∈J ∈ X∗. Jérôme Feret 37 June 2013
slide-50
SLIDE 50

Proof (easier implication way)

If:
  • X = γ(α(X)),
  • (Ci)i∈I ∈ X∗,
  • and (Ci)i∈I
SWAP ∼ (Dj)j∈J; Then: we have α({Ci | i ∈ I}) = α({Dj | j ∈ J}) (because (Ci)i∈I SWAP ∼ (Dj)j∈J) and α({Ci | i ∈ I}) ⊆ α(X) (because (Ci)i∈I ∈ X∗ and α mon); so α({Dj | j ∈ J}) ⊆ α(X); so {Dj | j ∈ J} ⊆ γ(α(X)) (by def. of Galois connexions); so {Dj | j ∈ J} ⊆ X (since X = γ(α(X))); so (Dj)j∈J ∈ X∗. Jérôme Feret 38 June 2013
slide-51
SLIDE 51

Proof (more difficult implication way)

We suppose that X is close with respect to SWAP ∼ . We want to prove that γ(α(X)) ⊆ X. We prove, by induction, that any open complex that can be built using the rewrite system (associated with α(X)) can be embedded in a complex in X:
  • By def. of α, this is satisfied for any local view in α(X);
  • This remains satisfied after unfolding a semi-link with a local view;
  • This remains satisfied after binding two semi-links.
Jérôme Feret 39 June 2013
slide-52
SLIDE 52

Initialization

E F E

.

E F E

. .

I

r. l p p u r. Y2 Y1 Y3 u r. l p p u r. Y2 Y1 Y3 u C ∈ X (since lv ∈ α(X)) lv Jérôme Feret 40 June 2013
slide-53
SLIDE 53

Unfolding a semi-link

. .

E F F F E

. . . .

F E

.
  • pen partial species
p r r r. l. l. p u r. Y2 Y1 Y3 u l p l p p u r. Y2 Y1 Y3 u r C ∈ X C′ ∈ X lv Jérôme Feret 41 June 2013
slide-54
SLIDE 54

Unfolding a semi-link

F

.

F E

. . .

F E

. . .
  • pen partial species
l. r p r p u r. Y2 Y1 Y3 u l p l p p u r. Y2 Y1 Y3 u r lv C" ∈ X
  • SWAP
  • Jérôme Feret
42 June 2013
slide-55
SLIDE 55

Binding two semi-links

F E F E

. . . . . . . . . . . .
  • pen partial species
  • pen partial species
l. r. r l l r l. r. r r r r C ∈ X C′′ ∈ X
  • SWAP
  • Jérôme Feret
43 June 2013
slide-56
SLIDE 56

Bonus

Let X ∈ Im(α) be a set of views.
  • 1. Each open complex C built with the local views in X is a sub-complex of
a close complex C′ in γ(X).
  • 2. When considering the rewrite system that computes γ(X), any partial
rewriting sequence can be completed in a successful one.
  • 3. We have F♯ ◦ α = α ◦ F ◦ γ ◦ α.
Jérôme Feret 44 June 2013
slide-57
SLIDE 57

Overview

  • 1. Introduction
  • 2. Kappa language
  • 3. Local views
  • 4. Local set of chemical species
  • 5. Local rule systems
  • 6. Conclusion
Jérôme Feret 45 June 2013
slide-58
SLIDE 58

Outline

We have proved that:
  • if the set Speciesω of reachable chemical species is close with respect
swapping SWAP ∼ ,
  • then the reachability analysis is exact (i.e. Speciesω = γ(lfpα(Species0)F♯)).
Now we give some sufficient conditions that ensure this property. Jérôme Feret 46 June 2013
slide-59
SLIDE 59

Sufficient conditions

Whenever the following assumptions:
  • 1. initial agents are not bound;
  • 2. rules are atomic;
  • 3. rules are local:
  • only agents that interact are tested,
  • no cyclic patterns (neither in lhs, nor in rhs);
  • 4. binding rules do not interfere i.e. if both:
  • A(a∼m,S),B(b∼n,T) → A(a∼m!1,S),B(b∼n!1,T)
  • and A(a∼m’,S’),B(b∼n’,T’) → A(a∼m’!1,S’),B(b∼n’!1,T’),
then:
  • A(a∼m,S),B(b∼n’,T’) → A(a∼m!1,S),B(b∼n’!1,T’);
  • 5. chemical species in γ(α(Speciesω)) are acyclic,
are satisfied, the set of reachable chemical species is local. Jérôme Feret 47 June 2013
slide-60
SLIDE 60

Proof outline

We sketch a proof in order to discover sufficient conditions that ensure this property:
  • We consider tuples of complexes in which the same kind of links occur
twice.
  • We want to swap these links.
  • We introduce the history of their computation.
  • There are several cases. . .
Jérôme Feret 48 June 2013
slide-61
SLIDE 61

First case (I/V)

. . . . . . . . r r r r C ∈ Speciesω C′ ∈ Speciesω Jérôme Feret 49 June 2013
slide-62
SLIDE 62

First case (II/V)

. . . . . . . . r r r r just before the links are made C ∈ Speciesω C′ ∈ Speciesω Jérôme Feret 50 June 2013
slide-63
SLIDE 63

First case (III/V)

. . . . . . . . r r r r C ∈ Speciesω we suppose we can swap the links Jérôme Feret 51 June 2013
slide-64
SLIDE 64

First case (IV/V)

Then, we ensure that further computation steps:
  • are always possible;
  • have the same effect on local views;
  • commute with the swapping relation
SWAP ∼ .

Cn

SWAP

∼ ,σ

  • R,φ
  • C′

n R,φ

  • Cn+1
SWAP

∼ ,σ

C′

n+1

Jérôme Feret 52 June 2013
slide-65
SLIDE 65

First case (V/V)

. . . . . . . . . . r r r r C ∈ Speciesω Jérôme Feret 53 June 2013
slide-66
SLIDE 66

Second case (I/II)

. . . . . . . . . . . r r r r C ∈ Speciesω we assume that the chemical species C is acyclic Jérôme Feret 54 June 2013
slide-67
SLIDE 67

Second case (II/II)

. . . . . . . . . . . . . . . . . . r r r r r r r r Jérôme Feret 55 June 2013
slide-68
SLIDE 68

Sufficient conditions

Whenever the following assumptions:
  • 1. initial agents are not bound;
  • 2. rules are atomic;
  • 3. rules are local:
  • only agents that interact are tested,
  • no cyclic patterns (neither in lhs, nor in rhs);
  • 4. binding rules do not interfere i.e. if both:
  • A(a∼m,S),B(b∼n,T) → A(a∼m!1,S),B(b∼n!1,T)
  • and A(a∼m’,S’),B(b∼n’,T’) → A(a∼m’!1,S’),B(b∼n’!1,T’),
then:
  • A(a∼m,S),B(b∼n’,T’) → A(a∼m!1,S),B(b∼n’!1,T’);
  • 5. chemical species in γ(α(Speciesω)) are acyclic,
are satisfied, the set of reachable chemical species is local. Jérôme Feret 56 June 2013
slide-69
SLIDE 69

Third case (I/III)

. . . . . . . . . . . . . . . . . . r r r r r r r r C ∈ Speciesω Jérôme Feret 57 June 2013
slide-70
SLIDE 70

Third case (II/III)

. . . . . . . . . . . . . . r r r r C ∈ Speciesω Jérôme Feret 58 June 2013
slide-71
SLIDE 71

Third case (III/III)

. . . . . . . . . . . . . . . . . . ? ? ? r r r r r r r r C ∈ Speciesω C ∈ Speciesω Jérôme Feret 59 June 2013
slide-72
SLIDE 72

Non local systems

Species0

= R(a∼u) Rules

=          R(a∼u) ↔ R(a∼p) R(a∼u),R(a∼u) → R(a∼u!1),R(a∼u!1) R(a∼p),R(a∼u) → R(a∼p!1),R(a∼p!1) R(a∼p),R(a∼p) → R(a∼p!1),R(a∼p!1)          R(a∼u!1),R(a∼u!1) ∈ Speciesω R(a∼p!1),R(a∼p!1) ∈ Speciesω But R(a∼u!1),R(a∼p!1) ∈ Speciesω.

Jérôme Feret 60 June 2013
slide-73
SLIDE 73

Non local systems

Species0

= A(a∼u),B(a∼u) Rules

=    A(a∼u),B(a∼u) → A(a∼u!1),B(a∼u!1) A(a∼u!1),B(a∼u!1) → A(a∼p!1),B(a∼u!1) A(a∼u!1),B(a∼u!1) → A(a∼u!1),B(a∼p!1)    A(a∼u!1),B(a∼p!1) ∈ Speciesω A(a∼p!1),B(a∼u!1) ∈ Speciesω But A(a∼p!1),B(a∼p!1) ∈ Speciesω.

Jérôme Feret 61 June 2013
slide-74
SLIDE 74

Non local systems

Species0

= A(a∼u) Rules

= A(a∼u) ↔ A(a∼p) A(a∼u),A(a∼p) → A(a∼u!1),A(a∼p!1)

  • A(a∼u!1),A(a∼p!1) ∈ Speciesω

But A(a∼p!1),A(a∼p!1) ∈ Speciesω.

Jérôme Feret 62 June 2013
slide-75
SLIDE 75

Non local systems

Species0

= R(a,b) Rules

= { R(a,b),R(a) → R(a,b!1),R(a!1)} R(a,b!2),R(a!2,b!1),R(a!1,b)∈ Speciesω But R(a!1,b!1) ∈ Speciesω.

Jérôme Feret 63 June 2013
slide-76
SLIDE 76

Overview

  • 1. Introduction
  • 2. Kappa language
  • 3. Local views
  • 4. Local set of chemical species
  • 5. Local rule systems
  • 6. Conclusion
Jérôme Feret 64 June 2013
slide-77
SLIDE 77

Conclusion

  • A scalable static analysis to abstract the reachable chemical species.
  • A class of models for which the abstraction is complete.
  • Many applications:
  • idiomatic description of reachable chemical species;
  • dead rule detection;
  • rule decontextualization;
  • computer-driven kinetic refinement.
  • It can also help simulation algorithms:
  • wake up/inhibition map (agent-based simulation);
  • flat rule system generation (for bounded set of chemical species);
  • on the fly flat rule generation (for large/unbounded set)
Jérôme Feret 64 June 2013
slide-78
SLIDE 78 École thématique Modélisation formelle de réseaux de régulation biologique

Formal model reduction

[PNAS’09,LICS’10,MFPS’10,Chaos’10,MFPS’11]

Jérôme Feret

Laboratoire d’Informatique de l’École Normale Supérieure INRIA, ÉNS, CNRS June 2013
slide-79
SLIDE 79

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
  • 3. Abstract interpretation framework
  • 4. Concrete semantics
  • 5. Abstract semantics
  • 6. Conclusion
Jérôme Feret 2 June 2013
slide-80
SLIDE 80

Rule-based models

G E R Sh So r r Y7 pi b a Y68 l d Y48 Interaction map x y1 y2 y3 z1 z2 z3 1/2 1/3 1 1 1 1/3 1/3 1/2 1/2 1/2 1/2 1/2 CTMC                              dx1 dt = −k1 · x1 · x2 + k−1 · x3 dx2 dt = −k1 · x1 · x2 + k−1 · x3 dx3 dt = k1 · x1 · x2 − k−1 · x3 + 2 · k2 · x3 · x3 − k−2 · x4 dx4 dt = k2 · x2 3 − k2 · x4 + v4·x5 p4+x5 − k3 · x4 − k−3 · x5 dx5 dt = · · · . . . dxn dt = −k1 · x1 · c2 + k−1 · x3 ODEs Jérôme Feret 3 June 2013
slide-81
SLIDE 81

Complexity walls

Jérôme Feret 4 June 2013
slide-82
SLIDE 82

A breach in the wall(s) ?

Jérôme Feret 5 June 2013
slide-83
SLIDE 83

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
(a) a simple adapter (b) a system with a switch
  • 3. Abstract interpretation framework
  • 4. Concrete semantics
  • 5. Abstract semantics
  • 6. Conclusion
Jérôme Feret 6 June 2013
slide-84
SLIDE 84

A simple adapter

A C B

Jérôme Feret 7 June 2013
slide-85
SLIDE 85

A simple adapter

A C B

A , ∅B∅ ← → AB∅ kAB,kAB d A , ∅BC ← → ABC kAB,kAB d ∅B∅ , C ← → ∅BC kBC,kBC d AB∅ , C ← → ABC kBC,kBC d Jérôme Feret 7 June 2013
slide-86
SLIDE 86

A simple adapter

A C B

A , ∅B∅ ← → AB∅ kAB,kAB d A , ∅BC ← → ABC kAB,kAB d ∅B∅ , C ← → ∅BC kBC,kBC d AB∅ , C ← → ABC kBC,kBC d                      d[A] dt = kAB d ·[AB∅] + kAB d ·[ABC] − kAB·[A]·∅B∅ − kAB·A·∅BC d[C] dt = kBC d · ([∅BC] + [ABC]) − [C]·kBC· ([∅B∅] + [AB∅]) d[∅B∅] dt = kAB d ·[AB∅] + kBC d ·[∅BC] − kAB·[A]·[∅B∅] − kBC·[∅B∅] · [C] d[AB∅] dt = kAB·[A]·[∅B∅] + kBC d ·[ABC] − kAB d ·[AB∅] − kBC · [AB∅] · [C] d[∅BC] dt = kAB d ·[ABC] + kBC·[C]·[∅B∅] − [∅BC]· (kBC d + [A]·kAB) d[ABC] dt = kAB · [A]·[∅BC] + kBC · [C]·[AB∅] − [ABC]· (kAB d + kBC d ) Jérôme Feret 7 June 2013
slide-87
SLIDE 87

A simple adapter

A C B

A , ∅B∅ ← → AB∅ kAB,kAB d A , ∅BC ← → ABC kAB,kAB d ∅B∅ , C ← → ∅BC kBC,kBC d AB∅ , C ← → ABC kBC,kBC d                      d[A] dt = kAB d ·[AB∅] + kAB d ·[ABC] − kAB·[A]·∅B∅ − kAB·A·∅BC d[C] dt = kBC d · ([∅BC] + [ABC]) − [C]·kBC· ([∅B∅] + [AB∅]) d[∅B∅] dt = kAB d ·[AB∅] + kBC d ·[∅BC] − kAB·[A]·[∅B∅] − kBC·[∅B∅] · [C] d[AB∅] dt = kAB·[A]·[∅B∅] + kBC d ·[ABC] − kAB d ·[AB∅] − kBC · [AB∅] · [C] d[∅BC] dt = kAB d ·[ABC] + kBC·[C]·[∅B∅] − [∅BC]· (kBC d + [A]·kAB) d[ABC] dt = kAB · [A]·[∅BC] + kBC · [C]·[AB∅] − [ABC]· (kAB d + kBC d ) Jérôme Feret 7 June 2013
slide-88
SLIDE 88

Two subsystems

A C B

Jérôme Feret 8 June 2013
slide-89
SLIDE 89

Two subsystems

  • C

A B B

Jérôme Feret 8 June 2013
slide-90
SLIDE 90

Two subsystems

  • C

A B B

[A] = [A] [AB?] = [AB∅] + [ABC] [∅B?] = [∅B∅] + [∅BC]      d[A] dt = kAB d ·[AB?] − [A]·kAB·[∅B?] d[AB?] dt = [A]·kAB·[∅B?] − kAB d ·[AB?] d[∅B?] dt = kAB d ·[AB?] − [A]·kAB·[∅B?] [C] = [C] [?BC] = [∅BC] + [ABC] [?B∅] = [∅B∅] + [AB∅]      d[C] dt = kBC d ·[?BC] − [C]·kBC·[?B∅] d[?BC] dt = [C]·kBC·[?B∅] − kBC d ·[?BC] d[?B∅] dt = kBC d ·[?BC] − [C]·kBC·[?B∅] Jérôme Feret 8 June 2013
slide-91
SLIDE 91

Dependence index

The binding with A and with C would be independent if, and only if: [ABC] [?BC] = [AB?] [∅B?] + [AB?]. Thus we define the dependence index as follows: X = [ABC]·([∅B?] + [AB?]) − [AB?]·[?BC]. We have (after a short computation): dX dt = −X· [A]·kAB + kAB d + [C]·kBC + kBC d
  • .
So the property: [ABC] [?BC] = [AB?] [∅B?] + [AB?]. is an invariant (i.e. if it holds at time t, it holds at any time t′ ≥ t). Jérôme Feret 9 June 2013
slide-92
SLIDE 92

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
(a) a simple adapter (b) a system with a switch
  • 3. Abstract interpretation framework
  • 4. Concrete semantics
  • 5. Abstract semantics
  • 6. Conclusion
Jérôme Feret 10 June 2013
slide-93
SLIDE 93

A system with a switch

Jérôme Feret 11 June 2013
slide-94
SLIDE 94

A system with a switch

(u,u,u) − → (u,p,u) kc (u,p,u) − → (p,p,u) kl (u,p,p) − → (p,p,p) kl (u,p,u) − → (u,p,p) kr (p,p,u) − → (p,p,p) kr Jérôme Feret 11 June 2013
slide-95
SLIDE 95

A system with a switch

(u,u,u) − → (u,p,u) kc (u,p,u) − → (p,p,u) kl (u,p,p) − → (p,p,p) kl (u,p,u) − → (u,p,p) kr (p,p,u) − → (p,p,p) kr                d[(u,u,u)] dt = −kc·[(u,u,u)] d[(u,p,u)] dt = −kl·[(u,p,u)] + kc·[(u,u,u)] − kr·[(u,p,u)] d[(u,p,p)] dt = −kl·[(u,p,p)] + kr·[(u,p,u)] d[(p,p,u)] dt = kl·[(u,p,u)] − kr·[(p,p,u)] d[(p,p,p)] dt = kl·[(u,p,p)] + kr·[(p,p,u)] Jérôme Feret 11 June 2013
slide-96
SLIDE 96

Two subsystems

Jérôme Feret 12 June 2013
slide-97
SLIDE 97

Two subsystems

Jérôme Feret 12 June 2013
slide-98
SLIDE 98

Two subsystems

[(u,u,u)] = [(u,u,u)] [(u,p,?)] = [(u,p,u)] + [(u,p,p)] [(p,p,?)] = [(p,p,u)] + [(p,p,p)]      d[(u,u,u)] dt = −kc·[(u,u,u)] d[(u,p,?)] dt = −kl·[(u,p,?)] + kc·[(u,u,u)] d[(p,p,?)] dt = kl·[(u,p,?)] [(u,u,u)] = [(u,u,u)] [(?,p,u)] = [(u,p,u)] + [(p,p,u)] [(?,p,p)] = [(u,p,p)] + [(p,p,p)]      d[(u,u,u)] dt = −kc·[(u,u,u)] d[(?,p,u)] dt = −kr·[(?,p,u)] + kc·[(u,u,u)] d[(?,p,p)] dt = kr·[(?,p,u)] Jérôme Feret 12 June 2013
slide-99
SLIDE 99

Dependence index

The states of left site and right site would be independent if, and only if: [(?,p,p)] [(?,p,u)] + [(?,p,p)] = [(p,p,p)] [(p,p,?)]. Thus we define the dependence index as follows: X = [(p,p,p)]·([(?,p,u)] + [(?,p,p)]) − [(?,p,p)]·[(p,p,?)]. We have: dX dt = −X · kl + kr + kc·[(p,p,p)]·[(u,u,u)]. So the property (X = 0) is not an invariant. Jérôme Feret 13 June 2013
slide-100
SLIDE 100

Conclusion

We can use the absence of flow of information to cut chemical species into self-consistent fragments of chemical species: − some information is abstracted away: we cannot recover the concentration of any species; + flow of information is easy to abstract; We are going to track the correlations that are read by the system. Jérôme Feret 14 June 2013
slide-101
SLIDE 101

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
  • 3. Abstract interpretation framework
(a) Concrete semantics (b) Abstraction
  • 4. Concrete semantics
  • 5. Abstract semantics
  • 6. Conclusion
Jérôme Feret 15 June 2013
slide-102
SLIDE 102

Differential semantics

Let V, be a finite set of variables ; and F, be a C∞ mapping from V → R+ into V → R, as for instance,
  • V
= {[(u,u,u)], [(u,p,u)], [(p,p,u)], [(u,p,p)], [(p,p,p)]},
  • F(ρ)
=                  [(u,u,u)] → −kc·ρ([(u,u,u)]) [(u,p,u)] → −kl·ρ([(u,p,u)]) + kc·ρ([(u,u,u)]) − kr·ρ([(u,p,u)]) [(u,p,p)] → −kl·ρ([(u,p,p)]) + kr·ρ([(u,p,u)]) [(p,p,u)] → kl·ρ([(u,p,u)]) − kr·ρ([(p,p,u)]) [(p,p,p)] → kl·ρ([(u,p,p)]) + kr·ρ([(p,p,u)]). The differential semantics maps each initial state X0 ∈ V → R+ to the maximal solution XX0 ∈ [0, T max X0 [→ (V → R+) which satisfies: XX0(T) = X0 + T t=0 F(XX0(t))·dt. Jérôme Feret 16 June 2013
slide-103
SLIDE 103

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
  • 3. Abstract interpretation framework
(a) Concrete semantics (b) Abstraction
  • 4. Concrete semantics
  • 5. Abstract semantics
  • 6. Conclusion
Jérôme Feret 17 June 2013
slide-104
SLIDE 104

Abstraction

An abstraction (V♯, ψ, F♯) is given by:
  • V♯: a finite set of observables,
  • ψ: a mapping from V → R into V♯ → R,
  • F♯: a C∞ mapping from V♯ → R+ into V♯ → R;
such that:
  • ψ is linear with positive coefficients,
  • the following diagram commutes:
(V → R+) F − → (V → R) ψ

 

 ψ

ℓ∗ ℓ∗ (V♯ → R+) F♯ − → (V♯ → R) i.e. ψ ◦ F = F♯ ◦ ψ. Jérôme Feret 18 June 2013
slide-105
SLIDE 105

Abstraction example

  • V
= {[(u,u,u)], [(u,p,u)], [(p,p,u)], [(u,p,p)], [(p,p,p)]}
  • F(ρ)
=            [(u,u,u)] → −kc·ρ([(u,u,u)]) [(u,p,u)] → −kl·ρ([(u,p,u)]) + kc·ρ([(u,u,u)]) − kr·ρ([(u,p,u)]) [(u,p,p)] → −kl·ρ([(u,p,p)]) + kr·ρ([(u,p,u)]) · · ·
  • V♯ ∆
= {[(u,u,u)], [(?,p,u)], [(?,p,p)], [(u,p,?)], [(p,p,?)]}
  • ψ(ρ)
=            [(u,u,u)] → ρ([(u,u,u)]) [(?,p,u)] → ρ([(u,p,u)]) + ρ([(p,p,u)]) [(?,p,p)] → ρ([(u,p,p)]) + ρ([(p,p,p)]) . . .
  • F♯(ρ♯)
=            [(u,u,u)] → −kc·ρ♯([(u,u,u)]) [(?,p,u)] → −kr·ρ♯([(?,p,u)]) + kc·ρ♯([(u,u,u)]) [(?,p,p)] → kr·ρ♯([(?,p,u)]) . . . (Completeness can be checked analytically.) Jérôme Feret 19 June 2013
slide-106
SLIDE 106

Abstract differential semantics

Let (V, F) be a concrete system. Let (V♯, ψ, F♯) be an abstraction of the concrete system (V, F). Let X0 ∈ V → R+ be an initial (concrete) state. We know that the following system: Yψ(X0)(T) = ψ(X0) + T t=0 F♯ Yψ(X0)(t) ·dt has a unique maximal solution Yψ(X0) such that Yψ(X0) = ψ(X0). Theorem 1 Moreover, this solution is the projection of the maximal solution XX0 of the system XX0(T) = X0 + T t=0 F XX0(t) ·dt. (i.e. Yψ(X0) = ψ(XX0)) Jérôme Feret 20 June 2013
slide-107
SLIDE 107

Abstract differential semantics Proof sketch

Given an abstraction (V♯, ψ, F♯), we have: XX0(T) = X0 + T t=0F XX0(t) ·dt ψ XX0(T) = ψ X0 + T t=0F XX0(t) ·dt ψ XX0(T) = ψ(X0) + T t=0[ψ ◦ F] XX0(t) ·dt (ψ is linear) ψ XX0(T) = ψ(X0) + T t=0F♯ ψ XX0(t) ·dt (F♯ is ψ-complete) We set Y0 = ψ(X0) and YY0 = ψ ◦ XX0. Then we have: YY0(T) = Y0 + T t=0F♯ YY0(t) ·dt Jérôme Feret 21 June 2013
slide-108
SLIDE 108

Fluid trajectories

t Y(t)

Jérôme Feret 22 June 2013
slide-109
SLIDE 109

Fluid trajectories

t Y(t) X(t)

Jérôme Feret 22 June 2013
slide-110
SLIDE 110

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
  • 3. Abstract interpretation framework
  • 4. Concrete semantics
  • 5. Abstract semantics
  • 6. Conclusion
Jérôme Feret 23 June 2013
slide-111
SLIDE 111

Differential system

Each rule rule: lhs → rhs is associated with a rate constant k. Such a rule is seen as a generic representation of a set of chemical reactions: r1, . . . , rm → p1, . . . , pn k. For each such reaction, we get the following contribution: d[ri] dt = k · [ri] SYM(lhs) and d[pi] dt + = k · [ri] SYM(lhs). where SYM(E) is the number of automorphisms in E. Jérôme Feret 24 June 2013
slide-112
SLIDE 112

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
  • 3. Abstract interpretation framework
  • 4. Concrete semantics
  • 5. Abstract semantics
(a) Fragments (b) Soundness criteria (c) Abstract counterpart
  • 6. Conclusion
Jérôme Feret 25 June 2013
slide-113
SLIDE 113

Abstract domain

We are looking for suitable pair (V♯, ψ) (such that F♯ exists). The set of linear variable replacements is too big to be explored. We introduce a specific shape on (V♯, ψ) so as:
  • restrict the exploration;
  • drive the intuition (by using the flow of information);
  • having efficient way to find suitable abstractions (V♯, ψ)
and to compute F♯. Our choice might be not optimal, but we can live with that. Jérôme Feret 26 June 2013
slide-114
SLIDE 114

Contact map

G E R Sh So

r r Y7 pi b a Y68 l d Y48 Jérôme Feret 27 June 2013
slide-115
SLIDE 115

Annotated contact map

G E R Sh So

r r pi b l d Y48 Y68 Y7 a Jérôme Feret 28 June 2013
slide-116
SLIDE 116

Pattern annotation

G E R Sh So R R

r r pi b l d Y48 Y68 Y7 a r l r l Jérôme Feret 29 June 2013
slide-117
SLIDE 117

Pattern annotation

G E R Sh So R R

r r pi b l d Y48 Y68 Y7 a r l r l Jérôme Feret 30 June 2013
slide-118
SLIDE 118

Pattern annotation

G E R Sh So R R

r l r l r r pi b l d Y48 Y68 Y7 a Jérôme Feret 31 June 2013
slide-119
SLIDE 119

Prefragments and fragments

Prefragments are patterns the annotation of which is directed:

R R

l l r r Fragments are maximal prefragments (for the embedding order):

R R

l l r r Y68 G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 32 June 2013
slide-120
SLIDE 120

Are they fragments ?

G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 33 June 2013
slide-121
SLIDE 121

Are they fragments ?

G So

a b d Thus, it is a prefragment. Thus, it is a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 34 June 2013
slide-122
SLIDE 122

Are they fragments ?

G So

a b d Thus, it is a prefragment. Thus, it is a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 34 June 2013
slide-123
SLIDE 123

Are they fragments ?

G So

a b d It is maximally specified. Thus it is a fragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 34 June 2013
slide-124
SLIDE 124

Are they fragments ?

So G Sh

d b a Y7 b Thus, it is a prefragment. Thus, it is a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 35 June 2013
slide-125
SLIDE 125

Are they fragments ?

So G Sh

d b a Y7 b Thus, it is a prefragment. Thus, it is a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 35 June 2013
slide-126
SLIDE 126

Are they fragments ?

So G Sh

a b d b Y7 It can be refined into another prefragment. Thus, it is not a fragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 35 June 2013
slide-127
SLIDE 127

Are they fragments ?

So G Sh

a Y7 b d b Thus, it is a prefragment. Thus, it is a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 36 June 2013
slide-128
SLIDE 128

Are they fragments ?

So G Sh

a Y7 b d b Thus, it is a prefragment. Thus, it is a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 36 June 2013
slide-129
SLIDE 129

Are they fragments ?

So G Sh

a Y7 d b pi It can be refined into another prefragment. Thus, it is not a fragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 36 June 2013
slide-130
SLIDE 130

Are they fragments ?

So G Sh

a Y7 d b pi Thus, it is a prefragment. Thus, it is a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 37 June 2013
slide-131
SLIDE 131

Are they fragments ?

So G Sh

a Y7 d b pi Thus, it is a prefragment. Thus, it is a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 37 June 2013
slide-132
SLIDE 132

Are they fragments ?

So G Sh

a Y7 d b pi It is maximally specified. Thus it is a fragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 37 June 2013
slide-133
SLIDE 133

Are they fragments ?

G So a b d yes So G Sh d b a Y7 b no So G Sh a Y7 b d b no So G Sh a Y7 d b pi yes G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 38 June 2013
slide-134
SLIDE 134

Are they fragments ? stage 2

R R

l l r r Y68 Y68 There is no way to make a path from the first Y68 and the second one or to make a path from the second one to the first one. Thus it is not even a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 39 June 2013
slide-135
SLIDE 135

Are they fragments ? stage 2

R R

l l r r Y68 Y68 There is no way to make a path from the first Y68 and the second one or to make a path from the second one to the first one. Thus it is not even a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 40 June 2013
slide-136
SLIDE 136

Are they fragments ? stage 2

R R

l l r r Y68 There is no way to refine it, while preserving the directedness. Thus it is a fragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 41 June 2013
slide-137
SLIDE 137

Are they fragments ? stage 2

R R

l l r r Y68 There is no way to refine it, while preserving the directedness. Thus it is a prefragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 42 June 2013
slide-138
SLIDE 138

Are they fragments ? stage 2

R R

l l r r Y68 There is no way to refine it, while preserving the directedness. Thus it is a fragment. G E R Sh So r r pi b l d Y48 Y68 Y7 a Jérôme Feret 43 June 2013
slide-139
SLIDE 139

Orthogonal refinement

Property 1 (prefragment) The concentration of any prefragment can be ex- pressed as a linear combination of the concentration of some fragments. Which other properties do we need so that the function F♯ can be defined ? Jérôme Feret 44 June 2013
slide-140
SLIDE 140

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
  • 3. Abstract interpretation framework
  • 4. Concrete semantics
  • 5. Abstract semantics
(a) Fragments (b) Soundness criteria (c) Abstract counterpart
  • 6. Conclusion
Jérôme Feret 45 June 2013
slide-141
SLIDE 141

Flow of information

R Sh G E R Sh G E R Sh So pi Y48 Y7 r r pi b l d Y48 Y68 Y7 a r b d a pi Y7 r l Y48 Y68 r We reflect, in the annotated contact map, each path that stems from a site that is tested to a site that is modified. Jérôme Feret 46 June 2013
slide-142
SLIDE 142

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
  • 3. Abstract interpretation framework
  • 4. Concrete semantics
  • 5. Abstract semantics
(a) Fragments (b) Soundness criteria (c) Abstract counterpart
  • 6. Conclusion
Jérôme Feret 47 June 2013
slide-143
SLIDE 143

Fragments consumption Proper intersection

Sh R Sh R Sh R

r r r l Y7 Y7 Y7 Y48 pi pi pi Y48 Y48

u u p

Whenever a fragment intersects a connected component of a lhs on a modi- fied site, the connected component is indeed embedded in the fragment! Jérôme Feret 48 June 2013
slide-144
SLIDE 144

Fragment consumption

R So G So G Sh R Sh b r l b d d pi Y7 Y48 l r pi Y7 Y48 For any rule: rule : C1, . . . , Cn → rhs k and any embedding between a modified connected component Ck and a frag- ment F, we get: d[F] dt = k · [F] · i=k [Ci] SYM(C1, . . . , Cn) · SYM(F). Jérôme Feret 49 June 2013
slide-145
SLIDE 145

Fragment production Proper inter

E R G R G R R G

a a a r l p r r b Y68 b Y68 p p Y68 Can we express the amount (per time unit) of this fragment (bellow) concen- tration that is produced by the rule (above)? Jérôme Feret 50 June 2013
slide-146
SLIDE 146

Fragment production Proper intersection (bis)

E R G R G R R G E R E R

a a a r l p r r b Y68 b Y68 p p Y68 l r r r r r l r Yes, if the connected components of the lhs of the refinement are prefrag-
  • ments. This is already satisfied thanks to the previous syntactic criteria.
Jérôme Feret 50 June 2013
slide-147
SLIDE 147

Fragment production

G R G R E R E R a a b Y68 b Y68 p p l r r r r r l r For any rule: rule : C1, . . . , Cm → rhs k and any overlap between a fragment F and rhs on a modified site, we write C′ 1, . . . , C′ n the lhs of the refined rule; if m = n, then we get: d[F] dt + = k · i
  • C′
i
  • SYM(C1, . . . , Cm) · SYM(F);
  • therwise, we get no contribution.
Jérôme Feret 50 June 2013
slide-148
SLIDE 148

Fragment properties

If:
  • an annotated contact map satisfies the syntactic criteria,
  • fragments are defined by this annotated contact map,
  • we know the concentration of fragments;
then:
  • we can express the concentration of any connected component occur-
ing in lhss,
  • we can express fragment proper consumption,
  • we can express fragment proper production,
  • WE HAVE A CONSTRUCTIVE DEFINITION FOR F♯.
Jérôme Feret 51 June 2013
slide-149
SLIDE 149

Overview

  • 1. Context and motivations
  • 2. Handmade ODEs
  • 3. Abstract interpretation framework
  • 4. Concrete semantics
  • 5. Abstract semantics
  • 6. Conclusion
Jérôme Feret 52 June 2013
slide-150
SLIDE 150

Experimental results

Model early EGF EGF/Insulin SFB #species 356 2899 ∼ 2.1019 #fragments 38 208 ∼ 2.105 (ODEs) #fragments 356 618 ∼ 2.1019 (CTMC) 100 200 300 400 500 600 700 800 1 2 3 4 5 6 Concentration Time /home/feret/demo/egfr-compressed.ka (reduced) [EGFR(Y48!0),SHC(Y7!1,pi!0),GRB2(a!1,b!2),SOS(d!2)] (reduced) [EGFR(Y68!0),GRB2(a!0,b!1),SOS(d!1)] (ground) [EGFR(Y48!0),SHC(Y7!1,pi!0),GRB2(a!1,b!2),SOS(d!2)] (ground) [EGFR(Y68!0),GRB2(a!0,b!1),SOS(d!1)] Both differential semantics (4 curves with match pairwise) Jérôme Feret 53 June 2013
slide-151
SLIDE 151

Related issues Context sensitive approximation

G E R Sh So R G So d r Y68 l Y48 r r Y7 pi b a Y68 l d Y48 b a Jérôme Feret 54 June 2013
slide-152
SLIDE 152

Related issues Approximation of the stochastic semantics

Concretization Concretization Abstraction Abstraction 5x 1x 5x 5x 5x 3x 1x 2x 1x 2x 5x 3x 1x B7 a A2 x A3 x c B2 a c C4 b a A4 x B1 a c C2 b a A1 x C3 b a A x A5 x B4 a c C6 b a A6 x A7 x B5 a c C1 b a A8 x B6 a c C5 b a B3 a c B8 a c C7 b a B a c C b a A x B a c A x C b a A x B a c C b a A x B a c C b a A x C8 b a C9 b a 1x A x C b a B a B c B a A@x C b a A@x A x B@a 2x A x C@a 1x C b a A@x B c 2x C b a B c Jérôme Feret 54 June 2013
slide-153
SLIDE 153 École thématique Modélisation formelle de réseaux de régulation biologique

Model reduction of stochastic rules-based models

[CS2Bio’10,MFPS’10,MeCBIC’10,ICNAAM’10]

Jérôme Feret

Laboratoire d’Informatique de l’École Normale Supérieure INRIA, ÉNS, CNRS June 2013
slide-154
SLIDE 154

Joint-work with...

Ferdinanda Camporesi Bologna / ÉNS Thomas Henzinger IST Austria Heinz Koeppl ETH Zürich Tatjana Petrov ETH Zürich Jérôme Feret 2 June 2013
slide-155
SLIDE 155

Overview

  • 1. Introduction
  • 2. Examples of information flow
  • 3. Conclusion
Jérôme Feret 3 June 2013
slide-156
SLIDE 156

ODE fragments

In the ODE semantics, using the flow of information backward, we can detect which correlations are not relevant for the system, and deduce a small set of portions of chemical species (called fragments) the behavior of the concen- tration of which can be described in a self-consistent way. (ie. the trajectory of the reduced model are the exact projection of the trajec- tory of the initial model). Can we do the same for the stochastic semantics? Jérôme Feret 4 June 2013
slide-157
SLIDE 157

Stochastic fragments ?

Concretization Concretization Abstraction Abstraction 5x 1x 5x 5x 5x 3x 1x 2x 1x 2x 5x 3x 1x B7 a A2 x A3 x c B2 a c C4 b a A4 x B1 a c C2 b a A1 x C3 b a A x A5 x B4 a c C6 b a A6 x A7 x B5 a c C1 b a A8 x B6 a c C5 b a B3 a c B8 a c C7 b a B a c C b a A x B a c A x C b a A x B a c C b a A x B a c C b a A x C8 b a C9 b a 1x A x C b a B a B c B a A@x C b a A@x A x B@a 2x A x C@a 1x C b a A@x B c 2x C b a B c Jérôme Feret 5 June 2013
slide-158
SLIDE 158

Overview

  • 1. Introduction
  • 2. Examples of information flow
  • 3. Conclusion
Jérôme Feret 6 June 2013
slide-159
SLIDE 159

A model with ubiquitination

k1 k2 P k1 − → ⋆P P⋆ k1 − → ⋆P⋆ P k2 − → P⋆ ⋆P k2 − → ⋆P⋆

?

k3 ⋆P k3 − → ∅ ⋆P⋆ k3 − → ∅

?

k4 P⋆ k4 − → ∅ ⋆P⋆ k4 − → ∅ Jérôme Feret 7 June 2013
slide-160
SLIDE 160

Statistical independence

We check numerically that: Et (n⋆P⋆) = Et

(n⋆P + n⋆P⋆)(nP⋆ + n⋆P⋆)

nP + nP⋆ + n⋆P + n⋆P⋆
  • .
0.05 0.1 0.15 0.2 0.25 0.3 1 2 3 4 5 6 expectation t Et (n⋆P⋆) Et ((n⋆P + n⋆P⋆)(nP⋆ + n⋆P⋆)/n?P?)
  • 2.5e-16
  • 2e-16
  • 1.5e-16
  • 1e-16
  • 5e-17
5e-17 1e-16 1.5e-16 2e-16 2.5e-16 1 2 3 4 5 6 error rate t with k1 = k2 = k3 = k4 = 1 and two instances of P at time t = 0. Jérôme Feret 8 June 2013
slide-161
SLIDE 161

Reduced model

k1 k2 P k1 − → ⋆P P k2 − → P⋆ k3 ⋆P k3 − → ∅ + side effect: remove one P k4 P⋆ k4 − → ∅ + side effect: remove one P Jérôme Feret 9 June 2013
slide-162
SLIDE 162

Comparison between the two models

0.05 0.1 0.15 0.2 0.25 0.3 1 2 3 4 5 6 E(n⋆P⋆) t unreduced system reduced system
  • 5e-16
  • 4e-16
  • 3e-16
  • 2e-16
  • 1e-16
1e-16 2e-16 1 2 3 4 5 6 error rate t Jérôme Feret 10 June 2013
slide-163
SLIDE 163

Coupled semi-reactions

? kA+/kA− A kA+ − − ⇀ ↽ − − kA− A⋆, AB kA+ − − ⇀ ↽ − − kA− A⋆B, AB⋆ kA+ − − ⇀ ↽ − − kA− A⋆B⋆ ? kB+/kB− B kB+ − − ⇀ ↽ − − kB− B⋆, AB kB+ − − ⇀ ↽ − − kB− AB⋆, A⋆B kB+ − − ⇀ ↽ − − kB− A⋆B⋆ kAB/kA⋆B⋆/kA..B A + B kAB − − ⇀ ↽ − − kA..B AB, A⋆ + B kAB − − ⇀ ↽ − − kA..B A⋆B, A + B⋆ kAB − − ⇀ ↽ − − kA..B AB⋆, A⋆ + B⋆ kA⋆B⋆ − − − ⇀ ↽ − − − kA..B A⋆B⋆ Jérôme Feret 11 June 2013
slide-164
SLIDE 164

Reduced model

? kA+/kA− A kA+ − − ⇀ ↽ − − kA− A⋆, AB⋄ kA+ − − ⇀ ↽ − − kA− A⋆B⋄, ? kB+/kB− B kB+ − − ⇀ ↽ − − kB− B⋆, A⋄B kB+ − − ⇀ ↽ − − kB− A⋄B⋆, kAB/kA⋆B⋆/kA..B A + B kAB − − − − − − − − − − − ⇀ ↽ − − − − − − − − − − − kA..B/(nA⋄B+nA⋄B⋆) AB⋄ + A⋄B, A⋆ + B kAB − − − − − − − − − − − ⇀ ↽ − − − − − − − − − − − kA..B/(nA⋄B+nA⋄B⋆) A⋆B⋄ + A⋄B, A + B⋆ kAB − − − − − − − − − − − ⇀ ↽ − − − − − − − − − − − kA..B/(nA⋄B+nA⋄B⋆) AB⋄ + A⋄B⋆, A⋆ + B⋆ kA⋆B⋆ − − − − − − − − − − − ⇀ ↽ − − − − − − − − − − − kA..B/(nA⋄B+nA⋄B⋆) A⋆B⋄ + A⋄B⋆ Jérôme Feret 12 June 2013
slide-165
SLIDE 165

Comparison between the two models

0.1 0.2 0.3 0.4 0.5 0.5 1 1.5 2 2.5 3 E(nA⋆B⋆) t unreduced system reduced system 0.01 0.02 0.03 0.04 0.05 0.06 0.5 1 1.5 2 2.5 3 error rate t with kA+ = kA− = kB+ = kB− = kAB = kA..B = 1, kA⋆B⋆ = 10, and two instances of A and B at time t = 0. Although the reduction is correct in the ODE semantics. Jérôme Feret 13 June 2013
slide-166
SLIDE 166

Degree of correlation (in the unreduced model)

0.1 0.2 0.3 0.4 0.5 0.5 1 1.5 2 2.5 3 E(nA⋆B⋆) t Et (nA⋆B⋆) Et ((nAB⋆ + nA⋆B⋆)(nA⋆B + nA⋆B⋆)/nA?B?) 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05 0.5 1 1.5 2 2.5 3 error rate t Jérôme Feret 14 June 2013
slide-167
SLIDE 167

Distant control

? k+/k− A k+ − ⇀ ↽ − k− A⋆ A⋆ k+ − ⇀ ↽ − k− A⋆ ⋆ ? k+ ? A + A⋆ k+ − → A⋆ + A⋆ A⋆ + A⋆ k+ − → A⋆ ⋆ + A⋆ A + A⋆ ⋆ k+ − → A⋆ + A⋆ A⋆ + A⋆ ⋆ k+ − → A⋆ ⋆ + A⋆ ⋆ ? k− A⋆ ⋆ k− − → A⋆ A⋆ k− − → A Jérôme Feret 15 June 2013
slide-168
SLIDE 168

Reduced model

k+/k− A k+ − ⇀ ↽ − k− A⋆ k+ A + A⋆ k+ − → A⋆ + A⋆ k− A⋆ k− − → A Jérôme Feret 16 June 2013
slide-169
SLIDE 169

Comparison between the two models

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.5 1 1.5 2 2.5 3 E(nA⋆ ⋆) t unreduced system reduced system
  • 2.5
  • 2
  • 1.5
  • 1
  • 0.5
0.5 1 1.5 2 2.5 3 error rate t with k+ = k− = k+ = k− = 1, and two instances of A at time t = 0. Jérôme Feret 17 June 2013
slide-170
SLIDE 170

Degree of correlation (in the unreduced model)

0.1 0.2 0.3 0.4 0.5 0.5 1 1.5 2 2.5 3 Et
  • nA⋆
  • t
Et(nA⋆ ⋆) Et((nA⋆ + nA⋆ ⋆)(nA⋆ + nA⋆ ⋆)/nA? ? )
  • 2
  • 1.5
  • 1
  • 0.5
0.5 1 1.5 2 2.5 3 error rate t Jérôme Feret 18 June 2013
slide-171
SLIDE 171

Overview

  • 1. Introduction
  • 2. Examples of information flow
  • 3. Conclusion
Jérôme Feret 19 June 2013
slide-172
SLIDE 172 Concretization Concretization Abstraction Abstraction 5x 1x 5x 5x 5x 3x 1x 2x 1x 2x 5x 3x 1x B7 a A2 x A3 x c B2 a c C4 b a A4 x B1 a c C2 b a A1 x C3 b a A x A5 x B4 a c C6 b a A6 x A7 x B5 a c C1 b a A8 x B6 a c C5 b a B3 a c B8 a c C7 b a B a c C b a A x B a c A x C b a A x B a c C b a A x B a c C b a A x C8 b a C9 b a 1x A x C b a B a B c B a A@x C b a A@x A x B@a 2x A x C@a 1x C b a A@x B c 2x C b a B c Jérôme Feret 20 June 2013
slide-173
SLIDE 173

Hierarchy of semantics

symmetries modulo semantics Population semantics modulo symmetries Fragments Population semantics semantics Fragments Individual semantics modulo symmetries Individual semantics Jérôme Feret 21 June 2013
slide-174
SLIDE 174

Conclusion

  • A framework for reducing stochastic rule-based models.
  • We use:
∗ the sites the state of which are uncorrelated; ∗ the sites having the same capabilities of interactions.
  • Algebraic operators combine these abstractions.
  • We use backward bisimulations in order to prove statistical invariants,
we use them to reduce the dimension of the continuous-time Markov chains. Jérôme Feret 21 June 2013