This is the accompanying repository of the "Subset verification and search algorithms for causal DAGs" paper. It is available at https://arxiv.org/abs/2301.03180. Our experiments are based on https://github.com/csquires/dct-policy, the accompanying repository of [SMG+20].
To reproduce our figures in the appendix, execute bash script.sh after cloning. The script does the following:
- Download necessary files
- Modify the
dct-policycodebase appropriately for our experiments - Run the experiments
- Generate the plots and place in a folder called
figures
We also included a copy of the produced figures sub-directory in here so you may look at the output without running the script.
We implemented our subset verification algorithm and tested its correctness on random trees and random Erdős-Rényi graphs with random subsets of target edges
We modified the 1/2-clique separator subroutine of [GRE84] within the clique-separator based search algorithm of [CSB22] by only assigning non-zero weights to endpoints of target edges.
We modified them to take in target edges
As justified by Section 3.1 in our paper, it suffices to study the performance of algorithms on connected DAGs without v-structures. Our graphs are generated in the following way:
- Fix the number of nodes
$n$ and edge probability$p$ - Generate a random tree on
$n$ nodes - Generate a random Erdős-Rényi graph
$G(n,p)$ - Combine their edgesets and orient the edges in an acyclic fashion: orient
$u \to v$ whenever vertex$u$ has a smaller vertex numbering than$v$ . - Add arcs to remove v-structures: for every v-structure
$u \to v \gets w$ in the graph, we add the arc$u \to w$ whenever vertex$u$ has a smaller vertex numbering than$w$ .
In this experiment, we study how the subset verification number scales when the target edges
For each pair of graph parameters
Above: Plots for
While the edge probability values may seem small, the graph is actually quite dense due to the addition of arcs to remove v-structures.
Below, we plot the number of edges of our generated graphs and compare it against the maximum number of possible edges.
Observe that the generated graph is almost a complete graph when
Above: We plot the number of edges in our generated synthetic graphs and compare it against the maximum
In this experiment, we compare node-induced subset search with full search algorithms on the task of local causal graph discovery where we only wish to orient edges around a target node of interest. Following [CSB22], we base our evaluation on the experimental framework of [SMG+20] which empirically compares atomic intervention policies.
We compared the following atomic intervention algorithms against the atomic verification number
-
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 Policyof [SMG+20] -
coloring:Coloringof [SKD+15] -
separator: Clique-separator based search algorithm of [CSB22] -
SubsetSearch: Our modification ofseparatorthat treats the union of endpoints of given target edges as the vertices in the node-induced subgraph of interest. That is, we may end up increasing the set of target edges$T \subseteq E$ if the input$T$ was not already all edges within a node-induced subgraph. However, note that the given inputs$T$ for this experiment already includes all edges within a node-induced subgraph so this is not a concern.
While our algorithms to construct the Hasse diagram and solve the produced interval stabbing problem is fast, we remark that the current implementation for computing R(G*, v) for each causaldag package (https://causaldag.readthedocs.io/en/latest/#) can be slow.
In particular, it is not the
Above: SubsetSearch consistently uses less interventions than existing state-of-the-art full graph search algorithms when we only wish to orient edges within a r-hop neighborhood of a randomly chosen target node
[This paper] Davin Choo and Kirankumar Shiragur. Subset verification and search algorithms for causal DAGs. International Conference on Artificial Intelligence and Statistics, 2023. Available at https://arxiv.org/abs/2301.03180
[CSB22] Davin Choo, Kirankumar Shiragur, and Arnab Bhattacharyya. Verification and search algorithms for causal DAGs. Advances in Neural Information Processing Systems, 2022. Available at https://arxiv.org/abs/2206.15374
[GRE84] John R. Gilbert, Donald J. Rose, and Anders Edenbrandt. A Separator Theorem for Chordal Graphs. SIAM Journal on Algebraic Discrete Methods, 1984. Available at: https://epubs.siam.org/doi/abs/10.1137/0605032
[SKD+15] Karthikeyan Shanmugam, Murat Kocaoglu, Alexandros G. Dimakis, and Sriram Vishwanath. Learning causal graphs with small interventions. Advances in Neural Information Processing Systems, 2015. Available at: https://arxiv.org/pdf/1511.00041.pdf
[SMG+20] Chandler Squires, Sara Magliacane, Kristjan Greenewald, Dmitriy Katz, Murat Kocaoglu, and Karthikeyan Shanmugam. Active Structure Learning of Causal DAGs via Directed Clique Trees. Advances in Neural Information Processing Systems, 2020. Available at: https://arxiv.org/pdf/2011.00641.pdf
[WBL21] Marcel Wienöbst, Max Bannach, and Maciej Liśkiewicz. Extendability of causal graphical models: Algorithms and computational complexity. Uncertainty in Artificial Intelligence, 2021. Available at: https://proceedings.mlr.press/v161/wienobst21a.html








