Hanqing Li Hanqing Li 李汉青


D-separation is the graphical criterion that translates paths in a DAG into conditional-independence consequences. It handles the asymmetric behavior of colliders and is the combinatorial engine behind adjustment criteria and do-calculus.

Active paths

Definition. A path is active given \(Z\subseteq V\) if:

  1. every noncollider on the path is outside \(Z\);
  2. every collider on the path has itself or a descendant in \(Z\).
Sets \(X\) and \(Y\) are d-separated by \(Z\), written \(X\perp_dY\mid Z\), if no path from \(X\) to \(Y\) is active given \(Z\).

Examples. In \(X\to M\to Y\), the path is active marginally and blocked by \(M\). In \(X\leftarrow C\to Y\), adjustment for \(C\) blocks confounding. In \(X\to S\leftarrow Y\), the path is blocked marginally and opened by conditioning on \(S\) or a descendant of \(S\).

Global Markov theorem

Theorem. If a distribution factorizes according to a DAG \(G\), then \[ X\perp_dY\mid Z\quad\Longrightarrow\quad X\perp\!\!\!\perp Y\mid Z. \]

Proof outline. Restrict to the ancestral graph of \(X\cup Y\cup Z\), because nonancestors integrate out. Moralize this ancestral graph by connecting co-parents and dropping arrowheads. In this moral graph, d-separation is equivalent to ordinary graph separation. The DAG factorization induces a clique factorization of the ancestral moral graph; summing products over components separated by \(Z\) yields conditional factorization of \(X\) and \(Y\).

The ancestral moralization algorithm

Proposition. To test \(X\perp_dY\mid Z\):

  1. retain the ancestors of \(X\cup Y\cup Z\);
  2. join every pair of nodes with a common child;
  3. replace directed edges by undirected edges;
  4. remove \(Z\) and check whether \(X\) and \(Y\) remain connected.

Proof outline. Retaining ancestors ensures that every collider activated by \(Z\) is represented. Moral edges connect the two sides of each activated collider. Noncollider conditioning removes vertices from otherwise traversable paths. This gives a bijective correspondence between active trails in the DAG and paths avoiding \(Z\) in the moral ancestral graph.

Bayes-ball propagation

Bayes-ball is a linear-time message-passing algorithm for d-separation. A message arriving from a parent or child propagates according to whether the current node is observed and whether it has an observed descendant. Its rules are simply the chain/fork/collider activation conditions encoded locally. It is preferable to manual path enumeration in large graphs.

Conditioning on a collider descendant

Example. In \(X\to C\leftarrow Y\) and \(C\to D\), conditioning on \(D\) opens the path between \(X\) and \(Y\). The value of \(D\) supplies information about \(C\); once \(C\) is partially learned, observing \(X\) changes what is inferred about \(Y\), even though \(X\) and \(Y\) were marginally independent.

Minimal separators and adjustment

Definition. A d-separator \(Z\) is minimal for \(X,Y\) if no proper subset of \(Z\) d-separates them.

Minimality does not imply causal admissibility. A set can d-separate treatment and outcome only after conditioning on a descendant of treatment, thereby blocking part of the effect. Adjustment criteria first modify the graph to isolate back-door paths and then prohibit descendants or forbidden nodes.

D-separation versus statistical independence

Unfaithful cancellation. Let \(X\sim N(0,1)\), \(M=X+\varepsilon_M\), and \(Y=M-X+\varepsilon_Y\), with independent centered Gaussian noises. The DAG has \(X\to M\to Y\) and \(X\to Y\), so \(X\) and \(Y\) are not d-separated. Yet \(Y=\varepsilon_M+\varepsilon_Y\) is independent of \(X\). D-separation lists independences guaranteed for every Markov distribution, not every accidental independence of one parameter value.

Latent projections and m-separation

In acyclic directed mixed graphs, bidirected edges represent latent common causes. The corresponding criterion is m-separation: a path is active under the same collider/noncollider logic, but arrowheads from bidirected edges matter when deciding collider status. Back-door and instrumental-variable questions with hidden variables often require this extended graph rather than an observed-variable DAG.

Selection diagrams

Conditioning on inclusion in a dataset can be represented by a selection node \(S\). If both treatment and outcome affect \(S\), analyzing only \(S=1\) opens a collider path. D-separation makes this selection bias visible and clarifies which auxiliary population information would be needed to transport back to the target population.

A path-analysis checklist

For each treatment-outcome path, mark arrowheads at every interior node, classify colliders before looking at the conditioning set, remove paths blocked by unconditioned colliders, and then check whether conditioning opens any collider or blocks any noncollider. Separating causal and noncausal paths at the outset prevents adjustment from inadvertently removing the effect of interest.