Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Watching vs pushing
Watching: rovers that use autonomy mode succeed less often. Pushing: if we switch on autonomy mode for a rover, does it succeed more or less?
These have different answers. Operators turn autonomy on mostly on hard terrain, so watching mixes the effect of the mode with the effect of the terrain. Pushing (an intervention, written ) removes the operator’s choice. A causal graph tells us when we can compute the pushing answer from watching data alone.
You often can’t run a randomized experiment on a spacecraft or a deployed robot fleet. The back-door and front-door criteria tell you exactly which logged variables let you compute what an intervention would do, and when no amount of logged data can.
- 1. do(X = 1) means…
- 2. Can P(Y | X = 1) differ from P(Y | do(X = 1))?
- 3. A causal graph helps decide…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Intervention as graph surgery
deletes every arrow into and sets it to . The rest of the model is unchanged. By the truncated factorization,
The back-door criterion
A set satisfies the back-door criterion for if
- no node in is a descendant of , and
- blocks every path between and that starts with an arrow into .
Then
This is the adjustment formula from A5.3-1, now with a rule for choosing .
- 1. do(X = x) removes…
- 2. A back-door path starts with…
- 3. The back-door set may include descendants of X?
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.The front-door criterion
Sometimes the confounder is unobserved, but affects only through a mediator . If
- intercepts all directed paths from to ,
- there’s no unblocked back-door path from to , and
- all back-door paths from to are blocked by ,
then
The two pieces work separately. The effect of on is unconfounded. The effect of on is identified by back-door adjusting for . Chaining them gives the answer. An example is the effect of a perception upgrade (X) on mission success (Y), through detection rate (M), with unobserved site difficulty affecting both the choice to deploy and the outcome.
What isn’t identifiable
In the “bow” graph plus a hidden , with no mediator or instrument, is not identified. Different models fit the same observational data but give different interventional answers. You then need experiments, instruments (A5.3-6) or bounds (Manski, 1990).
- 1. The front-door criterion is useful when…
- 2. In the bow graph with hidden U, P(y|do(x)) is…
- 3. In the front-door formula, the inner sum adjusts for…
Level 3: Advanced
★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.Deriving back-door adjustment
In the mutilated graph , has the same distribution as before (none of its members are descendants of ). Since blocks every back-door path, ’s mechanism given is the same as observed: . Average over . ∎
Pearl’s do-calculus (1995)
For disjoint sets , where removes arrows into and removes arrows out of :
- Insert or delete observations: if in .
- Action/observation exchange: if in .
- Insert or delete actions: if in , where are the -nodes that aren’t ancestors of .
The rules are complete: an effect is identifiable iff these rules can remove every do (Shpitser and Pearl, 2006; Huang and Valtorta, 2006). The ID algorithm decides this automatically.
Front-door derivation sketch
(rule 2: no back door from X to M). (back-door with X). Then , because M fully mediates the effect. ∎
Exercise 3.1: Is {W} alone a back-door set in Z → X, Z → Y, W → X, W → Z, X → Y?
No: stays open. works: it blocks and . So does .
- 1. The do-calculus has how many rules?
- 2. The do-calculus is complete, meaning…
- 3. Rule 2 lets you replace do(z) with conditioning on z when…
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.A perception upgrade with hidden site difficulty
Operators chose where to deploy an upgraded detector (X) based on site difficulty, which they never logged (U). Difficulty also affects mission success (Y). But the upgrade affects success only through the detection rate (M), and M is logged. The front-door formula recovers the causal effect from logs alone. The naive comparison overstates it badly. When those assumptions fail (for example, if the upgrade also changes speed), the estimate is biased. Sensitivity analysis and a small randomized check are the honest next steps.
Interventional reasoning in AI, robotics and aerospace
- Model-based RL and planning are interventional: a world model must predict , not the logged of a confounded behaviour policy (Bareinboim, Forney and Pearl, 2015, on causal bandits; Lu et al., 2018).
- Transportability: carrying causal conclusions from a test range to a new site via selection diagrams (Pearl and Bareinboim, 2011).
- Root-cause analysis in microservices, plants and spacecraft telemetry uses interventional queries on causal graphs (Budhathoki et al., 2022).
- Explainable AI: interventional feature attributions (Janzing, Minorics and Blöbaum, 2020) vs observational Shapley values.
References
- J. Pearl (1995). “Causal diagrams for empirical research.” Biometrika, 82(4).
- J. Pearl (2009). Causality, 2nd ed. Cambridge University Press.
- I. Shpitser, J. Pearl (2006). “Identification of joint interventional distributions in recursive semi-Markovian causal models.” AAAI.
- Y. Huang, M. Valtorta (2006). “Pearl’s calculus of intervention is complete.” UAI.
- C. Manski (1990). “Nonparametric bounds on treatment effects.” American Economic Review, 80(2).
- J. Pearl, E. Bareinboim (2011). “Transportability of causal and statistical relations.” AAAI.
- E. Bareinboim, A. Forney, J. Pearl (2015). “Bandits with unobserved confounders: a causal approach.” NeurIPS.
- C. Lu, B. Schölkopf, J. M. Hernández-Lobato (2018). “Deconfounding reinforcement learning in observational settings.” arXiv:1812.10576.
- K. Budhathoki, L. Minorics, P. Blöbaum, D. Janzing (2022). “Causal structure-based root cause analysis of outliers.” ICML.
- D. Janzing, L. Minorics, P. Blöbaum (2020). “Feature relevance quantification in explainable AI: a causal problem.” AISTATS.