Skip to content
conftrace_
2019 UAI UAI 2019

Exact Sampling of Directed Acyclic Graphs from Modular Distributions

We consider the problem of sampling directed acyclic graphs (DAGs) from a given distribution. We assume the sampling distribution is modular, i.e., the probability of a DAG is a product of local factors, each of which only depends on a node and its parents in the DAG. Using inclusion–exclusion recurrence relations, we give an exact sampler that requires Õ(3^n) time for preprocessing and Õ(2^n) per sample, where n is the number of nodes and Õ suppresses polylogarithmic factors. We also consider the symmetric special case where the factors only depend on the size of the parent set—this covers uniform sampling under indegree constraints. In this case, our exact sampler requires O(n^3) time for preprocessing and O(n^2) per sample; this outperforms the previous best bound even for the uniform distribution. We demonstrate the performance of both samplers also empirically.

🚀 Conference Pioneer - UAI 2019
🌉 Interdisciplinary Bridge - Artificial Intelligence and Computer Science and Mathematics & Optimization

More from UAI 2019

All UAI 2019 papers →