counterfactual reasoning
play

COUNTERFACTUAL REASONING Jonathan Laurent , Jean Yang (Carnegie - PowerPoint PPT Presentation

CAUSAL ANALYSIS OF RULE-BASED MODELS THROUGH COUNTERFACTUAL REASONING Jonathan Laurent , Jean Yang (Carnegie Mellon University), Walter Fontana (Harvard Medical School) CAUSAL ANALYSIS Some techniques have been developed to analyze the causal


  1. CAUSAL ANALYSIS OF RULE-BASED MODELS THROUGH COUNTERFACTUAL REASONING Jonathan Laurent , Jean Yang (Carnegie Mellon University), Walter Fontana (Harvard Medical School)

  2. CAUSAL ANALYSIS Some techniques have been developed to analyze the causal structure of rule-based models [Feret, Fontana and Krivine]. Intro S K.MR S.MR TF.K pK pTF ⇒ = TF/Kp TF.NP TF_in · · · They take advantage of the structure of the rules to: • slice simulation traces into minimal subsets of necessary events • highlight causal influences between non-concurrent events

  3. A MOTIVATING EXAMPLE K S Here is a toy Kappa model that represents Substrate Kinase one step of a phosphorylation cascade: @ rate b K S S K @ rate p S S K K @ fast_rate u S K S K @ slow_rate S u* K S K K @ rate K pk

  4. A MOTIVATING EXAMPLE Starting from the following initial mixture, how S K does rule p get triggered ? Initial mixture Here is a stochastic simulation of the system: init b u pk b p u* … Existing causal analysis techniques init b p would provide the following narrative: This seems wrong because it downplays the role of event pk . Indeed: Event p would probably not have happened had pk not happened, being prevented by an early unbinding event. Counterfactual

  5. A MOTIVATING EXAMPLE A better causal explanation for pk would look like this: Contributions init In this work, we make the following contributions: pK b • We propose a semantics for counterfactual statements in Kappa. u • We provide an algorithm to evaluate such statements e ffi ciently. • We show how inhibition arrows can be used p to explain counterfactual experiments.

  6. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process .

  7. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  8. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  9. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  10. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  11. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  12. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  13. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  14. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  15. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  16. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  17. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  18. A MONTE CARLO SEMANTICS FOR KAPPA A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk

  19. SIMULATING MODULO AN INTERVENTION A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk An intervention ɩ is defined as a predicate that specifies what events should be blocked. Let’s simulate again, blocking the triggering of pk .

  20. SIMULATING MODULO AN INTERVENTION A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk An intervention ɩ is defined as a predicate that specifies what events should be blocked. Let’s simulate again, blocking the triggering of pk .

  21. SIMULATING MODULO AN INTERVENTION A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk × An intervention ɩ is defined as a predicate that specifies what events should be blocked. Let’s simulate again, blocking the triggering of pk .

  22. SIMULATING MODULO AN INTERVENTION A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk × An intervention ɩ is defined as a predicate that specifies what events should be blocked. Let’s simulate again, blocking the triggering of pk .

  23. SIMULATING MODULO AN INTERVENTION A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk × An intervention ɩ is defined as a predicate that specifies what events should be blocked. Let’s simulate again, blocking the triggering of pk .

  24. SIMULATING MODULO AN INTERVENTION A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk × An intervention ɩ is defined as a predicate that specifies what events should be blocked. Let’s simulate again, blocking the triggering of pk .

  25. SIMULATING MODULO AN INTERVENTION A potential event is given by a rule r along with an injective mapping from the agents of r to global agents. To every such potential event, we associate a Poisson process . b Current state p u S K u* pk × An intervention ɩ is defined as a predicate that specifies what events should be blocked. Let’s simulate again, blocking the triggering of pk .

  26. COUNTERFACTUAL STATEMENTS If we write: Random variable corresponding to a simulation trace T Simulation trace modulo intervention ɩ ˆ T ι The probability that a predicate Ψ would have been true on trace τ had intervention ɩ happened is defined as: � � ψ [ ˆ T ι ] | T = τ P In order to estimate this quantity, we sample trajectories from ˆ T ι | { T = τ } using a variation of the Gillespie algorithm: the counterfactual simulation algorithm — or co-simulation algorithm .

  27. CO-SIMULATION ALGORITHM Given a reference trace and an intervention ɩ , the co-simulation algorithm produces a random counterfactual trace that gives an account of what may have happened had ɩ occurred. Example Ref. CF On the left, we show a run of the co-simulation init init algorithm, the intervention consisting in pk blocking rule pk . × b b On performances : on average, co-simulating a u · trace is about 3 times slower than simulating it p in the first place. ·

  28. INHIBITION ARROWS init We can explain the di ff erences between a reference trace and a corresponding pK b counterfactual trace using inhibition arrows. u Ref. CF p init init pk Theorem × b b Any event that is proper to the factual trace is connected by an event that is directly blocked u · by the intervention through a path containing p an even number of inhibition arrows. ·

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend