Abstract
Stochastic Kronecker graphs supply a parsimonious model for large sparse real-world graphs. They can specify the distribution of a large random graph using only three or four parameters. Those parameters have, however, proved difficult to choose in specific applications. This article looks at method-of-moments estimators that are computationally much simpler than maximum likelihood. The estimators are fast, and in our examples, they typically yield Kronecker parameters with expected feature counts closer to a given graph than we get from KronFit. The improvement is especially prominent for the number of triangles in the graph.
Introduction
Stochastic Kronecker Graphs (SKGs) have become a cornerstone of network science due to their ability to describe massive networks—containing millions of nodes—using a handful of parameters. This parsimony makes them ideal for simulating realistic synthetic data. However, the standard method for fitting these parameters to real-world data, Maximum Likelihood Estimation (MLE), is computationally prohibitive. For a graph with $N$ nodes, the likelihood calculation involves $N!$ possible node permutations, forcing researchers to rely on sampling tools like KronFit which can be slow and often fail to capture local structural properties.
The Method of Moments Approach
To address the limitations of MLE, this research introduces a Method of Moments (MoM) strategy. Instead of maximizing the likelihood of the observed data, the MoM approach seeks parameters that align the expected counts of specific graph sub-structures with their observed counts in the target network.
By leveraging the mathematical properties of Kronecker products, the authors derived closed-form formulas for the expected counts of several fundamental graph features. The primary features used for estimation include:
- Edges: The most basic connection between two nodes.
- Hairpins (Wedges): Two edges sharing a common central node (also known as 2-stars).
- Tripins: Three edges sharing a common central node (3-stars).
- Triangles: Three nodes forming a complete cycle of three edges.
Implementation and Optimization
The algorithm minimizes an objective function based on the sum of squared relative errors between observed and expected counts. Using relative error ($(\text{Observed} - ext{Expected}) / ext{Observed}$) is critical because graph features exist on vastly different scales; for instance, a graph may contain millions of edges but only thousands of triangles. Without normalization, the optimization would be dominated by the features with the largest raw counts.
To further accelerate the process, the authors developed a "Leading Terms" approximation. This provides a near-instantaneous initial estimate of the parameters, which can then be refined through standard optimization techniques.
Key Results and Performance
The MoM approach was tested against a variety of datasets, including coauthorship networks (arXiv), social networks (IMDB), and infrastructure graphs (Internet routers).
- Computational Speed: The MoM approach is orders of magnitude faster than MLE-based sampling. Parameter estimation that previously took hours or days can now be completed in less than a second for many graphs.
- Structural Accuracy: Parameters derived via MoM consistently yielded expected feature counts—particularly for triangles—that were significantly closer to the original graph than those produced by KronFit. This is a major advancement, as SKGs have historically struggled to replicate the high triangle density found in social networks.
- Robustness: Tests on synthetic graphs demonstrated that the method can recover "ground truth" generating parameters with high precision and minimal bias.
Limitations and Future Outlook
While MoM significantly improves parameter estimation, it cannot overcome fundamental limitations of the underlying SKG model. For example, the model still struggles with nearly planar graphs like highway networks (usroads) and generally underestimates triangle counts in dense social networks due to its assumption of independent edges. Future work may involve developing "Kronecker-like" models that introduce edge dependence to better capture clustering, while maintaining the efficient moment-based estimation framework established here.
Summary updated