d-separation
Definition
d-separation (directional separation) is a graphical criterion in a DAG for determining whether two sets of variables are conditionally independent given a third set.
Formal Definition:
In a DAG , if d-separates and :
every path between and is blocked by .
Path Blocking Rules
Three Elementary Structures
| Structure | Name | Blocked by ? |
|---|---|---|
| Chain | blocked if | |
| Fork | blocked if | |
| Collider | blocked if and |
Blocking Rule Summary
A path is blocked by if:
- A non-collider (chain or fork) intermediate node is in
- A collider intermediate node and its descendants are not in
Intuitive Understanding
Core idea:
d-separation = “blocking the flow of information”
Fork (Common Cause):
A ← B → C
- Given B: A, C independent (confounding removed)
- Not given B: A, C associated (via B)
Chain (Mediation):
A → B → C
- Given B: A, C independent (mediator blocked)
- Not given B: A, C associated (causal path)
Collider (Common Effect):
A → B ← C
- Not given B: A, C independent (default blocked)
- Given B: A, C associated! (collider bias)
d-separation Algorithm
Input
- DAG
- Sets , ,
Procedure
For each path π between X and Y:
blocked = False
For each node B on path π (excluding endpoints):
If B is a non-collider on π:
If B ∈ Z:
blocked = True
break
Else (B is a collider on π):
If B ∉ Z and De(B) ∩ Z = ∅:
blocked = True
break
If not blocked:
return "X and Y are NOT d-separated by Z"
return "X and Y are d-separated by Z"
Faithfulness Assumption
Markov Property
is Markov relative to DAG :
d-separation in the graph → probabilistic independence
Faithfulness
is faithful to DAG :
probabilistic independence → d-separation in the graph
Combined (Perfect Map):
Examples
Example 1: Simple Chain
X → Y → Z
- ? Yes (Y blocks the chain)
- ? No (path open)
Example 2: Fork (Confounding)
C
↙ ↘
X Y
- ? Yes (C blocks the fork)
- ? No (confounding path open)
Example 3: Collider
X → C ← Y
- ? Yes (collider blocks by default)
- ? No (conditioning opens collider)
Example 4: Complex Graph
A
↙ ↘
B C
↘ ↗
D
-
? Check all paths:
- : Open
- Not d-separated
-
?
- : Blocked (B ∈ Z)
- : Open
- Not d-separated
-
?
- : Blocked
- : Blocked
- d-separated!
d-separation and Causal Inference
Back-door Criterion
The Back-door Criterion is based on d-separation:
is sufficient to identify the causal effect of ⟺
- d-separates every back-door path between and
Adjustment Formula
Determine the adjustment set via d-separation:
Valid when d-separates the back-door paths.
Extensions
m-separation (Mixed Graphs)
Mixed graphs that include bidirected edges:
- MAG (Maximal Ancestral Graph)
- PAG (Partial Ancestral Graph)
σ-separation (Cyclic Graphs)
An extension for cyclic graphs:
- Considers Strongly Connected Components (SCC)
- Can be reduced to d-separation
Related Concepts
- DAG - The graph on which d-separation is defined
- Confounder - Fork structure (controlled via d-separation)
- Collider - Inverted fork (conditioning opens the path)
- Back-door Criterion - d-separation-based identification
- Markov Equivalence Class - Graphs with the same d-separations
- SCM - Structural Causal Model
- Faithfulness - The d-separation ↔ CI correspondence assumption
- σ-separation - Cyclic-graph extension
References
- Pearl, J. (1988). Probabilistic Reasoning in Intelligent Systems
- Pearl, J. (2009). Causality
- yaoSurveyCausalInference2021 - d-separation in causal discovery