Scalable and exact sampling method for probabilistic generative graph models


Moreno, Sebastian; Pfeiffer, Joseph J.; & Neville, Jennifer (2018). Scalable and exact sampling method for probabilistic generative graph models. Data Mining and Knowledge Discovery. vol. 32 (6) pp. 1561-1596


Interest in modeling complex networks has fueled the development of multiple probabilistic generative graph models (PGGMs). PGGMs are statistical methods that model the network distribution and match common characteristics of real world networks. Recently, scalable sampling algorithms for well known PGGMs, made the analysis of large-scale, sparse networks feasible for the first time. However, it has been demonstrated that these scalable sampling algorithms do not sample from the original underlying distribution, and sometimes produce very unlikely graphs. To address this, we extend the algorithm proposed in Moreno et al. (in: IEEE 14th international conference on data mining, pp 440–449, 2014) for a single model and develop a general solution for a broad class of PGGMs. Our approach exploits the fact that PGGMs are typically parameterized by a small set of unique probability values—this enables fast generation via independent sampling of groups of edges with the same probability value. By sampling within groups, we remove bias due to conditional sampling and probability reallocation. We show that our grouped sampling methods are both provably correct and efficient. Our new algorithm reduces time complexity by avoiding the expensive rejection sampling step previously necessary, and we demonstrate its generality, by outlining implementations for six different PGGMs. We conduct theoretical analysis and empirical evaluation to demonstrate the strengths of our algorithms. We conclude by sampling a network with over a billion edges in 95 s on a single processor.


Reference Type

Journal Article

Journal Title

Data Mining and Knowledge Discovery


Moreno, Sebastian
Pfeiffer, Joseph J.
Neville, Jennifer

Year Published


Volume Number


Issue Number





April 21, 2018





Reference ID