English

Parallel and I/O-Efficient Algorithms for Non-Linear Preferential Attachment

Data Structures and Algorithms 2023-01-18 v2

Abstract

Preferential attachment lies at the heart of many network models aiming to replicate features of real world networks. To simulate the attachment process, conduct statistical tests, or obtain input data for benchmarks, efficient algorithms are required that are capable of generating large graphs according to these models. Existing graph generators are optimized for the most simple model, where new nodes that arrive in the network are connected to earlier nodes with a probability P(h)dP(h) \propto d that depends linearly on the degree dd of the earlier node hh. Yet, some networks are better explained by a more general attachment probability P(h)f(d)P(h) \propto f(d) for some function f ⁣:N  Rf \colon \mathbb N~\to~\mathbb R. Here, the polynomial case f(d)=dαf(d) = d^\alpha where αR>0\alpha \in \mathbb R_{>0} is of particular interest. In this paper, we present efficient algorithms that generate graphs according to the more general models. We first design a simple yet optimal sequential algorithm for the polynomial model. We then parallelize the algorithm by identifying batches of independent samples and obtain a near-optimal speedup when adding many nodes. In addition, we present an I/O-efficient algorithm that can even be used for the fully general model. To showcase the efficiency and scalability of our algorithms, we conduct an experimental study and compare their performance to existing solutions.

Keywords

Cite

@article{arxiv.2211.06884,
  title  = {Parallel and I/O-Efficient Algorithms for Non-Linear Preferential Attachment},
  author = {Daniel Allendorf and Ulrich Meyer and Manuel Penschuck and Hung Tran},
  journal= {arXiv preprint arXiv:2211.06884},
  year   = {2023}
}

Comments

Conference version to appear in the proceedings of ALENEX 2023

R2 v1 2026-06-28T05:45:02.746Z