[Paper Review] Model Selection Framework for Graph-based data
This paper proposes a random forest-based model selection framework for sparse graphs using topological features to distinguish between Erdős-Rényi and stochastic block models. It achieves near-optimal classification accuracy, demonstrates robustness to noise and parameter estimation errors, and identifies key discriminative features across the parameter space, showing that ~15 of 26 features carry most discriminative power despite the models' low-dimensional generative parameters.
Graphs are powerful abstractions for capturing complex relationships in diverse application settings. An active area of research focuses on theoretical models that define the generative mechanism of a graph. Yet given the complexity and inherent noise in real datasets, it is still very challenging to identify the best model for a given observed graph. We discuss a framework for graph model selection that leverages a long list of graph topological properties and a random forest classifier to learn and classify different graph instances. We fully characterize the discriminative power of our approach as we sweep through the parameter space of two generative models, the Erdos-Renyi and the stochastic block model. We show that our approach gets very close to known theoretical bounds and we provide insight on which topological features play a critical discriminating role.
Motivation & Objective
- To develop a robust framework for selecting the best generative model for observed graph data, particularly in the sparse regime common in real-world networks.
- To characterize the model selection performance across the full parameter space of two widely used generative models: Erdős-Rényi and stochastic block models.
- To identify which topological features are most discriminative for differentiating between graph models under varying structural and noise conditions.
- To evaluate the robustness of the model selection framework to common real-world challenges such as parameter estimation errors and graph size variations.
- To provide insight into the complexity of graph representation by analyzing feature importance across different regions of the parameter space.
Proposed method
- The framework uses a comprehensive set of 26 topological features per graph instance, including degree, betweenness, closeness, clustering coefficient, diameter, radius, triad count, and average shortest path length, each computed as max, min, mean, and standard deviation per node.
- A random forest (RF) classifier is trained on labeled graph instances generated from the Erdős-Rényi and stochastic block models across a wide range of parameters in the sparse regime (O(V) edges).
- The model selection task is framed as a binary classification problem: assigning an unlabeled graph instance to either the Erdős-Rényi or stochastic block model based on its topological feature vector.
- Performance is evaluated across varying levels of noise, including edge rewiring (10% and 20%) and parameter estimation errors (up to ±0.02 and ±0.04 in p_in, p_out).
- Robustness is tested by training on graphs of size n=1000 and evaluating on larger graphs (n=1100) with identical model parameters.
- Feature importance is analyzed to identify which features contribute most to discrimination, with ablation studies on top-k features (e.g., top 10, top 15).
Experimental results
Research questions
- RQ1Can we effectively discriminate between Erdős-Rényi and stochastic block models in the sparse graph regime using topological features and machine learning?
- RQ2How does model selection performance degrade as a function of structural parameters and noise (e.g., edge rewiring, parameter estimation error)?
- RQ3Which topological features are most critical for distinguishing the two models across different regions of the parameter space?
- RQ4How robust is the random forest classifier to variations in graph size and noisy or imperfectly estimated model parameters?
- RQ5To what extent can a small subset of top features maintain high discrimination accuracy, and does this subset vary across the parameter space?
Key findings
- The random forest classifier achieves near-optimal classification accuracy in distinguishing sparse Erdős-Rényi and stochastic block model graphs, closely approaching theoretical performance bounds.
- When 10% of edges are uniformly rewired, classification accuracy remains relatively high, but drops significantly at 20% rewiring, indicating a sharp threshold in robustness.
- The classifier maintains strong performance under parameter estimation errors up to ±0.02, but deteriorates substantially for errors exceeding ±0.04.
- Graph size variations (e.g., training on n=1000, testing on n=1100) lead to degradation in accuracy for sparser graphs, but the method remains relatively robust in denser regions.
- Approximately 15 of the original 26 topological features carry the majority of the discriminative power, though this set varies across the parameter space.
- Using only the top 10 features reduces performance significantly, contrasting with findings on pure graph instances, indicating that feature selection is context-dependent and model-specific.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.