Abstract
Statistical models for networks with complex dependencies pose particular challenges for model selection and evaluation. In particular, many well-established statistical tools for selecting between models assume conditional independence of observations and/or conventional asymptotics, and their theoretical foundations are not always applicable in a network modeling context. While simulation-based approaches to model adequacy assessment are now widely used, there remains a need for procedures that quantify a model's performance in a manner suitable for selecting among competing models. Here, we propose to address this issue by developing a predictive evaluation strategy for exponential family random graph models that is analogous to cross-validation. Our approach builds on the held-out predictive evaluation (HOPE) scheme introduced by Wang et al. (2016) to assess imputation performance. We systematically hold out parts of the observed network to: evaluate how well the model is able to predict the held-out data; identify where the model performs poorly based on which data are held-out, indicating e.g. potential weaknesses; and calculate general summaries of predictive performance that can be used for model selection. As such, HOPE can assist researchers in improving models by indicating where a model performs poorly, and by quantitatively comparing predictive performance across competing models. The proposed method is applied to model selection problem of two well-known data sets, and the results are compared to those obtained via nominal AIC and BIC scores.
Introduction
In social network analysis, Exponential-Family Random Graph Models (ERGMs) serve as a primary tool for understanding the generative processes behind tie formation. By modeling the probability of a network as a function of local configurations—such as reciprocity, triangles, and homophily—ERGMs capture the complex dependencies inherent in relational data. However, a persistent challenge remains: how do we choose the "best" model among several candidates?
Traditional model selection criteria, such as the Akaike Information Criterion (AIC) and the Bayesian Information Criterion (BIC), rely on assumptions of independent observations or specific asymptotic behaviors. In a single, highly dependent network, these assumptions are often violated, making AIC and BIC unreliable. While Goodness-of-Fit (GOF) tests are commonly used to assess if a model is adequate, they lack the quantitative rigor needed to rank competing models or detect overfitting. This paper introduces HOPE (Held-Out Predictive Evaluation), a framework that adapts the logic of cross-validation to the unique constraints of network data.
The HOPE Framework
The fundamental difficulty in applying cross-validation to networks is that removing an edge or a node fundamentally alters the topology the model is trying to capture. HOPE overcomes this by treating held-out data as "missing" rather than "deleted."
The Missing Data Approach
Instead of removing variables, HOPE partitions the set of possible edge states into $M$ batches. The process follows four key steps:
- Partitioning: The edge variables are divided into batches (e.g., random edges, all edges associated with specific nodes, or leave-M-out).
- Training: For each batch, the states of the held-out edges are marked as missing (NA). The model is then fit to the remaining network using Maximum Likelihood Estimation (MLE) techniques designed for missing data.
- Prediction: The fitted model is used to simulate the states of the held-out edges, conditioned on the observed portion of the network.
- Evaluation: The model's predictions are compared against the true observed states of the held-out edges.
Multi-Level Metrics
HOPE evaluates performance across three distinct granularities:
- Dyad-level: Measures the accuracy of predicting specific ties and nulls using Total Squared Loss (TSL).
- Node-level: Utilizes a "coefficient of reliability" ($\rho_C$) to assess how well the model reproduces node-specific properties, such as degree or betweenness centrality.
- Graph-level: Uses Root Mean Squared Error (RMSE) to evaluate global properties like overall centralization or density.
Empirical Validation
The authors tested HOPE against two classic datasets: Lazega’s Lawyer Network (36 partners) and a Teenage Friendship Network (50 girls).
Lazega’s Lawyer Network
In the analysis of the lawyer collaboration network, the researchers compared several models of increasing complexity. Interestingly, while AIC scores suggested that a more complex model (Model 5, including detailed homophily terms) was superior, HOPE revealed that a simpler model (Model 4) actually had better predictive power. This suggests that the additional parameters in Model 5, despite being statistically significant, led to overfitting—a nuance that traditional metrics failed to capture.
Teenage Friendship Network
This sparser network highlighted the importance of the hold-out strategy. In sparse environments, simple "leave-one-out" strategies may not provide enough variation to distinguish between models. The authors found that "node-held-out" or "leave-M-out" strategies provided much better discriminatory power, allowing researchers to identify which structural terms (like transitivity) truly contributed to the model's predictive success.
Key Insights
- Significance vs. Prediction: A major takeaway is that statistical significance does not always equate to predictive utility. HOPE provides a necessary check against the tendency to over-parameterize network models.
- Structural Integrity: By treating held-out ties as missing, HOPE preserves the network's topology. This allows the model to account for node-level covariates even when the specific ties for those nodes are being predicted.
- Computational Efficiency: Although fitting an ERGM multiple times is computationally intensive, the HOPE scheme is "embarrassingly parallel." Each fold can be processed independently, allowing the method to scale efficiently with modern multi-core processors.
Conclusion
HOPE offers a robust, simulation-based alternative to traditional model selection criteria in network science. By shifting the focus to predictive performance, it provides researchers with a clearer understanding of how well their models generalize. While more computationally demanding than AIC or BIC, the ability to detect overfitting and evaluate models at dyadic, nodal, and global levels makes HOPE a powerful tool for the rigorous analysis of complex social structures.
Summary updated