[Paper Review] Fast generation of simple directed social network graphs with reciprocal edges and high clustering
This paper proposes a fast, scalable method to generate directed social network graphs with reciprocal edges and high clustering, improving upon prior models by using a Configuration model-based edge connection strategy instead of edge rewiring. The approach achieves near-identical topological features and epidemic spreading dynamics to real Twitter follower graphs, with a 10x speedup—reducing 3-day generation time to under 4 hours for 50,000-node graphs.
Online social networks have emerged as useful tools to communicate or share information and news on a daily basis. One of the most popular networks is Twitter, where users connect to each other via directed follower relationships. Researchers have studied Twitter follower graphs and described them with various topological features. Collecting Twitter data, especially crawling the followers of users, is a tedious and time-consuming process and the data needs to be treated carefully due to its sensitive nature, containing personal user information. We therefore aim at the fast generation of synthetic directed social network graphs with reciprocal edges and high clustering. Our proposed method is based on a previously developed model, but relies on less hyperparameters and has a significantly lower runtime. Results show that the method does not only replicate the crawled directed Twitter graphs well w.r.t. several topological features and the application of an epidemics spreading process, but that it is also highly scalable which allows the fast creation of bigger graphs that exhibit similar properties as real-world networks.
Motivation & Objective
- Address the need for fast, scalable generation of realistic directed social network graphs to avoid costly and privacy-sensitive data collection.
- Overcome the high runtime of prior models—especially the edge rewiring step—used to achieve high clustering in synthetic graphs.
- Preserve key topological features and rank correlations between node degrees to ensure synthetic graphs closely mimic real-world networks like Twitter.
- Enable efficient simulation of information or disease spreading processes on large-scale synthetic networks by ensuring algorithmic properties match real data.
Proposed method
- Sample correlated reciprocal, in-degree, and out-degree values for each node using chi-squared distributions, ensuring realistic degree correlations.
- Construct edges using the Configuration model: assign stubs to nodes based on their sampled degrees and connect them directly without random rewiring.
- Directly connect new neighbors of each node to increase clustering coefficient efficiently, avoiding post-processing rewiring steps.
- Ensure graph simplicity by disallowing self-loops and parallel edges during edge formation.
- Use a two-step process: first sample degrees, then form edges via stub matching, which is computationally efficient and deterministic.
- Leverage the structure of the Configuration model to maintain accurate degree rank correlations, improving fidelity over Chung-Lu-based methods.
Experimental results
Research questions
- RQ1Can a faster graph generation method preserve the topological features of real directed social networks, such as clustering and degree distribution?
- RQ2Does eliminating the edge rewiring step significantly reduce runtime while maintaining high clustering and realistic network structure?
- RQ3To what extent do synthetic graphs generated with this method replicate real-world epidemic spreading dynamics compared to crawled Twitter graphs?
- RQ4How well are rank correlations between in-degree, out-degree, and reciprocal degree preserved in the synthetic graphs compared to real networks?
- RQ5Can the method scale to generate large graphs (e.g., 100,000 nodes) with performance and structural fidelity comparable to real-world networks?
Key findings
- The method reduces generation time for a 50,000-node graph from multiple days to under 4 hours, achieving a 10x speedup over the prior model.
- Synthetic graphs replicate key topological features of crawled Twitter subgraphs, including average shortest path length, diameter, and clustering coefficient, with minimal deviation.
- The average clustering coefficient in the largest weakly connected component of synthetic graphs is 0.373 for a 100,000-node graph, within the real-world range observed in Twitter data.
- Rank correlations (Spearman’s ρ) between in-degree, out-degree, and reciprocal degree are preserved more accurately than in the prior model, with ρ1 = 0.598, ρ2 = 0.593, and ρ3 = 0.502 for the 100,000-node graph.
- Epidemic spreading simulations (discrete SIR model) on synthetic graphs show similar dynamics to those on real Twitter subgraphs, confirming algorithmic fidelity.
- The method successfully generates a 100,000-node graph with 27.4 million edges in 18 hours, demonstrating high scalability and suitability for large-scale simulations.
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.