Verification and search algorithms for causal DAGs
Abstract
We study two problems related to recovering causal graphs from interventional data: (i) verification , where the task is to check if a purported causal graph is correct, and (ii) search , where the task is to recover the correct causal graph.
For both, we wish to minimize the number of interventions performed.
For the first problem, we give a characterization of a minimal sized set of atomic interventions that is necessary and sufficient to check the correctness of a claimed causal graph.
Our characterization uses the notion of covered edges , which enables us to obtain simple proofs and also easily reason about earlier known results.
We also generalize our results to the settings of bounded size interventions and node-dependent interventional costs.
For all the above settings, we provide the first known provable algorithms for efficiently computing (near)-optimal verifying sets on general graphs.
For the second problem, we give a simple adaptive algorithm based on graph separators that produces an atomic intervention set which fully orients any essential graph while using O (log n ) times the optimal number of interventions needed to verify (verifying size) the underlying DAG on n vertices.
This approximation is tight as any search algorithm on an essential line graph has worst case approximation ratio of Ω(log n ) with respect to the verifying size.
With bounded size interventions, each of size ≤ k , our algorithm gives an O (log n · log k ) factor approximation.
Our result is the first known algorithm that gives a non-trivial approximation guarantee to the verifying size on general unweighted graphs and with bounded size interventions.
Introduction
Causal inference has long been an important concept in various fields such as philosophy [Rei56, Woo05, ES07], medicine/biology/genetics [KWJ + 04, SC17, RHT + 17, POS + 18] and econometrics [Hoo90, RW06].
Recently, there has also been a growing interest in the machine learning community to use causal inference techniques to improve generalizability to novel testing environments (e.g. see [GUA + 16, LKC17, ABGLP19, Sch22] and references therein).
Under the assumption of causal sufficiency, where there is no unobserved confounders or selection bias, causal inference using observational data has been extensively studied and many algorithms such as PC [SGSH00] and GES [Chi02] have been proposed.
These algorithms typically recover a causal graph up to its
Markov equivalence class and it is known to be fundamentally impossible to learn causal relationships solely based on observational data.
To overcome this issue, one either adds data modeling assumptions (e.g. see [SHHK06, PB14, MPJ + 16]) or performs interventions to obtain interventional data (see Section 2.1 for a literature review).
In our work, we study the causal discovery problem via interventions.
As interventions often correspond to real-world experimental trials, they can be costly and it is of practical importance to minimize the number or cost of interventions.
In this work, we consider ideal interventions (i.e. hard interventions with infinite samples 2 ) to recover causal graphs from its Markov equivalence class – the Markov equivalence class (MEC) of G , denoted by [ G ] , is the set of graphs that encode the same conditional distributions and it is known that any MEC [ G ] can be represented by a unique partially oriented essential graph E ( G ) .
While ideal interventions may not always be possible in practice, they serve as a first step to understand the verification and search problems.
Such interventions give us a clean graph-theoretic way to reason and identify arc directions in the causal graph G
=
( V, E ) .
With these interventions, it is known that intervening on a set S ⊆
V allows us to infer the edge orientation of any edge cut by S and V \ S [Ebe07, HEH13, HLV14, SKDV15, KDV17].
Using the ideal interventions, we solve the verification and search problems.
The search problem is the traditional question of finding a minimum set of interventions to recover the underlying ground truth causal graph.
As for the verification problem , consider the following scenario:
Suppose we have performed a observational study to obtain a MEC and consulted an expert about the identity of the ground truth causal graph.
The question of verification involves testing if the expert is correct using the minimal number of interventional studies.
Definition 1 (Search problem) .
Given the essential graph E ( G ∗ ) of an unknown causal graph G ∗ , use the minimal number of interventions to fully recover the ground truth causal graph G ∗ .
Definition 2 (Verification problem) .
Given the essential graph E ( G ∗ ) of an unknown causal graph
G ∗ and an expert’s graph G ∈
[ G ∗ ] , use the minimal number of interventions to verify G ?
=
G ∗ .
To solve both these problems, we compute verifying sets (see Definition 4).
A verifying set is a collection of interventions that fully orients the essential graph.
Note that the minimum size/cost verifying set serves as a natural lower bound for both the search and verification problems.
One of our key contributions is to efficiently compute these verifying sets for a given causal graph.
Contributions We study the problems of verification and search for a causal graph from its MEC using ideal interventions.
In our work, we make standard assumptions such as the Markov assumption, the faithfulness assumption and causal sufficiency [SGSH00].
Verification : We provide the first known efficient algorithms for computing minimal sized atomic verifying sets and near-optimal bounded size verifying sets (that use at most one more intervention than optimal) on general graphs.
When vertices have additive interventional costs according to a weight function w : V → R , we give efficient computation of verifying sets I that minimizes α · w ( I ) + β · |I| .
Our atomic verifying sets have optimal cost and bounded size verifying sets incur a total additive cost of at most 2 β more than optimal.
To achieve these results, we prove properties about covered edges and give a characterization of verifying sets as a separation of unoriented covered edges in the given essential graph.
Using our covered edge perspective, we show that the universal lower bounds of [SMG + 20, PSS22] are not tight and give a simple proof recovering the verification upper bound of [PSS22].
Adaptive search : We consider adaptive search algorithms which produce a sequence of interventions one-at-a-time, possibly using information gained from the outcomes of earlier chosen interventions.
Building upon the lower bound of [SMG + 20], we establish a stronger (but not computable) lower bound to verify a causal graph.
This further implies a lower bound on the minimum interventions needed by any adaptive search algorithm.
We also provide an adaptive search algorithm (based on graph separators for chordal graphs) and use our lower bound to prove that our approach uses at most a logarithmic multiplicative factor more interventions than a minimum sized verifying set of the true underlying causal graph.
Outline Section 2 introduces notation and preliminary notions, as well as discuss some known results on ideal interventions.
We give our results in Section 3 and provide an overview of the techniques used in Section 4.
We discuss our experimental results in Section 5.
Full proofs, side discussions, and source code/scripts are given in the
Preliminaries and related work
For any set A , we denote its powerset by 2 A .
We write { 1 , . . . , n } as [ n ] and hide absolute constant multiplicative factors in n using asymptotic notations O ( · ) , Ω( · ) , and Θ( · ) .
Throughout, we use G ∗ to denote the (unknown) ground truth DAG and we only know its essential graph E ( G ∗ ) .
We say that a randomized algorithm for a graph on n vertices succeeds with high probability in n when the failure probability decays quickly in the form of n − c , for some constant c > 1 .
Graph notions
We study partially directed graphs G =
( V, E, A ) on | V | = n vertices with unoriented edges E and oriented arcs A .
Any possible edge between two distinct vertices u, v ∈ V is either undirected, oriented in one direction, or absent in the graph.
We write u ∼ v if these vertices are connected (either through an unoriented edge or an arc) in the graph and u ̸∼ v to indicate the absence of any edge/arc connection.
If ( u, v ) ∈ A or ( v
, u ) ∈ A , we write u → v or u ← v respectively.
When
E = ∅ , we say that the graph is fully oriented.
For any graph G , we use V ( G ) , E ( G ) , A ( G ) to denote its vertices, unoriented edges and oriented arcs.
For any subset of vertices V ′ ⊆ V , G [ V ′ ] denotes the vertex-induced subgraph on V ′ .
Similarly, we define G [ A ′ ] and G [ E ′ ] as arc-induced and edge-induced subgraphs of G for A ′ ⊆
A and E ′ ⊆
E respectively.
For an undirected graph G , ω ( G ) refers to the size of its maximum clique and χ ( G ) refers to its chromatic number.
For any vertex v ∈ V in a directed graph, Pa ( v ) ⊆
V denotes the parent set of v and pa ( v ) denotes the vector of values taken by v ’s parents.
The skeleton of a graph G refers to the graph G ′
=
( V, E ∪ A, ∅ ) where all arcs are made unoriented.
A v-structure refers to three distinct vertices u, v, w ∈ V such that u
→ v ← w and u ̸∼ w .
A simple cycle is a sequence of k ≥ 3 vertices where v 1 ∼ v 2 ∼ . . .
∼ v k ∼ v 1 .
The cycle is directed if at least one of the edges is directed and all directed arcs are in the same direction along the cycle.
A partially directed graph is a chain graph if it contains no directed cycle.
In the undirected graph G ′ obtained by removing all arcs from a chain graph G , each connected component in G ′ is called a chain component .
We use CC ( G ) to denote the set of chain components in G .
Note that the vertices of these chain components form a partition of V .
Directed acyclic graphs (DAGs), a special case of chain graphs where all edges are directed, are commonly used as graphical causal models [Pea09] where vertices represents random variables and the joint probability density f factorizes according to the Markov property: f
( v 1 , . .
. , v n ) = (cid:81) ni =1 f ( v i | pa ( v )) .
We can associate a valid permutation / topological ordering π : V → [ n ] to any (partially oriented)
DAG such that oriented arcs ( u, v ) satisfy π ( u ) <
π ( v ) and any unoriented arc { u, v } can be oriented as u → v whenever π ( u ) <
π ( v ) without forming directed cycles.
While there may be multiple valid permutations, we often only care that there exists at least one such permutation.
For any DAG G , we denote its Markov equivalence class (MEC) by [ G ] and essential graph by E ( G ) .
It is known that two graphs are Markov equivalent if and only if they have the same skeleton and v-structures [VP90, AMP97].
A clique is a graph where u ∼ v for any pair of vertices u, v ∈ V .
A maximal clique is an vertexinduced subgraph of a graph that is a clique and ceases to be one if we add any other vertex to the subgraph.
If all edges in the clique are oriented in an acyclic manner, then there is a unique valid permutation π that respects this orientation.
We denote v = argmax u ∈ V π ( u ) as the sink of the clique.
Interventions, verifying sets, and additive vertex intervention costs
An intervention S ⊆
V is an experiment where the experimenter forcefully sets each variable s ∈ S to some value, independent of the underlying causal structure.
An intervention is called an atomic intervention if | S | = 1 and called a bounded size intervention if | S | ≤ k for some size upper bound k .
One can view observational data as a special case where S = ∅ .
Interventions affect the joint distribution of the variables and are formally captured by Pearl’s do-calulus
[Pea09].
An intervention set I ⊆ 2 V is a collection of interventions and ∪ S ∈I S is the union of all intervened vertices.
In this work, we study ideal interventions.
Graphically speaking, an ideal intervention S on G induces an interventional graph G S where all incoming arcs to vertices v ∈ S are removed
[EGS12] and it is known that intervening on a set S ⊆
V allows us to infer the edge orientation of any edge cut by
S and V \ S [Ebe07, HEH13, HLV14, SKDV15, KDV17].
For ideal interventions, an I -essential graph E
I ( G ) of G is the essential graph representing the Markov equivalence class of graphs whose interventional graphs for each intervention is Markov equivalent to G S for any intervention
S ∈
I .
There are several known properties about I -essential graph properties [HB12, HB14, SMG + 20]:
Every I -essential graph is a chain graph with chordal 3 chain components.
This includes the case of
S = ∅ .
Orientations in one chain component do not affect orientations in other components.
In other words, to fully orient any essential graph E ( G ∗ ) , it is necessary and sufficient to orient every chain component in E ( G ∗ ) independently.
More formally, we have
Lemma 3 (Modified lemma 1 of [HB14]) .
Let I ⊆
V be an intervention set.
Consider the Iessential graph E I ( G ∗ ) of some DAG G ∗ and let H ∈ CC ( E I ( G ∗ )) be one of its chain components.
Then, for any additional interventional set I ′ ⊆
2 V such that I ∩ I ′ = ∅ , we have
[Equation]
As a consequence of Lemma 3, one may assume without loss of generality that CC ( E ( G )) is a single connected component and then generalize results by summing across all connected components.
A verifying set I for a DAG G ∈ [ G ∗ ] is an intervention set that fully orients
G from E ( G ∗ ) , possibly with repeated applications of Meek rules (see Appendix A).
In other words, for any graph G =
( V, E ) and any verifying set I of G , we have E I ( G )
[ V ′ ]
=
G [ V ′ ] for any subset of vertices
V ′ ⊆ V .
Furthermore, if I is a verifying set for G , then I ∪ S is also a verifying set for G for any additional intervention S ⊆ V .
While DAGs may have multiple verifying sets in general, we are often interested in finding one with minimum size or cost.
Definition 4 (Minimum size/cost verifying set) .
Let w be a weight function on intervention sets.
An intervention set I is called a verifying set for a DAG G ∗ if E I ( G ∗ ) =
G ∗ .
I is a minimum size (resp.
cost) verifying set if E I ′
( G ∗ )
̸ = G ∗ for any |I ′
| < |I| (resp.
for any w ( I ′ ) <
w ( I ) ).
When restricting to interventions of size at most k , the minimum verification number ν k ( G ) of G denotes the size of the minimum size verifying set for any DAG G ∈ [ G ∗ ] .
That is, any revealed arc directions when performing interventions on E ( G ∗ ) respects G .
ν 1 ( G ) denotes the case where we restrict to atomic interventions.
One of the goals of this work is to characterize ν ( G ) given an essential graph E ( G ∗ ) and some G ∈ [ G ∗ ] .
Covered edges
Covered edges are special arcs in a causal graph where the endpoints of u ∼ v share the same set of parents in V \ { u, v } .
These edges are crucial in causal discovery because their orientation can be reversed and they still yield the same conditional independencies.
See Fig.
1 for an illustration.
Note that one can compute all covered edges of a given DAG G in polynomial time.
[Figure]
e
[Figure]
g
[Figure]
a
[Figure]
c d e f g h a b c d e f g h a b c d e f g h
[Figure]
two vertices of the cycle.
See [BP93] for more properties.
Lemma 1 of [HB14] actually considers a single additional intervention, but a closer look at their proof shows that the statement can be strengthened to allow for multiple additional interventions.
For completeness, we provide the proof of this strengthened version in Appendix B. Note that we can drop the ∅ intervention in the statement since essential graphs are defined with the observational data provided.
Definition 5 (Covered edge) .
An edge u ∼ v is a covered edge if Pa ( u ) \ { v } =
Pa ( v ) \ { u } .
Definition 6 (Covered edge reversal) .
A covered edge reversal means that we replace u → v with v → u , for some covered edge u → v , while keeping all other arcs unchanged.
Lemma 7 ([Chi95]) .
If G and G ′ belong in the same MEC if and only if there exists a sequence of covered edge reversals to transform between them.
Definition 8 (Separation of covered edges) .
We say that an intervention S ⊆ V separates a covered edge u ∼ v if |{ u, v } ∩ S | = 1 .
That is, exactly one of the endpoints is intervened by S .
We say that an intervention set I separates a covered edge u ∼ v if there exists S ∈
I that separates u ∼ v .
Relationship between searching and verification
Recall Definition 1 and Definition 2.
The verification number is a useful analytical tool for the search problem as ν k ( G ∗ ) is a lower bound on the number of interventions used by an optimal search algorithm.
Furthermore, since the search problem needs to fully orient E ( G ∗ ) regardless of which DAG is the ground truth, any search algorithm given E ( G ∗ ) requires at least min G ∈ [ G ∗ ] ν k ( G ) interventions, even if it is adaptive and randomized.
In fact, the strongest possible universal lower bound guarantee one can prove must be at most min G ∈
[ G ∗ ] ν k ( G ) and the strongest possible universal upper bound guarantee one can prove must be at least max G ∈ [ G ∗ ]
ν k ( G ) .
Note that if the search algorithm is non-adaptive , then it trivially needs at least max G ∈
[ G ∗ ] ν k ( G ) interventions.
Example Consider the graph G ∗ in Fig.
1 where the essential graph E ( G ∗ ) representing the MEC [ G ∗ ] is the standing windmill 5 .
Now, consider only atomic interventions.
We will later show that the minimum verification number of a DAG is the size of the minimum vertex cover of its covered edges (see Theorem 11).
One can check that ν
G ∗ )
=
ν
( G 1 )
= 4 while ν 1 ( G 2 ) = 3 .
In fact, we actually show that min G ∈ [ G ∗ ] ν 1 ( G ) = 3 and max G ∈ [ G ∗ ] ν 1 ( G ) = 4 in Appendix C.
Thus, any search algorithm using only atomic interventions on E ( G ∗ ) needs at least 3 atomic interventions.
2.1 Related work
Table 1 and Table 2 in Appendix D summarize 6 the existing upper (sufficient) and lower (worst case necessary) bounds on the size ( |I| , or E
[ |I| ] for randomized algorithms) of intervention sets that fully orient a given essential graph.
These lower bounds are “worst case” in the sense that there exists a graph, typically a clique, which requires the stated number of interventions.
Observe that there are settings where adaptivity 7 and randomization strictly improves the number of required interventions.
Separating systems [HEH13] drew connections between causal discovery via interventions and the concept of separating systems from the combinatorics literature.
This was extended by [SKDV15] to the bounded size and adaptive settings.
An ( n, k ) -separating system is a Boolean matrix with n columns where each row has at most k ones, indicating which vertex is to be intervened upon.
Using their proposed separating system construction based on “label indexing”, [SKDV15] showed that roughly nk log nk n interventions is sufficient to fully an essential graph G with bounded size interventions.
On cliques (i.e. worst case lower bound), [SKDV15] showed that the bound is tight while only roughly χ ( E ( G ))
k log χ
( E ( G ))
k χ ( E ( G )) interventions are necessary for general graphs 8 , even if the interventions are chosen adaptively or in a randomized fashion.
Universal bounds for minimum sized atomic interventions Beyond worst case lower bounds, recent works have studied universal bounds for orienting essential graphs E ( G ∗ ) using atomic interventions [SMG + 20, PSS22].
These universal bounds depend on graph parameters of E ( G ) beyond the number of nodes n .
[SMG + 20] showed that search algorithms must use at least (cid:80) H ∈ CC ( E ( G ∗ ))
⌊ ω ( H ) 2 ⌋ interventions, where H is a chain component of E ( G ∗ ) and the summation across chain components is a consequence of Lemma 3.
They also introduced a graph concept called directed clique trees and designed an adaptive, deterministic algorithm.
On intersection-incomparable chordal graphs, their algorithm outputs an intervention set of size O (log 2 (max H ∈ CC ( E ( G ∗ )) ω ( H )) · ν 1 ( G ∗ )) .
More recently, [PSS22] introduced the notion of clique-block shared-parents orderings and showed that any search algorithm for an essential graph E ( G ∗ ) with r maximal cliques requires at least ⌈ n − r 2 ⌉ interventions and ν 1 ( G ) ≤ n − r for any G ∈ [ G ∗ ] .
Non-atomic interventions The randomized algorithm of [HLV14] fully orients an essential graph using O (log(log( n )))
unbounded interventions in expectation.
Building upon this, [SKDV15] shows that O ( nk log(log( k ))) bounded sized interventions (each involving at most k nodes) suffice.
Additive vertex costs [KDV17, GSKB18, LKDV18] studied the non-adaptive search setting where vertices may have different intervention costs and intervention costs accumulate additively.
[GSKB18] studied the problem of maximizing number of oriented edges given a budget of atomic interventions while [KDV17, LKDV18] studied the problem of finding a minimum cost (bounded size) intervention set that fully orients the essential graph.
[LKDV18] showed that computing the minimum cost intervention set is NP-hard and gave search algorithms with constant approximation factors.
Other related work [HLV14, KSSU19] showed that Erd˝os-Rényi graphs can be easily oriented.
Results 3.1 Verification
Our core contribution for the verification problem is deriving an interesting connection between the covered edges and verifying sets.
We show importance of this connection by using it to derive several novel results on finding optimal verifying sets in various settings such as bounded size interventions and when vertices have varying interventional costs.
For detailed proofs, see Appendix E.
Theorem 9.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
An intervention set I is a verifying set for
G if and only if I is a set that separates every covered edge of G that is unoriented in E ( G ∗ ) .
Together with Lemma 7 (any undirected edge in E ( G ∗ ) is a covered edge for some G ∈ [ G ∗ ] ),
Theorem 9 implies a simple alternative proof for an earlier known result that characterizes nonadaptive search algorithms via separating systems [HEH13, SKDV15]: any non-adaptive search algorithm, which has no knowledge of G ∗ , should separate every undirected edge in E ( G ∗ ) .
Another immediate application of Theorem 9 is the following result for the verification problem.
Corollary 10.
Given an essential graph E ( G ∗ ) of an unknown ground truth DAG G ∗ and a causal
DAG G ∈ [ G ∗ ] , we can test if G ?
=
G ∗ by intervening on any verifying set of G .
Furthermore, in the worst case, any algorithm that correctly resolves G ?
=
G ∗ needs at least ν ( G ) interventions.
The above corollary provides a solution to the verification problem in terms of verifying sets and in the following we give efficient algorithms for computing these verifying sets that are optimal in the atomic setting and are near-optimal in the case of bounded size.
Theorem 11.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
An atomic intervention set
I is a minimal sized verifying set for G if and only if I is a minimum vertex cover of unoriented covered edges of G .
A minimal sized atomic verifying set can be computed in polynomial time.
Our result provides the first efficient algorithm for computing minimum sized atomic verifying set for general graphs.
Previously, efficient algorithms for computing minimum sized atomic verifying sets were only known for simple graphs such as cliques and trees.
For general graphs, only a brute force algorithm is known [SMG + 20, Appendix F] which takes exponential time in the worst case 9 .
In contrast to optimal algorithms, [PSS22] provides an efficient algorithm that returns a verifying set of size at most 2 times that of the optimum.
Theorem 12.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
If ν 1 ( G ) =
ℓ , then ν k ( G ) ≥ ⌈ ℓ k ⌉
and there exists a polynomial time algo.
to compute a bounded size intervention set I of size |I| ≤ ⌈ ℓk ⌉ +1 .
9 Theorem 11 also provides a rigorous justification to the observation of [SMG + 20] that “In general, the size of an [atomic verifying set] cannot be calculated from just its essential graph”.
This is because essential graphs could imply minimum vertex covers of different sizes (see Fig. 1).
To the best of our knowledge, our work provides the first known efficient algorithm for computing near-optimal bounded sized verifying sets for general graphs.
Furthermore, we note that, for every k , there exists a family of graphs where the optimum solution requires at least ⌈ ℓk ⌉ + 1 bounded size interventions.
Thus, our upper bound is tight in the worst case (see Fig. 6 in Appendix E.5).
Beyond minimal sized interventions, a natural and much broader setting in causal inference is one where different vertices have varying intervention costs, e.g. in a smoking study, it is easier to modify a subject’s diet than to force the subject to smoke (or stop smoking).
Formally, one can define a weight function on the vertices w : V → R which overloads to w ( S ) =
(cid:80) v ∈ S w ( v ) on interventions and w ( I ) =
(cid:80) S ∈I S on intervention sets.
Such an additive cost structure has been studied by [KDV17, GSKB18].
Consider an essential graph which is a star graph on n nodes where the leaves have cost 1 and the root has cost significantly larger than n .
For atomic verifying sets, we see that the minimum cost verifying set is to intervene on the leaves while the minimum size verifying set is to simply intervene on the root.
Since one may be more preferred over the other, depending on the actual real-life situation, we propose to find a verifying set I which minimizes
[Equation]
so as to explicitly trade-off between the cost and size of the intervention set.
This objective also naturally allows the constraint of bounded size interventions by restricting | S | ≤ k for all S ∈ I .
Note that the earlier results on minimum size verifying sets correspond to α = 0 and β = 1 .
Interestingly, the techniques we developed in the minimum size setting generalizes to this broader setting.
Furthermore, our framework of covered edges allow us to get simple proofs.
Theorem 13.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
An atomic verifying set I for G that minimizes Eq.
(1) can be computed in polynomial time.
Theorem 14.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
Suppose the optimal bounded size intervention set that minimizes Eq.
(1) costs OPT .
Then, there exists a polynomial time algorithm that computes a bounded size intervention set with total cost OPT + 2 β .
3.2 Adaptive search
Here, we study the unweighted search problem in causal inference where one wishes to fully orient an essential graph obtained from observational data while minimizing the number of interventions used.
Formally, we give an algorithm (Algorithm 1) that fully orients E ( G ∗ ) using at most a logarithmic multiplicative factor more interventions than ν k ( G ∗ ) , the number of (bounded size) interventions needed to verify the ground truth G ∗ .
Since any search algorithm will incur at least ν k ( G ∗ ) interventions, our result implies that search is (almost, up to log n multiplicative approximation) as easy as the verification.
For detailed proofs, see Appendix F.
Theorem 15.
Fix an essential graph E ( G ∗ ) with an unknown underlying ground truth DAG G ∗ .
Given k = 1 , Algorithm 1 runs in polynomial time and computes an atomic intervention set I in a deterministic and adaptive manner such that E I ( G ∗ ) =
G ∗ and |I| ∈ O (log( n ) · ν 1 ( G ∗ )) .
Theorem 16.
Fix an essential graph E ( G ∗ ) with an unknown underlying ground truth DAG G ∗ .
Given k > 1 , Algorithm 1 runs in polynomial time and computes a bounded size intervention set I in a deterministic and adaptive manner such that E I ( G ∗ ) =
G ∗ and |I| ∈ O (log( n ) · log( k ) · ν k ( G ∗ )) .
These results are the first competitive results that holds for using atomic or bounded size interventions on general graphs .
The only previously known result of O (log 2 (max H ∈ CC ( E ( G ∗ )) ω
( H ))
· ν 1 ( G ∗ )) by [SMG + 20] was an algorithm based on directed clique trees with provable guarantees only for atomic interventions on intersection-incomparable chordal graphs.
To obtain our results, we are not simply improving the analysis of [SMG + 20].
Instead, we developed a new algorithmic approach that is based on graph separators which is a much simpler concept than directed clique trees.
The approximation of O (log n ) to ν 1 ( G ∗ ) is the tightest one can hope for atomic interventions in general.
For instance, consider the case where E ( G ∗ ) is an undirected line graph on n vertices.
Then, any adaptive algorithm needs Ω(log n ) atomic interventions in the worst case 10 while ν 1 ( G ∗ ) = 1 .
The line graph also provides a clear distinction between adaptive and non-adaptive search algorithms since any non-adaptive algorithm needs Ω( n ) atomic interventions to separate all the edges in E ( G ∗ ) .
Overview of techniques 4.1 Verification
Our results for the verification problem are broadly divided into two categories: (I) Connection between the covered edges and verification set (Theorem 9, Corollary 10); (II) Efficient computation of verification sets under various settings using the connection established.
For the first type of results, we show that any intervention set is a verifying set if and only if it separates every unoriented covered edge of G ∈ E ( G ∗ ) .
For necessity, we show that all four Meek rules (which are known to be consistent and complete) will not orient any unoriented covered edge of
G that is not separated by any intervention.
Our proof is simple due to the usage of covered edges.
For sufficiency, we show that every unoriented non-covered edge of G will be oriented by Meek rules if all covered edges are separated.
We prove this using a subtle induction over a valid topological ordering of the vertices π of G ∗ : Let V i be the first i smallest vertices in π , for i = 1 , 2 , . . . , n .
Consider subgraph E ( G ∗ )
[ V i ] induced by V i with v
i being the last vertex in the ordering of V i .
By induction, it suffices to show that all non-covered u → v i edges are oriented for u ∈ V i − 1 .
To show this, we perform case analysis to argue that either u → v i is part of v-structure (i.e. is already oriented in E ( G ∗ ) ) or Meek rule R2 will orient it.
The previous result only establishes equivalence between the verifying sets and the intervention sets that separate unoriented covered edges.
For efficient computation of optimal verifying sets, we prove several additional properties of covered edges, which may be of independent interest.
Lemma 17 (Properties of covered edges) .
Let H be the edge-subgraph induced by covered edges of a DAG G .
Then, every vertex in H has at most one incoming edge and thus H is a forest of directed trees.
If a DAG G is a clique on n ≥ 3 vertices v 1 , v 2 , . .
. , v n with π ( v 1 ) <
π ( v 2 ) < . . .
<
π ( v n ) , then v 1 → v 2 , . . .
, v n − 1 → v n are the covered edges of G . 3.
If u → v is a covered edge in a DAG G , then u cannot be a sink of any maximal clique of G .
The fact that the edge-induced subgraph of the covered edges is a forest enables us to use standard dynamic programming techniques to compute (weighted) minimum vertex covers for the unoriented covered edges of G , corresponding to minimum size atomic verifying sets (Theorem 11 and Theorem 13).
For bounded size verifying sets, we exploit the fact that trees are bipartite and so we can divide the minimum vertex covers into two partitions.
Since vertices within each partite are non-adjacent, we can group them into larger interventions without affecting the overall number of separated edges, giving us the guarantees in Theorem 12 and Theorem 14.
Through the lens of covered edges, we see that existing universal bounds of [SMG + 20, PSS22] are not tight 11 .
Consider the case where the essential graph E ( G ∗ ) is the standing windmill graph given in Fig.
The graph E ( G ∗ ) has n = 8 nodes, r = 4 maximal cliques and the largest maximal clique is size 3 .
The lower bound of [SMG + 20 ] yields (cid:80) H ∈ CC ( E ( G ∗ ))
⌊ ω ( H ) 2 ⌋ =
⌊ 32 ⌋ = 1 while lower bound of [PSS22] yields ⌈ n − r 2 ⌉ =
⌈ 8 − 42 ⌉
= 2 .
Meanwhile, we show min G ∈ [ G ∗ ] ν 1 ( G )
= 3 in Appendix C.
We can also recover the ν 1 ( G ∗ ) ≤ n − r bound of [PSS22] with a short proof using covered edges.
Lemma 18.
For any essential graph E ( G ∗ ) on n vertices with r maximal cliques, there exists an atomic verifying set of size at most n − r .
Proof.
By Theorem 11, it suffices to find a vertex cover of the unoriented covered edges of E ( G ∗ ) .
By Lemma 17, any covered edge u → v cannot have u as a sink of any maximal clique.
So, the set of all vertices without the r sink vertices is a vertex cover of the covered edges in E ( G ∗ ) .
4.2 Search
Here we provide the description and proof overview of the search results.
Our search algorithm (Algorithm 1) relies on graph separators that we formally define next.
Existence and efficient computation of graph separators are well studied [LT79, GHT84, GRE84, AST90, KR10, WN11] and are commonly used in divide-and-conquer graph algorithms and as analysis tools.
Definition 19 ( α -separator and α -clique separator) .
Let A, B, C be a partition of the vertices V of a graph G =
( V, E ) .
We say that C is an α -separator if no edge joins a vertex in A with a vertex in B and | A | , | B | ≤ α · | V | .
We call C is an α -clique separator if it is an α -separator and a clique.
separators.
Theorem 20.
Define Q =
{ K H } H ∈ CC
E I
G
2 as the clique separator nodes.
5: if k = 1 or | Q | = 1 then Define C i
=
Q as an atomic intervention set.
6: else Define k ′ =
min { k, | Q | / 2 } , a = ⌈| Q | /k ′
⌉ ≥ 2 , and ℓ = ⌈ log a n ⌉ .
Compute labelling scheme of [SKDV15, Lemma 1] on Q with ( | Q | , k ′ , a ) , and define C i = { S x,y } x ∈ [ ℓ ] ,y ∈
[ a ] , where S x,y ⊆ Q is the subset of vertices whose x th letter in the label is y .
Update i
, intervene on C i to obtain E
I i ( G ∗ ) , and update I i ← I
∪ C i .
while
We first give the proof strategy for Theorem 15, the atomic case where k = 1 .
We divide the analysis into two steps.
In the first step, we show that the algorithm terminates in O (log n ) iterations.
In the second step, we argue that the number of interventions performed in each iteration is in O ( ν 1 ( G )) .
The analysis of the first step relies on the following result of [GRE84].
Theorem 20 ([GRE84], instantiated for unweighted graphs) .
Let G =
( V, E ) be a chordal graph with | V | ≥ 2 and p vertices in its largest clique.
There exists a 1 / 2 -clique-separator C of size | C | ≤ p − 1 .
The clique C can be computed in O ( | E | ) time.
At each iteration i of the algorithm, we intervene on a 1 / 2 -clique separators of each connected chain component.
Note that the size of each connected chain compoenent at the end of iteration i is at most n/ 2 i .
Therefore, after O (log n ) iterations, each connected chain component will contain at mostvertex, implying that all the edges have been oriented.
To bound the number of interventions used in each iteration, we prove a stronger universal lower bound that is built upon the lower bound of [SMG + 20].
While not computable 12 , it is a very powerful lower bound for analysis: In Fig.
7 of Appendix G, we give an example where ν 1 ( G ∗ )
≈ n while the lower bound of [SMG + 20] on CC ( E ( G ∗ )) is a constant.
Meanwhile, there exists a set of atomic interventions I such that applying [SMG + 20] on CC ( E I ( G ∗ )) yields a much stronger Ω( n ) bound.
Lemma 21.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
Then,
[Equation]
As we intervene on cliques in each connected component at every iteration, Lemma 21 shows that we use at most 2 · ν 1 ( G ∗ ) interventions per iteration.
Therefore, the total interventions used by
Algorithm 1 is in O (log( n ) · ν 1 ( G ∗ )) .
For bounded size interventions (Theorem 16), we follow the same strategy as above but we modify how we orient the edges within and cut by the 1 / 2 -clique separators.
More specifically, we compute a separating system for the union of clique separator nodes based on the labeling scheme of [SKDV15] and perform case analysis to argue that we use O (log( k ) · ν k ( G ∗ ))
bounded size interventions per iteration.
Lemma 22 (Lemma 1 of [SKDV15]) .
Let ( n, k, a ) be parameters where k ≤ n/ 2 .
There is a polynomial time labeling scheme that produces distinct ℓ length labels for all elements in [ n ] using letters from the integer alphabet { 0 } ∪ [ a ] where ℓ = ⌈ log a n ⌉ .
Further, in every digit (or position), any integer letter is used at most ⌈ n/a ⌉ times.
This labelling scheme is a separating system: for any i, j ∈ [ n ] , there exists some digit d ∈ [ ℓ the of and differ
Experiments and implementation
We implement our verification algorithm and test its correctness on some well-known graphs such as cliques and trees, for which we know the exact verification number.
In addition, we implement Algorithm 1 and compare its performance with other known atomic search algorithms [HG08, HB14, SKDV15, SMG + 20] via the experimental setup of [SMG + 20]: on synthetic graphs of varying sizes, we compare the runtime and total number of interventions performed compared to the verification number of the underlying DAG.
In Appendix H, we provide the full experimental details and results of running various search algorithms (including ours) on different graphs.
Qualitatively, our algorithm is competitive with the state-of-the-art search algorithms while being ∼ 10x faster in some experiments.
Fig.
2 shows a subset of these results.
We also investigated the impact of different k values on the performance of our search algorithm in Appendix H. The implementations, along with entire experimental setup, are available at https: //github.com/cxjdavin/verification-and-search-algorithms-for-causal-DAGs .
Conclusion, limitations, and societal impact Learning causal relationships is of fundamental importance to science and society in general.
This is especially important when one wishes to correctly predict effects of making changes to a system for downstream tasks such as designing fair algorithms.
In this work, we gave a complete understanding of the verification problem and an improved search algorithm under the standard causal inference assumptions (see Section 1).
However, if our assumptions are violated by the data, then wrong causal conclusions may be drawn and possibly lead to unintended downstream consequences.
Hence, it is of great interest to remove/weaken these assumptions while maintaining strong theoretical guarantees.
A crucial limitation of this work is that we study an idealized setting with hard interventions and infinite samples while soft interventions may be more realistic in certain real-life scenarios (e.g. effects from parental vertices are not completely removed but only altered) and sample complexities play a crucial role when one has limited experimental budget (e.g. see [KJSB19] and [ABDK18] respectively).
Acknowledgments and Disclosure of Funding
This research/project is supported by the National Research Foundation, Singapore under its AI
Singapore Programme (AISG Award
No: AISG-PhD/2021-08-013).
KS was supported by a Stanford
Data Science Scholarship, a Dantzig-Lieberman Research Fellowship and a Simons-Berkeley Research Fellowship.
AB is partially supported by an NUS Startup Grant (R-252-000-A33-133) and an
NRF Fellowship for AI (NRFFAI1-2019-0002).
We would like to thank Themis Gouleakis, Dimitrios
Myrisiotis, and Chandler Squires for valuable feedback and discussions.
Part of this work was done while the authors were visiting the Simons Institute for the Theory of Computing.
A Meek rules
Meek rules are a set of 4 edge orientation rules that are sound and complete with respect to any given set of arcs that has a consistent DAG extension [Mee95].
Given any edge orientation information, one can always repeatedly apply Meek rules till a fixed point to maximize the number of oriented arcs.
Definition 23 (Consistent extension) .
A set of arcs is said to have a consistent DAG extension π for a graph G if there exists a permutation on the vertices such that (i) every edge { u, v } in G is oriented u → v whenever π ( u ) <
π ( v ) , (ii) there is no directed cycle, (iii) all the given arcs are present.
Definition 24 (The four Meek rules [Mee95], see Fig.
3 for an illustration) .
R1 Edge { a, b } ∈ E is oriented as a → b if ∃ c ∈ V such that c → a and c ̸∼ b .
R2 Edge { a, b } ∈ E is oriented as a → b if ∃ c ∈ V such that a → c → b . R3 Edge { a, b } ∈ E is oriented as a → b if ∃ c, d ∈ V such that d ∼ a ∼ c , d → b ← c , and c ̸∼ d .
R
Edge { a, b } ∈ E is oriented as a → b if ∃ c, d ∈ V such that d ∼ a ∼ c , d → c → b , and b ̸∼ d .
a b c a b c R a b c a b c R d a c b d a c b
R a d c b a d c b
R
There exists an algorithm [WBL21, Algorithm 2] that runs in O ( d · | E ∪ A | ) time and computes the closure under Meek rules, where d is the degeneracy of the graph skeleton 13 .
B Proof of Lemma
Lemma 1 of [HB14] actually considers a single additional intervention, but a closer look at their proof shows that the statement can be strengthened to allow for multiple additional interventions.
In fact, the proof below will almost mimic the proof of [HB14, Lemma 1] except for some minor changes 14 .
Note that we can drop the ∅ intervention in the statement since essential graphs are defined with the observational data provided.
The proof relies on the definition of strongly protected edges and a characterization of I -essential graphs from [HB12].
Definition 25 (Strong protection; Definition 14 of [HB12]) .
Let G =
( V, E, A ) be a (partially oriented) DAG and I
⊆
2 V be an intervention set.
An arc a → b is strongly I -protected in G if there is some intervention S ∈
I such that | S ∩ { a, b }| = 1 , or the arc a → b occurs in at least one of the following four configurations as an induced subgraph of G (see Fig. 4):
There exists c ∈ V such that c → a → b and c ̸∼ b . 2.
There exists c ∈ V such that a → b ← c and c ̸∼ a . 3.
There exists c ∈ V such that a → c → b and a → b . 4.
There exists c, d ∈ V such that a ∼ c → b , a ∼ d → b , and a → b .
Theorem 26 (Characterization of I -essential graphs; Theorem 18 of [HB12]) .
A (partially oriented)
DAG E ( G ) is an I -essential graph of G if and only if
G is a chain graph.
a b c a b c a b c d b a c
G
subgraph
a → b ∼ c . 4.
G has no undirected edge a ∼ b whenever ∃ S ∈ I such that | S ∩ { a, b }| = 1 . 5.
Every arc a → b in G is strongly I -protected.
For simplicity, we say that an intervention S ⊆ V separates an edge a ∼ b if | S ∩ { a, b }| = 1 and that an intervention set I ⊆
2 V separates an edge a ∼ b if it has an intervention that separates it.
Lemma 3 (Modified lemma 1 of [HB14]) .
Let I ⊆
V be an intervention set.
Consider the Iessential graph E I ( G ∗ ) of some DAG G ∗ and let H ∈ CC ( E I ( G ∗ )) be one of its chain components.
Then, for any additional interventional set I ′ ⊆
2 V such that I ∩ I ′ = ∅ , we have
[Equation]
Proof.
To shorten notation, define G = E I∪I
( G ∗ )
[ V ( H )] and G ′ =
E { S ∩ V
[Equation]
H ) : S ∈I ′ } ( G ∗ [ V ( H )]) .
Since G =
( V, E, A ) and G ′ =
( V ′ , E ′ , A ′ ) share the same skeleton (i.e. V = V ′ and E ∪ A =
E ′ ∪ A ′ ) and must respect the same underlying DAG directions of G ∗ , it suffices to argue that A ⊆
A ′ and A ′ ⊆
A (i.e. they share the same set of directed arcs).
Let π be the topological ordering of the ground truth DAG G ∗ .
Direction 1 ( A ⊆
A ′ )
: Suppose there are directed arcs in G that are undirected in G ′ .
Let a → b be one such arc where π ( b ) is minimized .
By property 5 of Theorem 26, a → b is strongly ( I ∪ I ′ )
-protected in G .
If { S ∩ V ( H ) : S ∈
I ′ } separates a ∼ b , then a → b must be oriented in G ′ .
Otherwise, let us consider the 4 configurations given by Definition 25:
In G , there exists c ∈ V such that c → a → b and c ̸∼ b .
By minimality of π ( b ) , c → a must be oriented in G ′ .
Thus, Meek rule R1 will orient a → c . 2.
In G , there exists c ∈ V such that a → b ← c and c ̸∼ a .
This is a v-structure in G ∗ and so a → b would also be oriented in G ′ .
In G , there exists c ∈ V such that a → c → b and a → b .
By minimality of π ( b ) , a → c must be oriented in G ′ .
Then, if a → b is not directed in G ’, we will have a directed cycle of the form a → c ∼ b ∼ a (regardless of whether the edge b ∼ c is directed).
By property 1 of Theorem 26, G ′ is a chain graph and cannot have such a directed cycle.
Therefore, a → b must be oriented in G ′ .
In G , there exists c, d ∈ V such that a ∼ c → b , a ∼ d → b , and a → b .
We cannot have c → a ← d otherwise such a v-struct will prevent this configuration from occurring.
Without loss of generality, a → c .
Then, we can apply the argument of the third configuration on the subgraph induced by { a, b, c } to conclude that a → b is also oriented in G ′ .
Direction 2 ( A ′ ⊆
A ) : Repeat the exact same argument but perform the following 2 swaps:
Swap the roles of G and G ′ 2.
Swap the roles of ( I ∪ I ′ ) and { S ∩ V ( H ) :
S ∈ I ′ }
C Further analysis of the standing windmill essential graph
In this section, we show that all DAGs in the standing windmill essential graph requires at least 3 and at most 4 atomic interventions.
By Theorem 11, we know that the optimal number of atomic interventions needed to verify any graph is the size of the minimum vertex cover of its oriented edges.
To explore the space of DAGs in the essential graph, we will perform covered edge reversals (as justified by Lemma 7).
Consider the DAG G ∗ with MEC [ G ∗ ] and the standing windmill essential graph E ( G ∗ ) in Fig.
Starting from G ∗ , if we fix the arc direction h → a , then reversing any arc (possibly multiple times) from the set { b ∼ c, d ∼ e, f ∼ g } does not change the covered edge status of any edge (i.e. the covered edges remain exactly the same 4 edges) and thus the size of the minimum vertex cover remains unchanged.
Meanwhile, reversing a ∼ h in G ∗ yields the graph G 1 .
Fixing the arc direction a → h , we observe that the three sets of edges { a ∼ b, a ∼ c, b ∼ c } , { a ∼ d, a ∼ e, d ∼ e } , and { a ∼ f, a ∼ g, f ∼ g } are symmetric.
Furthermore, if we flip one of the edges from { a ∼ b, a ∼ d, a ∼ f } from G 1 (or { a ∼ c, a ∼ d, a ∼ f } from G 4 ), then all other two a → · arcs are no longer covered edges.
So, it suffices to study what happens when we only reverse arc directions in one of these sets: { a ∼ b, a ∼ c, b ∼ c } , { a ∼ d, a ∼ e, d ∼ e } , and { a ∼ f, a ∼ g, f ∼ g } .
The graphs G 1 to G 6 illustrate all possible cases when we fix a → h and only reverse edges in the set { a ∼ b, a ∼ c, b ∼ c } .
We see that ν 1 ( G ∗ )
=
ν
( G 1 )
=
ν 1 ( G 4 )
=
and ν 1 ( G 2 )
=
ν 1 ( G 3 )
=
ν 1 ( G 5 )
=
ν 1 ( G 6 ) = 3 .
Thus, we can conclude that min G ∈ [ G ∗ ] ν 1 ( G ) =and max G ∈ [ G ∗ ] ν 1 ( G ) = 4 .
a b c d e f g h a b c d e f g h a b c d e f g h a b c d e f g h
a b c d e f g h a b c d e f g h a b c d e f g h a b c d e f g h
E ( G ∗ )
G ∗
G G
G G
G
Ga ∼ h a ∼ b a ∼ c b ∼ c a ∼ c a ∼ b b ∼ c
D Upper and (worst case) lower bounds for fully orienting a DAG from its essential graph using ideal interventions
Let us briefly distinguish the various problem settings before summarizing the state of the art results.
Intervention size Since interventions are expensive, natural restrictions on the size of any intervention S ∈ I has been studied.
Bounded size interventions enforce that an upper bound of | S | ≤ k always while unbounded size interventions allow k to be as large as n/ 2 .
Note that it does not make sense to intervene on a set S with | S | > n/ 2 since intervening on S yields the same information while being a strictly smaller interventional set.
Atomic interventions are a special case where k = 1 .
Adaptivity A passive/non-adaptive/simultaneous algorithm is one which, given an essential graph
E ( G ∗ ) , decides a set of interventions without looking at the outcomes of the interventions.
Meanwhile, active/adaptive algorithms can provide a sequence of interventions one-at-a-time, possibly using any information gained from the outcomes of earlier chosen interventions.
Determinism
An algorithm is deterministic if it always produces the same output given the same input.
Meanwhile, randomized algorithms produces an output from a distribution.
Analyses of randomized algorithms typically involve probabilistic arguments and their performance is measured in expectation with probabilistic success 15 .
The ability to use random bits (e.g. outcome of coin flips) is very powerful and may allow one to circumvent known deterministic lower bounds.
Special graph classes Two graph classes of particular interest are cliques and trees.
If CC ( E ( G ∗ )) is a clique, then all (cid:0) n 2 (cid:1) edges are present and fully orienting the clique is equivalent to finding the unique valid permutation on the vertices.
As such, cliques are often used to prove worst case lower bounds.
Meanwhile, if CC ( E ( G ∗ )) is a tree, then there must be a unique root (else there will be v-structures) and it suffices 16 to intervene on the root node to fully orient the tree.
Table 1 and Table 2 summarize some existing upper (sufficient) and lower (worst case necessary) bounds on the size ( |I| , or E [ |I| ] for randomized algorithms) of intervention sets that fully orient a given essential graph.
These lower bounds are “worst case” in the sense that there exists a graph, typically a clique, which requires the stated number of interventions.
Observe that there are settings where adaptivity and randomization strictly improves the number of required interventions.
[Table]
✗ ✗
General n −[EGS06] ✗ ✓
General 23 n − 13 for n >[Ebe10] ✓ ✗
Tree
O (log n ) [SKDV15] ✓ ✗
Tree ⌈ log n ⌉ [GKS + 19]
[Table]
k ✗ ✗
General ( nk
[Table]
1) + n 2 k
[Table]
k [EGS12]
[Table]
✓ ✗
Tree ⌈
[Table]
k
[Table]
1 n ⌉ [GKS
[Table] [Table]
✓ ✓
Clique
O ( nk log log k )
[SKDV15]
[Table]
✗ ✗
General
[Table]
n [EGS12]
[Table]
✗ ✗
General ⌈
[Table]
2 ( ω ( E ( G ))
[HB14]
[Table]
O (log
[Table]
n ) [HLV14]
E Verification E.1 Properties of covered edges
Lemma 17 (Properties of covered edges) .
Let H be the edge-subgraph induced by covered edges of a DAG G .
Then, every vertex in H has at most one incoming edge and thus H is a forest of directed trees.
If a DAG G is a clique on n ≥ 3 vertices v 1 , v 2 , . .
. , v n with π ( v 1 ) <
π ( v 2 ) < . . .
<
π ( v n ) , then v 1 → v 2 , . . .
, v n − 1 → v n are the covered edges of G .
Size
Adaptive
Randomized
Lower bound
Reference
[Table]
[Ebe10]
[Table] [Table]
[Table]
] ∞ ✗
[Table]
] ∞
[Table]
[HLV14]
[Table]
[HB14]
If u → v is a covered edge in a DAG G , then u cannot be a sink of any maximal clique of G .
Proof.
Suppose, for a contradiction, that there exists some vertex w with two incoming covered edges u → w ← v .
For u → w to be covered, we must have v → u .
Similarly, for v → w to be covered, we must have u → v .
However, we cannot simultaneously have both u → v and v → u , as it would lead to a contradiction as G is a DAG.
Furthermore, since G is acyclic, it implies that H must also be acyclic.
Therefore H is a forest of directed trees.
Let A = { v 1 → v 2 , v 2 → v 3 , . .
. , v n − 1 → v n } be the set of arcs of interest.
For any arc v i → v i +1 ∈ A , one can check that they share the same parents by the topological ordering π .
Consider an arbitrary arc v i → v j ̸∈ A .
Since v i → v j ̸∈ A , there exists v k ∈ V such that π ( v i ) <
π ( v k ) <
π ( v j ) .
Then, since G is a clique, we must have v i → v k → v j and so v i
→ v j cannot be covered since v k ∈
Pa ( v j ) \ { v i } but v k ̸∈ Pa ( v i ) \ { v j } .
Suppose, for a contradiction, that u is a sink of some maximal clique K h of size h and u → v is a covered edge.
Then, we must have Pa ( v ) \ { u } =
Pa ( u ) \ v .
However, that means that V ( K h ) ∪ { v } is a clique of size h
+ 1 .
Thus, K h was not a maximal clique.
Contradiction
E.2 Characterization via separation of covered edges
Lemma 27 (Necessary) .
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
If I ⊆ 2 V is a verifying set, then I separates all unoriented covered edge u ∼ v of G .
Proof.
Let u → v be an arbitrary unoriented covered edge in E ( G ∗ ) and I be an intervention set where u and v are never separated by any S ∈ I .
Then, interventions will not orient u
→ v and we can only possibly orient it via Meek rules.
We check that all four Meek rules will not orient u
→ v :
(R1)
For R1 to trigger, we need to have w → u → v and w ̸∼ v for some vertex w ∈ V \ { u, v } .
However, such a vertex w will imply that u → v is not a covered edge.
(R2)
For R2 to trigger, we need to have u → w → v for some w ∈ V \ { u, v } .
However, such a vertex w will imply that u → v is not a covered edge.
(R3)
For R3 to trigger, we must have w ∼ u ∼ x , w → v ← x , and w ̸∼ x for some w, x ∈ V \ { u, v } .
Since u → v is a covered edge, we must have w → u ← x .
This implies that both w → u ← x appear as
v-structures in E ( G ∗ ) and thus R3 will not trigger.
(R4)
For R4 to trigger, we must have w ∼ u ∼ x , w → x → v , and w ̸∼ v for some w, x ∈ V \ { u, v } .
Since u → v is covered, we must have x → u .
To avoid directed cycles, it must be the case that w → u .
However, this implies that u → v is not covered since w → u while w ̸∼ v .
Therefore, I cannot be a verifying set if u and v are never separated by any S ∈ I .
Lemma 28 (Sufficient) .
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
If I ⊆ 2 V is an intervention set that separates every unoriented covered edge
u ∼ v of G
, then I is a verifying set.
Proof.
Let I be an arbitrary intervention set such that every unoriented covered edge u ∼ v of G has an set S ∈ I that separates u and v .
Fix an arbitrary valid vertex permutation π : V → [ n ] of
G .
For any i ∈ [ n ] , define V i =
π − 1 (1) , . . .
, π − 1 ( i ) } ⊆ V as the i smallest vertices according to π ’s ordering.
We argue that any unoriented edges in E ( G ∗ )
[ V i ] will be oriented by I by performing induction on i .
Base case ( i = 1 ) :
There are no edges in G [ V 1 ] so E ( G ∗ )
[ V 1 ] is trivially fully oriented.
Inductive case ( i > 1 ) : Suppose v = π − 1 ( i ) .
By induction hypothesis, E ( G ∗ )
[ V i − 1 ] is fully oriented so any unoriented edge in E ( G ∗ )
[ V i ] must have the form u → v , where π ( u ) <
π ( v ) .
For any u → v is an unoriented covered edge in E ( G ∗ )
[ V i ] , there will be an intervention
S ∈ I that separates u and v (or both), and hence orient u
→ v .
Suppose, for a contradiction, that there exists unoriented edges in E ( G ∗ )
[ V i ] that are not covered edges.
Let u → v be the unoriented edge where π ( u ) is maximized .
Then, one of the two cases must occur:
Case 1 ( u → v and ∃ w ∈ V i such that w → u and w ̸→ v ) Since π ( v ) >
π ( w ) , we must have w ̸∼ v .
By induction, w → u will be oriented.
So, R1 orients u → v .
Case 2 ( u → v and ∃ w ∈ V i such that w → v and w ̸→ u )
If w ̸∼ u , then u → v ← w is a v-structure and u → v would have been oriented.
If w ∼ u , then we must have u → w and π ( u ) < π ( w ) .
By induction, u → w will be oriented.
Since π ( u ) < π ( w ) and π ( u ) is maximized out of all possible unoriented edges in E ( G ∗ )
[ V i ] involving v , w → v must be an oriented edge and will be oriented by I .
So, R2 orients u → v .
In either case, u → v will be oriented.
Contradiction.
Combining Lemma 27 and Lemma 28 gives the following characterization of verifying sets.
Theorem 9.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
An intervention set I is a verifying set for
G if and only if I is a set that separates every covered edge of G that is unoriented in E ( G ∗ ) .
E.3 Solving the verification problem
Corollary 10.
Given an essential graph E ( G ∗ ) of an unknown ground truth DAG G ∗ and a causal
DAG G ∈ [ G ∗ ] , we can test if G ?
=
G ∗ by intervening on any verifying set of G .
Furthermore, in the worst case, any algorithm that correctly resolves G ?
=
G ∗ needs at least ν ( G ) interventions.
Proof.
Using Theorem 9, we know that the minimal verifying set for G is the smallest possible set of interventions I such that all covered edges of G is separated by some intervention S ∈
I .
If the graph is fully oriented after intervening on all S ∈
I , then it must be the case that G = G ∗ .
Otherwise, we will either detect that some edge orientation disagrees with G or there remains some unoriented edge at the end of all our interventions.
In the first case, we trivially conclude that G ̸ =
G ∗ .
In the second case, Theorem 9 tells us that any such unoriented edge must be an unoriented covered edge of G ∗ (which was not an unoriented cover edge of G A ) and so we can also conclude that G ̸ =
G ∗ .
Suppose, for a contradiction, that some algorithm A uses strictly less than ν ( G ) interventions to verify a graph G .
Then, there exists at least one covered edge u → v in G is not separated by the interventions used.
Define G ′
=
G and G ′ 2 as G with this covered edge reversed (i.e. v → u instead).
Note that G ′ 2 is also a DAG in the same MEC due to Lemma 7.
We see that A cannot distinguish between G ′ 1 and G ′ 2 and thus cannot correctly output G = G ′ or G ̸ = G ′ respectively.
This is a contradiction, i.e. at least ν ( G ) interventions are needed in the worst case.
E.4 Efficient optimal verification via atomic interventions
Theorem 11.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
An atomic intervention set
I is a minimal sized verifying set for G if and only if I is a minimum vertex cover of unoriented covered edges of G .
A minimal sized atomic verifying set can be computed in polynomial time.
Proof.
For | S | = 1 , we see that I separates every unoriented covered edge in E ( G ) if and only if the set ∪ S ∈I S is a vertex cover of the unoriented covered edges in E ( G ) .
Lemma 17 tells us that the edge-induced subgraph on covered edges of G is a forest.
Thus, one can perform the standard dynamic programming algorithm to compute the minimum vertex cover on each tree.
E.5 Efficient near-optimal verification via bounded size interventions
We first prove a simple lower bound on the minimum number of non-atomic bounded size interventions (i.e. | S | ≤ k ) needed for verification and then show how to adapt a minimal atomic verifying set to obtain a near-optimal bounded size verifying set.
Lemma 29.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
Suppose I is an arbitrary bounded size intervention set.
Intervening on vertices in ∪ S ∈I S one at a time, in an atomic fashion, can only increase the number of separated covered edges of G .
Proof.
Consider an arbitrary covered edge u ∼ v that was seprated by some intervention S ∈
I .
This means that |{ u, v } ∩ S | = 1 .
Without loss of generality, suppose u ∈ S .
Then, when we intervene on u in an atomic fashion, we would also separate the edge u ∼ v .
Lemma 30.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
If ν 1 ( G ) =
ℓ , then ν k ( G ) ≥ ⌈ ℓk ⌉ .
Proof.
A bounded size intervention set of size strictly less than ⌈ ℓk ⌉ involves strictly less than ℓ vertices.
By Lemma 29, such an intervention set cannot be a verifying set.
Lemma 31.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
If ν 1 ( G ) =
ℓ , then there exists a polynomial time algorithm that computes a bounded size verifying set I of size |I| ≤ ⌈ ℓk ⌉ + 1 .
Proof.
Consider any atomic verifying set I of G of size ℓ .
By Lemma 17, the edge-induced subgraph on covered edges of G is a forest and is thus 2-colorable.
Split the vertices in I into partitions according to the 2-coloring.
By construction, vertices belonging in the same partite will not be adjacent and thus choosing them together to be in an intervention S will not reduce the number of separated covered edges.
Now, form interventions of size k by greedily picking vertices in I within the same partite.
For the remaining unpicked vertices (strictly less than k of them), we form a new intervention with them.
Repeat the same process for the other partite.
This greedy process forms groups of size k and at most 2 groups of sizes, one from each partite.
Suppose that we formed z groups of size k in total and two “leftover groups” of sizes x and y , where 0 ≤ x, y < k .
Then, ℓ = z · k + x + y , ℓk
= z + x + yk , and we formed at most z + 2 groups.
If 0 ≤ x + y < k , then ⌈ ℓk ⌉ =
z
+ 1 .
Otherwise, if k ≤ x + y < 2 k , then ⌈ ℓk ⌉ =
z
+ 2 .
In either case, we use at most ⌈ ℓk ⌉ + 1 interventions, each of size ≤ k .
One can compute a bounded size intervention set efficiently because the following procedures can all be run in polynomial time: (i) checking if each edge is a covered edge; (ii) computing a minimum vertex cover on a tree; (iii) 2-coloring a tree; (iv) greedily grouping vertices into sizes ≤ k .
Theorem 12 follows by combining Lemma 30 and Lemma 31.
Theorem 12.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
If ν 1 ( G ) =
ℓ , then ν k ( G ) ≥ ⌈ ℓk ⌉ and there exists a polynomial time algo.
to compute a bounded size intervention set I of size |I| ≤ ⌈ ℓk ⌉ +1 .
Observe that there exists graphs and values k such that the optimal bounded size verifying set requires at least ⌈ ℓk ⌉ +1 , and thus our upper bound is tight in the worst case: Fig.
6 shows there exists a family of graphs (and values k ) such that the optimal bounded size verifying set requires ⌈ ℓk ⌉ + 1 .
However, we do not have a proof that Theorem 12 is optimal (or counter example that it is not).
Conjecture 32 .
The construction of bounded size verifying set given in Theorem 12 is optimal.
Induced graph H k −
E.6 Generalization to minimum cost verifying sets with additive cost structures
Consider an essential graph which is a star graph on n nodes where the leaves have cost 1 and the root has cost significantly larger than n .
For atomic verifying sets, we see that the minimum cost verifying set to intervene on the leaves one at a time while the minimum size verifying set is to simply intervene on the root.
Since one may be more preferred over the other, depending on the actual real-life situation, we propose to find a verifying set I which minimizes
[Equation]
where α, β
[Equation] [Equation]
so as to explicitly trade-off between the cost and size of the intervention set.
This objective also naturally allows the constraint of bounded size interventions by restricting | S | ≤ k for all S ∈ I .
Theorem 13.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
An atomic verifying set I for G that minimizes Eq.
(1) can be computed in polynomial time.
Proof.
By Theorem 9 and accounting for Eq.
(1), we need to compute a weighted minimum vertex cover in the edge-induced subgraph on covered edges of G .
Efficiency is implied by Lemma 17.
For bounded size interventions, we show that the ideas in Appendix E.5 translate naturally to give a near-optimal minimal generalized cost verifying set.
To prove our lower bound, we first consider an optimal atomic verifying set for a slightly different objective from Eq.
Lemma 33.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
Let I A be an atomic verifying set for G that minimizes α · w ( I A ) + βk · |I
A | and I B be a bounded size verifying set for G that minimizes
Eq.
Then, α · w ( I A ) + βk · |I
A | ≤ α · w ( I B ) + β · |I B | .
Proof.
Let I =
(cid:80) S ∈I B S be the atomic verifying set derived from I B by treating each vertex as an atomic intervention.
Clearly, w ( I B ) ≥ w ( I ) and k · |I B | ≥ |I| .
So,
[Equation]
since I A = argmin atomic verifying set I ′ (cid:110)
[Equation]
+
[Equation]
Theorem 14.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
Suppose the optimal bounded size intervention set that minimizes Eq.
(1) costs OPT .
Then, there exists a polynomial time algorithm that computes a bounded size intervention set with total cost OPT + 2 β .
Proof.
Let I A be an atomic verifying set for G that minimizes α · w ( I A ) + βk · |I
A | and I B be a bounded size verifying set for G that minimizes Eq.
Using the polynomial time greedy algorithm in Lemma 31, we construct bounded size intervention set I by greedily grouping together atomic interventions from I A .
Clearly, w ( I ) = w ( I A ) and |I| ≤ ⌈ |I
A | k ⌉ + 1 .
So, α · w ( I ) + β · |I| ≤ α · w ( I A ) + β · (cid:18)(cid:24) |I
A | k (cid:25)
[Equation]
(cid:19) ≤ α ·
[Equation]
+
[Equation]
|
[Equation]
| +
[Equation]
= OPT + 2 β where the second inequality is due to Lemma 33.
F Search
We begin by proving a strengthened version of [SMG + 20]’s lower bound.
Note that we will be discussing only atomic interventions in Lemma 21, so notation such as I ∩ V ( H ) makes sense for sets I , V ( H ) ⊆
V .
Definition 34 (Moral DAG, Definition 3 of [SMG + 20]) .
A graph G is a moral DAG if its essential graph only has a single chain component.
That is, after removing directed edges, there is only one single connected component remaining.
Lemma 35 (Lemma 6 of [SMG + 20]) .
Let G be a moral DAG.
Then, ν 1 ( G ) ≥ ⌊ ω ( skeleton ( G ))⌋ .
Lemma 21.
Fix an essential graph E ( G ∗ ) and G ∈ [ G ∗ ] .
Then,
[Equation]
Proof.
Consider be an arbitrary set of atomic interventions I ⊆
V and the resulting I -essential graph
E I ( G ∗ ) .
Let H ∈ CC
( E I ( G ∗ )) be an arbitrary chain component.
Let I ′ ⊆
V be an arbitrary atomic verifying set of G .
Then, E I ′ ( G ∗ ) =
G and thus
E I ′
( G ∗ )
[ V ( H )]
= G [ V ( H )] .
Then,
[Equation]
where the first equality is due to Lemma 3 and the last equality is because I ′ is a verifying set of G .
So, ( I ′ \ I )
∩ V ( H ) is a verifying set for G [ V ( H )] , and so is I ′
∩ V ( H ) .
Thus, by minimality of ν 1 , we have ν 1 ( G [ V ( H )]) ≤ |I ′
∩ V ( H ) | for any atomic verifying set I ′
⊆
V of G .
Since H ∈ CC ( E I ( G ∗ )) , the graph G [ V ( H )] is a moral DAG.
Since H is a subgraph of G [ V ( H )] , ω ( H ) ≤ ω ( G [ V ( H )]) .
Thus, by Lemma 35, we have ν 1 ( G [ V ( H )]) ≥
⌊ ω ( G [ V ( H )])⌋ ≥
⌊ ω ( H ) 2 ⌋ .
Now, suppose I ∗ is a minimal size verifying set of G .
Then, ν
[Equation] [Equation]
The claim follows by taking the maximum over all possible atomic interventions I ⊆ V .
For convenience, we reproduce Algorithm 1 below.
Lemma 36.
Algorithm 1 terminates after at most O (log n ) iterations.
Proof.
Consider an arbitrary iteration i and chain component H with 1/2-clique separator K H .
Edges within K H will be fully oriented by Step 6.
We now argue that any edge with exactly one endpoint in K H will be oriented by Algorithm 1.
For k ′ H = 1 , the algorithm intervenes on all nodes in K H and thus such edges will be oriented trivially.
For k ′ H > 1 , the additional ≤ | K H | /k
H do 4:
For each H ∈ CC ( E I i ( G ∗ )) of size | H | ≥ 2 , find a 1/2-clique separator K H using
Theorem 20.
Define Q =
{ K H } H ∈ CC ( E I
i ( G ∗ ))
, | H |≥ 2 as the union of clique separator nodes.
5: if k = 1 or | Q | = 1 then Define C i
=
Q as an atomic intervention set.
6: else Define k ′ =
min { k, | Q | / 2 } , a = ⌈| Q | /k ′
⌉ ≥ 2 , and ℓ = ⌈ log a n ⌉ .
Compute labelling scheme of [SKDV15, Lemma 1] on Q with ( | Q | , k ′ , a ) , and define C i = { S x,y } x ∈ [ ℓ ] ,y ∈
[ a ] , where S x,y ⊆ Q is the subset of vertices whose x th letter in the label is y .
Update i ← i
1 , intervene on C i to obtain E
I
G
, and update I i ← I
1 ∪ C
i .
8: end while interventions after the bounded size intervention strategy of [SKDV15] ensures that every edge with exactly one endpoint in K H will be separated.
Thus, after each iteration, the only remaining unoriented edges lie completely within the separated components that are of half the size.
Since the algorithm always recurse on graphs of size at least half the previous iteration, we see that | H | ≤ n/ 2 i for any H ∈ CC ( E I i ( G ∗ )) .
Thus, all chain components will become singletons after
O (log n ) iterations and the algorithm terminates with a fully oriented graph.
Theorem 15.
Fix an essential graph E ( G ∗ ) with an unknown underlying ground truth DAG G ∗ .
Given k = 1 , Algorithm 1 runs in polynomial time and computes an atomic intervention set I in a deterministic and adaptive manner such that E I ( G ∗ ) =
G ∗ and |I| ∈ O (log( n ) · ν 1 ( G ∗ )) .
Proof.
Algorithm 1 runs in polynomial time because 1/2-clique separators can be computed efficiently (see Theorem 20).
Fix an arbitrary iteration i of Algorithm 1 and let G i be the partially oriented graph obtained after intervening on I i .
By Lemma 21, (cid:80) H ∈ CC ( E I i ( G ∗ ))
⌊ ω ( H ) 2 ⌋ ≤ ν 1 ( G ∗ ) .
By definition of ω , we always have | K H | ≤ ω ( H ) .
Thus, Algorithm 1 uses at most 2 · ν 1 ( G ∗ ) interventions in each iteration.
By Lemma 36, there are O (log n ) iterations and so O (log( n ) · ν 1 ( G ∗ )) atomic interventions are used by Algorithm 1.
Lemma 37 (Lemma 1 of [SKDV15]) .
Let ( n, k, a ) be parameters where k ≤ n/ 2 .
There is a polynomial time labeling scheme that produces distinct ℓ length labels for all elements in [ n ] using letters from the integer alphabet { 0 } ∪ [ a ] where ℓ = ⌈ log a n ⌉ .
Further, in every digit (or position), any integer letter is used at most ⌈ n/a ⌉ times.
This labelling scheme is a separating system: for any i, j ∈ [ n ] , there exists some digit d ∈ [ ℓ ] where the labels of i and j differ.
Theorem 16.
Fix an essential graph E ( G ∗ ) with an unknown underlying ground truth DAG G ∗ .
Given k > 1 , Algorithm 1 runs in polynomial time and computes a bounded size intervention set I in a deterministic and adaptive manner such that E I ( G ∗ ) =
G ∗ and |I| ∈ O (log( n ) · log( k ) · ν k ( G ∗ )) .
Proof.
Algorithm 1 runs in polynomial time because 1/2-clique separators can be computed efficiently (see Theorem 20).
The label computation of [SKDV15, Lemma 1] also runs in polynomial time.
Fix an arbitrary iteration i of Algorithm 1 and let G i be the partially oriented graph obtained after intervening on I i .
Since E ( G i ) ⊆
E ( G ∗ ) , we see that ν
( G i ) ≤ ν 1 ( G ∗ ) .
Algorithm 1 intervenes on
[Equation]
C i | ≤
[Equation]
sets of bounded size interventions, where k ′ =
min { k, | Q | / 2 } > 1 .
Since ν 1 ( G ∗ ) ≥ (cid:80) H ∈ CC ( E ( G ∗ ))
⌊ ω
( H ) / 2 ⌋ , we know from Lemma 30 that
[Equation]
Since Q is the union of clique separator nodes, we have that | Q | ≤ (cid:80) H ∈ CC ( E ( G ∗ ))
ω ( H ) and so ν
k
( G ∗ )
∈ Ω( | Q | /k ) .
Note that ν
k ( G ∗ ) ≥ 1 always.
Case 1: k ≤ | Q | / 2 .
Then, k ′ =
k and | C i
[Equation]
≤
[Equation] [Figure] [Equation] [Figure]
[Equation] [Figure] [Equation] [Figure]
Q | k (cid:25) [Figure] [Figure] O (cid:18) | Q | k · log( k ) (cid:19)
Case 2: k ≥ | Q | / 2 .
Then, k ′ =
| Q | / 2 and | C i | ≤ 2 · ⌈ log 2 | Q |⌉ ∈
O (log( k ))
In either case, we see that | C i | ∈
O ( ν k ( G ∗ ) · log k ) .
By Lemma 36, there are O (log n ) iterations and so O (log( n ) · log( k ) · ν k ( G ∗ ))
bounded size interventions are used by Algorithm 1.
G Example illustrating the power of Lemma
[Figure]
[Figure]
[Figure]
G ∗ ) .
The partially directed graph E I ( G ∗ ) shows the learnt arc directions after intervening on I and applying Meek rules.
Applying the lower bound of [SMG + 20] on CC ( E I ( G ∗ )) now gives a much stronger lower bound of ≈ n due to the single edge components.
H Experiments and implementation
Our code and entire experimental setup is available at https://github.com/cxjdavin/ verification-and-search-algorithms-for-causal-DAGs .
H.1 Implementation details
Verification We implemented our verification algorithm and tested its correctness on some wellknown graphs such as cliques and trees for which we know the exact verification number.
Search We use FAST CHORDAL SEPARATOR algorithm in [GRE84] to compute a chordal graph separator.
This algorithm first computes a perfect elimination ordering of a given chordal graph and we use Eppstein’s LexBFS implementation ( https://www.ics.uci.edu/~eppstein/PADS/
LexBFS.py ) to compute such an ordering.
H.2 Experiments
We base our evaluation on the experimental framework of [SMG + 20] ( https://github.com/ csquires/dct-policy ) which empirically compares atomic intervention policies.
The experiments are conducted on an Ubuntu server with two AMD EPYC 7532 CPU and 256GB DDR4 RAM.
H.2.1 Synthetic graph classes
The synthetic graphs are random connected DAGs whose essential graph is a single chain component (i.e. moral DAGs in [SMG + 20]’s terminology).
Below, we reproduce the synthetic graph generation procedure from [SMG + 20, Section 5].
1. Erd˝os-Rényi styled graphs
These graphs are parameterized by 2 parameters: n and density ρ .
Generate a random ordering σ over n vertices.
Then, set the in-degree of the n th vertex (i.e. last vertex in the ordering) in the order to be X n = max { 1 , Binomial ( n − 1 , ρ ) } , and sample X n parents uniformly form the nodes earlier in the ordering.
Finally, chordalize the graph by running the elimination algorithm of [KF09] with elimination ordering equal to the reverse of σ .
2. Tree-like graphs
These graphs are parameterized by 4 parameters: n , degree d , e min , and e max .
First, generate a complete directed d -ary tree on n nodes.
Then, add Uniform ( e min , e max ) edges to the tree.
Finally, compute a topological order of the graph by DFS and triangulate the graph using that order.
H.2.2 Algorithms benchmarked
The following algorithms perform atomic interventions .
Our algorithm separator perform atomic interventions when given k = 1 and bounded size interventions when given k > 1 .
random :
A baseline algorithm that repeatedly picks a random non-dominated node (a node that is incident to some unoriented edge) from the interventional essential graph dct : DCT Policy of [SMG + 20] coloring : Coloring of [SKDV15] opt_single :
OptSingle of [HB14] greedy_minmax : MinmaxMEC of [HG08] greedy_entropy : MinmaxEntropy of [HG08] separator : Our Algorithm 1.
It takes in a parameter k to serve as an upper bound on the number of vertices to use in an intervention.
H.2.3 Metrics measured
Each experiment produces 4 plots measuring “average competitive ratio”, “maximum competitive ratio”, “intervention count”, and “time taken”.
For any fixed setting, 100 synthetic DAGs are generated as G ∗ for testing, so we include error bars for “average competitive ratio”, “average intervention count”, and “time taken” in the plots.
For all metrics, “lower is better”.
The competitive ratio for an input DAG G ∗ is measured in terms of total atomic interventions used to orient the essential graph of G ∗ to become G ∗ , divided by minimum number of interventions needed to orient G ∗ (i.e. the verification number ν 1 ( G ∗ ) of G ∗ ).
For non-atomic interventions, we know (Lemma 30) that ν
k ( G ∗ ) ≥ ⌈ ν 1 ( G ∗ ) /k
⌉ , so we use ⌈ ν 1 ( G ∗ ) /k
⌉ as the denominator of the competitive ratio computation.
While the competitive ratio increases as k increases (Theorem 16), the number of interventions used decreases as k increases.
Time is measured as the total amount of time taken to finish computing the nodes to intervene and performing the interventions.
Note that our algorithm can beat random in terms of runtime in some cases because random uses significantly more interventions and hence more overall computation.
H.2.4 Experimental results
Qualitatively, our Algorithm 1 with k = 1 has a similar competitive ratio to the current best-known atomic intervention policies in the literature ( DCT and Coloring ) while running significantly faster for some graphs (roughly ∼ 10x faster on tree-like graphs).
Experiment 1 Graph class 1 with n ∈ { 10 , 15 , 20 , 25 } and density ρ = 0 .
This is the same setup as [SMG + 20].
Additionally, we run Algorithm 1 with k = 1 .
See Fig. 8.
[Figure]
Experiment 2 Graph class 1 with n ∈ { 8 , 10 , 12 , 14 } and density ρ = 0 .
This is the same setup as [SMG + 20].
Additionally, we run Algorithm 1 with k = 1 .
Note that this is the same graph class as experiment 1, but on smaller graphs because some slower algorithms are being run.
See Fig. 9.
Experiment 3 Graph class 2 with n ∈ { 100 , 200 , 300 , 400 , 500 } and ( degree , e min , e max ) =
This is the same setup as [SMG + 20].
Additionally, we run Algorithm 1 with k = 1 .
See
Fig.
Experiment 4 Graph class 1 with n ∈ { 10 , 15 , 20 , 25 } and density ρ = 0 .
We run Algorithmwith k ∈ 1,2,3,5 on the same graph class as experiment 1, but on larger graphs.
See Fig.
Experiment 5 Graph class 2 with n ∈ { 100 , 200 , 300 , 400 , 500 } and ( degree , e min , e max ) =
We run Algorithm 1 with k ∈ { 1 , 2 , 3 , 5 } on the same graph class as experiment 3, but on denser graphs.
See Fig.
[Figure] [Figure]
[Figure] [Figure]