Efficiently Estimating Cycle Statistics on Graphs via Spanning Trees
Josef Hoppe, Michael T. Schaub
Abstract
Simple cycles encode feedback and alternative routes in networks and are important for routing problems, the convergence of dynamical processes on networks, message passing and belief propagation, or even static network characterizations such as structural balance in signed networks. Being able to assess and sample from the cycle structure of a graph is thus of interest in many analysis contexts. However, due to the combinatorial growth of the cycle space with graph size, the computational cost for such sampling is high. Therefore, we here introduce a sampling framework that enables us to sample from the cycle structure without enumerating all cycles. Specifically, the method draws uniform spanning trees and collects the fundamental cycles created by their non-tree edges, such that each tree provides an informative subset of simple cycles. Because cycles are included with unequal probabilities and are dependent within each subset, we formulate an inclusion-probability-based Horvitz-Thompson estimator, which we average over random subsets, a procedure we call Monte Carlo Horvitz-Thompson. For this, we sample multiple Horvitz-Thompson estimators and introduce a method to further subsample the individual estimators for increased computational performance. For sampling cycles, the estimator is unbiased if exact cycle inclusion probabilities are known. To extend the method to larger networks, we derive an efficient mean-field approximation for the inclusion probabilities and characterize the graph regimes in which it remains accurate. Experiments on synthetic and real-world networks demonstrate the computational scaling and statistical performance of the framework. We then illustrate the utility of Monte Carlo Horvitz-Thompson estimation by estimating cycle counts and cycle-level frustration statistics in signed spin systems. An implementation is available in the py-raccoon package.
Create a lesson
Related papers
Effective and Efficient Rumor Assertion Over Large-Scale Social Networks (Technical Report)
Shared title terminology · Qi Wen, Vipin Chaudhary, Xiang Lian et al.
LEDGER: LLM-Evidence-Driven Graph-Encoded Clustering-Friendly Representations for Short Texts
Shared title terminology · Jie Wang, Kuang Zhou
Efficient Influence Minimization via Source-Integrated Sampling
Shared title terminology · Jingbang Chen, Junyao Wang
Do links to retracted papers predict future retractions? An out-of-sample test on the open biomedical citation graph
Shared title terminology · Hossein Mohasel Arjomandi
Generative Learning on Dynamic Text-Attributed Graphs
Shared title terminology · Zhenyu Yang, Yuhong Chen, Binli Luo et al.
BaCon: Band-Concentrated Exponential Random Graph Models
Shared title terminology · Enrico Schiazzano, Giulia Preti, Aristides Gionis et al.