FastGraph: Fast Large-Scale Directed Social Network Graph Generation

  • Qiyuan Li
  • , Ruoyi Liu
  • , Renjiang Chen
  • , Tian Song*
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Social networks are valuable tools for daily communication, information sharing, and news dissemination. For instance, on Twitter, users stay connected by following or mutually following each other. Prior works often study the characteristics of social networks using random graph models to capture the complexity of these relationships. To our knowledge, recent research not only generates directed social network graphs with reciprocal edges but also considers the rank correlations between different degree sequences. However, current generation methods are computationally expensive, particularly when applied to large-scale graphs. To address this, we propose a new graph generation model called FastGraph, designed to efficiently generate large-scale directed social network graphs with reciprocal edges and high clustering characteristics while significantly reducing computational costs. FastGraph introduces two key techniques: dynamic sampling based on current node degrees to reduce redundant computations and surplus degree rewiring to enhance local clustering. Compared to the latest Chung–Lu-based methods, FastGraph reduces the computational complexity from O(n3) to O(n2). When generating large-scale graphs with the same number of nodes and similar edge counts, FastGraph achieves an average runtime reduction of nearly 12 times. Furthermore, FastGraph successfully replicates more than a dozen social network graphs and is capable of efficiently generating graphs of arbitrary size while preserving properties closely aligned with those of real-world networks.

Original languageEnglish
Pages (from-to)4950-4964
Number of pages15
JournalIEEE Transactions on Computational Social Systems
Volume12
Issue number6
DOIs
Publication statusPublished - 2025
Externally publishedYes

Keywords

  • Computational complexity
  • high clustering
  • random graph models
  • social network generation

Fingerprint

Dive into the research topics of 'FastGraph: Fast Large-Scale Directed Social Network Graph Generation'. Together they form a unique fingerprint.

Cite this