Abstract
Large networks, as a form of big data, have received increasing attention in data science, especially for large social networks reaching hundreds of millions of nodes. Analyzing and modeling these data to understand connectivity and dynamics is crucial. Exponential random graph models (ERGMs) are popular for modeling complex network structures, but they struggle to scale due to the unknown normalizing constant in their likelihood functions. Traditional Markov chain Monte Carlo (MCMC) strategies often suffer from poor convergence and model degeneracy. This paper introduces GLMLE, a computational procedure built upon graph limit theory. By approximating the normalizing constant using graphons and simple function approximation, GLMLE provides a fast, scalable alternative. Simulation studies and real-world data analysis demonstrate that GLMLE outperforms MCMC-based methods for networks larger than 100 nodes, offering stable parameter estimation even for networks with nearly 100,000 nodes.
Introduction: The Normalizing Constant Bottleneck
Exponential Random Graph Models (ERGMs) are essential tools for social network analysis, allowing researchers to capture structural dependencies like transitivity (triangles) and preferential attachment (stars). However, the maximum likelihood estimation (MLE) of ERGM parameters is notoriously difficult. The probability of observing a specific graph $G$ is defined as:
$$P_\theta(G) = \frac{\exp(\theta^T s(G))}{\kappa(\theta)}$$
where $\kappa(\theta)$ is the normalizing constant. Calculating $\kappa(\theta)$ requires summing over all possible graph configurations of a given size $n$. For a network of 100 nodes, this involves $2^{4950}$ possible graphs—a number far exceeding the atoms in the observable universe.
Historically, researchers have relied on Markov Chain Monte Carlo Maximum Likelihood Estimation (MCMLE). As shown in the algorithm below, MCMLE attempts to circumvent the direct calculation of $\kappa(\theta)$ by sampling graphs from the distribution to approximate the likelihood gradient.
Despite its widespread use, MCMLE is computationally expensive and prone to "degeneracy," a state where the MCMC sampler fails to converge or produces models that only predict extreme (empty or complete) graphs.
Methodology: From Discrete Graphs to Continuous Graphons
The authors propose GLMLE (Graph-Limit enabled Maximum Likelihood Estimation) to address these scalability and stability issues. Instead of treating the network as a discrete combinatorial object, GLMLE leverages the theory of graphons (graph limits).
1. Continuous Approximation
A large graph can be viewed as a realization of a continuous 2D function $w(x, y)$ on a unit square $[0, 1]^2$. This function, known as a graphon, represents the probability of an edge existing between two points in the network space.
2. Simple Function Approximation
To make the infinite-dimensional space of graphons computationally tractable, the authors approximate $w(x, y)$ using "simple functions"—essentially a step-function grid (e.g., an $m \times m$ heatmap). This reduces the problem to optimizing a finite set of parameters $\hat{c}_{ij}$.
3. The GLMLE Algorithm
The GLMLE procedure, detailed below, transforms the discrete sampling problem into a deterministic iterative optimization task.
The algorithm alternates between:
- Step A: Estimating the best-fitting graphon $\tilde{w}^{(t)}$ for the current parameters by maximizing a large-deviation objective.
- Step B: Updating the model parameters $\theta^{(t+1)}$ based on the estimated graphon.
Crucially, once the initial network statistics are calculated ($O(n^2)$), the complexity of the iterations depends on the grid size $m$, making the method independent of the number of nodes $n$ during the optimization phase.
Key Results and Scalability
The performance of GLMLE was evaluated against synthetic benchmarks and large-scale real-world datasets from Slashdot (approx. 80,000 nodes).
- Computational Speed: GLMLE successfully fitted models to the 80k-node Slashdot networks in approximately 150 seconds. In contrast, standard MCMC-based packages like
ergmoften fail to converge on networks exceeding 10,000 nodes. - Estimation Stability: Unlike the stochastic nature of MCMC, GLMLE is a deterministic optimization. This makes it significantly more robust against model degeneracy. In simulations, GLMLE showed decreasing bias and standard error as the network size $n$ increased, whereas MCMC performance often degraded.
- Effective Sample Size: The research highlights that for large networks, the "effective sample size" is driven by the complexity of the features (e.g., edges vs. triangles) rather than just the node count.
Limitations and Conclusion
The primary limitation of GLMLE is its reliance on the "Dense Graph" assumption. The underlying graphon theory applies to graph sequences where the edge count grows quadratically with the number of nodes ($|E| \sim n^2$). While many real-world social networks are sparse ($|E| \sim n$), the authors demonstrate that GLMLE still provides a highly effective and fast approximation in practice.
GLMLE represents a significant leap forward in network science, providing a bridge between advanced graph theory and practical statistical modeling. By shifting from discrete sampling to continuous optimization, it enables the analysis of social networks at a scale previously thought impossible for ERGMs.
Summary updated