CausalSmith · seminar slides
Recovering Latent Causes from One Intervention Each
One experiment per hidden variable can reveal the causal graph and recover the variables from a nonlinear mixture.
Motivation
We observe a mixture of hidden causal variables and want to recover both the variables and their directed acyclic graph (DAG).
- Ordinary conditional-independence discovery starts with the causal variables already measured.
- Here, an unknown nonlinear observation map mixes those variables together.
- We observe an observational law P0 and intervention laws P1,…,Pn: one perfect intervention per hidden variable, with unknown targets.
- A perfect intervention replaces its target’s conditional distribution by a distribution independent of its parents.
von Kügelgen et al. (2023) establish identification with one intervention per variable in two dimensions; their arbitrary-dimensional result uses two paired interventions per variable. Wendong et al. (2023) use one intervention per variable with the graph and targets supplied.
Can one intervention per variable recover coordinates, targets and the graph in arbitrary dimension?
Key Idea
Use each environment’s likelihood ratio as an observable scalar score.
Ri=dP0dPi,Li=logRi,i∈[n],
Here n is the number of hidden variables and [n]={1,…,n}. The ratio Ri measures relative likelihood in environment i versus observation; Li is its logarithm.
Compare the distribution of the same score Ri in environments j and 0. Call their Gaussian maximum mean discrepancy (MMD) Dji.
Dji is nonnegative and equals zero exactly when those two scalar distributions agree.
Changing score distributions reveal ancestral order. Conditional percentiles along that order recover individual variables; observational conditional independence then selects their parents.
This succeeds under smooth positive cube support, shared invertible mixing, active parents, fixed score monotonicity signs and separation of ancestral covers. That separation condition is generic within each fixed-sign class.
Example
All three variables take values in [0,1]. Let 1→2, with variable 3 isolated, identity observation map and environment i targeting variable i.
Write x=V1, y=V2 and h(z)=2z−1. Variables 1 and 3 have uniform observational densities.
p2(y∣x)=1+0.1h(x)h(y),
The child’s density changes with its parent.
qi(z)=exp(4)−14exp(4z),
Every intervention replaces its target’s mechanism by this normalized density, which favors larger values.
Although R2=q2(y)/p2(y∣x) depends on both variables, intervention 1 changes its distribution.
informal · Theorem T-1 In this identity-mixing, identity-target example, the smooth positive fixed-sign construction satisfies 1000000005<D12(Wsp).
Here Wsp denotes these environment laws. Positive discrepancy reveals that variable 1 precedes variable 2.
Model
The hidden vector V=(V1,…,Vn) lies in [0,1]n. We observe X=f(V), with the same unknown invertible map f in every environment.
The observational law factors over the latent DAG G:
P0=f#(p0(v)dv),p0(v)=i=1∏npi(vi∣vpaG(i)),
Here pi is variable i’s conditional density, paG(i) is its parent set, and f# means observing a latent draw through f.
Environment e targets variable π(e), where π is an unknown permutation:
Pe=f#(pπ(e)(v)dv),pπ(e)(v)=qπ(e)(vπ(e))ℓ=π(e)∏pℓ(vℓ∣vpaG(ℓ)).
Only the target’s factor changes, to its parent-independent intervention density qπ(e).
Assumptions
- Smooth positive support: each pi and qi is a positive normalized C3 density on its closed cube. All environments overlap.
- Shared mixing: f and its inverse are C2; measurement changes cannot explain differences between environments.
- Causal minimality: each parent changes its child’s observational conditional distribution after conditioning on the other parents.
- Fixed ratio signs: with parents fixed, each target’s log-ratio is strictly monotone in that target.
si∂vilog{qi(vi)/pi(vi∣vpaG(i))}>0
The prescribed sign si∈{−1,1} specifies decreasing or increasing behavior throughout the cube.
In our example, all signs are positive: fixing x, the score for variable 2 increases with y. Monotonicity will let a score percentile become a variable percentile.
Main Result
An ancestral cover is an ancestor–descendant pair with no variable between them in the ancestor order.
Cover separation: require Dji>0 whenever target π(j) ancestrally covers target π(i).
informal · Theorem T-3 Under smooth positive cube support, shared C2 invertible mixing, causal minimality, one perfect intervention per node, fixed ratio signs and cover separation, coordinates, targets and the DAG are identified up to separate C2 changes and relabeling.
Form the observable graph
HD={j→i:j=i and Dji>0}.
An arrow means intervention j changes score i’s distribution. Let Gπ be the latent DAG written in environment labels.
TC(HD)=TC(Gπ).
Transitive closure, TC, adds an arrow for every directed path. Thus observable score comparisons recover exactly the ancestor order; subsequent rank and pruning steps recover coordinates and direct parents.
Removing the Observation Map
The shared observation map cancels from the likelihood ratio:
Re(f(v))=pπ(e)(vπ(e)∣vpaG(π(e)))qπ(e)(vπ(e)).
The numerator is the target’s intervention density; the denominator is its original conditional density.
The common change-of-variables factor and every unchanged mechanism cancel. We therefore obtain a function of the target and its parents without first recovering the latent coordinates.
In our example, this gives R2=q2(y)/p2(y∣x).
The score still mixes the child with its parents. What can comparing its distributions reveal?
Ancestral Order
For j=i, compare score Ri’s distribution under intervention j with its observational distribution.
- If π(j) is not an ancestor of π(i), intervention j leaves the joint distribution of target π(i) and its parents unchanged.
- The ratio depends only on those variables, so its distribution also stays unchanged: Dji=0.
- Every detected arrow consequently points from an ancestor to a descendant.
- Cover separation supplies the links needed to recover all ancestry through paths.
A topological order places each arrow’s source before its destination. Since the ancestor relations agree, every topological order of HD respects the latent DAG.
In our example, D12>0 puts variable 1 before variable 2; isolated variable 3 can appear anywhere.
Conditioning on Predecessors
A score is not yet an individual coordinate: its denominator depends on parents. An unconditional percentile generally retains that dependence.
Choose a recovered topological order. Let Bi contain all environment labels preceding i, and LBi their log-score vector.
- The first score depends only on its own variable and is strictly monotone.
- Each later score depends on its own variable and earlier parents.
- Once earlier variables are determined, strict monotonicity uniquely determines the next variable from its score.
The predecessor score vector therefore determines all predecessor latent variables. This successive inversion is why the ordering matters.
Conditioning on LBi fixes every parent of target π(i), using observable quantities.
In our example, conditioning on L1 fixes V1=x.
Conditional Ranks
Let Ci be the conditional cumulative distribution function of Li given LBi, computed under its own intervention law Pi.
Ui=Ci(Li∣LBi).
The recovered coordinate Ui is the current score’s percentile among intervention draws with the same predecessor scores.
Under Pi, the target has density qπ(i), independently of its predecessors. Conditioning fixes its parents; monotonicity then converts the score percentile into a target percentile:
Ui(f(v))={Qπ(i)(vπ(i)),1−Qπ(i)(vπ(i)),sπ(i)=1,sπ(i)=−1.
Here Qa(z)=∫0zqa(u)du is variable a’s intervention distribution function.
The parent dependence disappears, and environment i is aligned with coordinate Ui.
In our example, U2=Q2(V2): conditioning fixes x, and ranking under intervention 2 removes x from the recovered coordinate.
Parent Pruning
The score graph identifies ancestors. Observational conditional independence selects the direct parents.
For coordinate i, search predecessor subsets A⊆Bi satisfying
Ui⊥⊥P0UBi∖A∣UA.
Here UA denotes the coordinates indexed by A. The condition says they explain all remaining dependence between Ui and its predecessors under observation.
- The model’s factorization makes the true parent set satisfy this condition.
- Positivity and causal minimality make it the unique inclusion-minimal satisfying set.
- Separate invertible coordinate changes preserve conditional independence.
In our example, variable 1 remains a parent of variable 2; isolated variable 3 is removed if it precedes variable 2.
Within the same structural class and prescribed signs, equal environment laws imply separate C2 coordinate changes and simultaneous relabeling of graph and targets.
Cancellation
Causal minimality alone does not guarantee score-law separation.
Keep the example’s graph, interventions and uniform root densities, but replace the child mechanism by
h(y)=2y−1,H(x)=exp(4)−1exp(4x)−1−x,p2(y∣x)=1+0.1H(x)h(y).
The function H replaces the original affine parent effect. The edge remains active, and smooth positivity and fixed signs still hold.
Yet the entire distribution of R2 agrees between environments 0 and 1:
D12(Wcan)=0.
Here Wcan denotes these modified environment laws.
Cover separation is therefore an additional condition. Why can arbitrarily small admissible changes remove such cancellation?
A Separating Endpoint
Fix any ancestral cover j→i, using latent labels. Every cover is a direct edge.
Isolate that edge in a comparison mechanism:
pℓsp(v)=⎩⎨⎧1+101h(reflect(sj,vj))h(reflect(si,vi)),1,ℓ=i,ℓ=i,qℓsp(z)=exp(4)−14exp(4reflect(sℓ,z)),
The superscript sp denotes this sparse endpoint. Recall h(z)=2z−1; reflect(s,z) is z for positive sign and 1−z for negative sign.
All other observational mechanisms are uniform. Integrating out their coordinates leaves exactly the example’s two-variable construction, with reflections matching the prescribed signs.
Intervention j replaces the uniform parent density by the exponential tilt. This changes the weighting of the reciprocal child density in the score’s second moment.
The example’s certificate gives observational minus intervened second moment greater than 100003. Thus the endpoint separates this arbitrary cover.
Generic Separation
A fixed-sign stratum is the class of mechanisms with a fixed DAG and signs satisfying smooth positivity, causal minimality and strict score monotonicity.
Move from any original mechanism toward the edge-specific endpoint:
pℓt(v)=(1−t)pℓ(v)+tpℓsp(v),qℓt(z)=(1−t)qℓ(z)+tqℓsp(z),ℓ∈[n].
Here t is the mixing weight.
- Convex mixtures preserve normalization, positivity and smoothness.
- For sufficiently small t, strict derivative signs persist, and each original active parent remains active. These nearby mechanisms stay in the original stratum, even though the endpoint suppresses other edges.
- The difference in score second moments is analytic in t and nonzero at the endpoint. Its zeros are isolated, so arbitrarily small admissible changes separate the chosen edge.
- Separation is stable under small changes. Intersecting the finitely many open dense edge-separation sets separates every cover.
informal · Theorem T-2 For every finite DAG, target permutation and nonempty fixed-sign stratum, mechanisms separating every ancestral cover form an open dense set in the relative C2 topology.
“Open” means separation survives small admissible changes; “dense” means separating mechanisms approximate every admissible mechanism. Closeness controls densities and their first two derivatives.
Discrepancy Scale
Gaussian MMD compares average features of the scalar scores. Following the kernel comparison of Gretton et al. (2012), use unit-length features Φ(r) whose inner products equal k(a,b)=exp(−(a−b)2).
For environment family W, the population discrepancy is
Dji(W)=∫Φ(r)d((Ri)#P0)(r)−∫Φ(r)d((Ri)#Pj)(r)H.
Here (Ri)#Pe is score i’s distribution in environment e; H is the feature space. This is unsquared MMD.
Sample splitting fits Ri on training data and compares it on independent evaluation data:
Dji(ω;U)=Nj1r=1∑NjΦ(Ri(Xr(j)(ω)))−N01r=1∑N0Φ(Ri(Xr(0)(ω)))H.
Here Xr(e) is evaluation draw r in environment e, Ne its sample size, ω the sample realization, and U specifies the feature map. The norm again gives unsquared MMD, with each environment normalized by its own sample size.
Confidence Edges
Assume independent observations within each environment and independence of the complete training and evaluation folds.
With probability at least 1−η, require every fitted ratio’s integrated absolute error under every environment law to be at most aN(η), simultaneously.
The confidence radius on the unsquared MMD scale is
εN(α,η)=22aN(η)+min0≤e≤nNe2{1+2log(n(n+1)/α)}.
Here α,η∈(0,1) are evaluation and first-stage failure levels. The first term carries ratio-estimation error; the second controls simultaneous evaluation noise.
Select arrows with positive lower confidence bounds:
H={j→i:Dji−εN(α,η)>0}.
The graph H records the selected ancestral discoveries.
informal · Theorem T-4 In the positive smooth shared-mixing perfect-intervention model with independent sample splitting and simultaneous first-stage L1 accuracy of probability at least 1−η, all selected arrows are ancestral with probability at least 1−α−η.
If every cover also satisfies 2εN(α,η)<Dji, the selected graph recovers the entire ancestor order by transitive closure with that same probability guarantee.
Takeaways
- One perfect intervention per scalar variable identifies coordinates, targets and the DAG under smooth positive cube support, shared invertible mixing, causal minimality, fixed ratio signs and cover separation. Separation is open dense within each nonempty fixed-sign stratum.
- Likelihood ratios cancel the observation map; their changing laws reveal order. Conditioning fixes parents, and percentiles under each target’s own intervention recover individual coordinates. Observational conditional independence then selects direct parents.
- Independent evaluation data turn fitted-ratio comparisons into simultaneous confidence edges when first-stage ratio error is controlled; covers exceeding twice the confidence radius yield full ancestor-order recovery.
Appendix: Generic Cover Separation
Ancestral-cover separation is open and dense within every nonempty fixed-sign mechanism stratum.
Let n be the ambient number of scalar latent variables. Assume:
- (Finite labeled DAG.) G is a finite labeled DAG on [n].
- (Sign stratum.) s is a sign vector with coordinates in {−1,1}, and the stratum ΘG,s of Definition P-1 is nonempty.
- (Target permutation.) π is a permutation of [n].
Let VG,s,π be the direct-edge separation set of Definition P-2, and let UG,s,π be the ancestral-cover separation set of Definition P-3 formed with the Gaussian feature map ϕ(a)=k(a,⋅) for k(a,b)=exp{−(a−b)2}. Then VG,s,π is open and dense in ΘG,s, and VG,s,π⊆UG,s,π. Moreover, UG,s,π is open and dense in ΘG,s, and its complement in ΘG,s is meagre, closed, and nowhere dense. If G has no directed edges, then VG,s,π=ΘG,sandUG,s,π=ΘG,s.
Appendix: Exact Ratio Decoding
The environment laws recover ancestor relations, latent coordinates, intervention alignment and exact parents, with uniqueness up to componentwise smooth changes and relabeling.
Fix n, a finite labelled DAG G on [n], and a sign vector s∈{−1,+1}[n]. Let θ=(pi,qi)i∈[n] be a mechanism on G. Let world assign an observed world to every mechanism on G, and write W=world(θ), with shared mixing map f, inverse map f−1, target permutation π, observed laws (P0,…,Pn), likelihood ratios Ri=dPi/dP0, and log-ratios Li=logRi. Assume:
- (Smooth positive mechanisms.) θ satisfies Assumption A-1.
- (Causal minimality.) θ satisfies Assumption A-14.
- (Shared mixing.) The maps f and f−1 in W satisfy Assumption A-3.
- (One intervention per node.) The laws (P0,…,Pn), ratios (Ri)i∈[n], and target permutation π in W satisfy Assumption A-4.
- (Own-derivative signs.) θ satisfies Assumption A-5 with sign vector s.
- (Gaussian cover separation.) The stratum point θ∈ΘG,s belongs to the cover-separated set of Definition P-3 with the Gaussian unit-norm feature map associated with k(a,b)=exp{−(a−b)2} and target permutation π; equivalently, every transported ancestral cover has strictly positive population Gaussian-MMD discrepancy.
Let D be the population decoder of Definition P-7, let HD={j→i:j=i and Dji>0}, and let Gπ be the environment-label DAG. Then TC(HD)=TC(Gπ). The ordering selected by D is a topological ordering of HD. For every topological ordering of HD, with predecessor set Bi for node i, and every i∈[n], the selected conditional CDF Ci(t∣LBi) is a continuous version of the conditional ratio CDF. For each such i, there exists a continuous version C such that, for every latent point v in the latent cube, C(t∣LBi(f(v)))=Cθ,π(i)str(t∣v). Every continuous version agrees with the selected Ci on the observed conditional-ratio support, and the selected version satisfies the same structural identity at every mixed latent point f(v). Consequently, for every v in the latent cube, Ui(f(v))={Qπ(i)(vπ(i)),1−Qπ(i)(vπ(i)),sπ(i)=1,sπ(i)=−1. For every topological ordering of HD and every i∈[n], π−1(paG(π(i)))⊆Bi. Under P0, for every such ordering, every i∈[n], and every A⊆Bi, Ui⊥⊥UBi∖A∣UA⟺π−1(paG(π(i)))⊆A. Thus, for every such ordering and every i, the set π−1(paG(π(i))) is admissible and is the unique inclusion-minimal admissible parent set. The observed laws are coherent with W, and the parent-pruned graph returned by D is exactly Gπ. For any DAG G′ on [n], mechanism θ′, and observed world W′ satisfying Assumption A-1, Assumption A-14, Assumption A-5 with the same sign vector s, Assumption A-3, and Assumption A-4, equality between the observed environment-law family of W′ and the observed environment-law family of W implies that W′ is componentwise C2-equivalent to W up to the simultaneous relabeling encoded by the target permutations. When n=2, every edge j→i of G has strictly positive observed Gaussian-MMD discrepancy, 0<Dπ−1(j),π−1(i). Within the positive C3 compact-cube, shared C2-mixing, causal-minimal regime, D identifies the latent representation and structure from one perfect intervention per node, supplies the continuous law-separation witness used by vonKugelgenEtAl2023UnknownInterventions (Theorem~3.2) when n=2, and recovers the graph, topological order, and intervention alignment relative to WendongEtAl2023CauCA (Theorem~4.2) and YaoEtAl2025InvariancePrinciple (Corollary~{D}.1).
Appendix: Simultaneous Confidence Edges
A simultaneous first-stage ratio-error guarantee yields familywise-valid ancestral discoveries and order recovery when every cover clears the confidence radius.
Fix n≥1, a labeled DAG G on [n], a sign vector s, a mechanism θ, an observed world with target permutation π, and a sample-split experiment S. Suppose:
- (Structural model.) The mechanism, shared mixing representation, and one-intervention-per-node design satisfy Assumption A-1, Assumption A-3, Assumption A-4.
- (Sample splitting.) The training and evaluation folds satisfy Assumption A-6, and each environment has evaluation sample size Ne≥1.
- (Levels.) The familywise evaluation level and first-stage failure level satisfy α,η∈(0,1).
- (First-stage event.) With Efs={ω:∀i∈[n], ∀e∈{0,…,n}, ∫Ri(x)−Ri(x)dPe(x)≤aN(η)}, where the displayed integrals are finite, the training-fold event obeys Pr(Efs)≥1−η.
Let EMMD be the simultaneous evaluation event EMMD={ω:∀j=i, Dji(ω)−Dji≤εN(α,η)}. Then, conditionally on the training fold and on Efs, this event has probability at least 1−α: for every training-fold measurable event B, (1−α)Pr(Efs∩B)≤Pr(EMMD∩Efs∩B). Consequently, Pr(EMMD)≥1−α−η. Moreover, for every ω∈EMMD, every selected arrow j→i of the sample-split confidence graph H from Definition P-8 satisfies that π(j) is an ancestor of π(i) in G. If, in addition, 2εN(α,η)<Djifor every j,i such that π(j)⋖Gπ(i), then for every ω∈EMMD, TC(H(ω))=TC(Gπ).