Community detection and reciprocity in networks by jointly modeling pairs of edges

Martina Contisciani, Hadiseh Safdari, Caterina De Bacco
12/20/2021
16 citations
cs.SIstat.AP

Official code: mcontisc/JointCRep (6 stars, Jupyter Notebook, GPL-3.0, last commit 2024-08-30).

Abstract

To unravel the driving patterns of networks, the most popular models rely on community detection algorithms. However, these approaches are generally unable to reproduce the structural features of the network.

Show full abstract

Therefore, attempts are always made to develop models that incorporate these network properties beside the community structure. In this work, we present a probabilistic generative model and an efficient algorithm to both perform community detection and capture reciprocity in networks. Our approach jointly models pairs of edges with exact 2-edge joint distributions. In addition, it provides closed-form analytical expressions for both marginal and conditional distributions. We validate our model on synthetic data in recovering communities, edge prediction tasks, and generating synthetic networks that replicate the reciprocity values observed in real networks. We also highlight these findings on two real datasets that are relevant for social scientists and behavioral ecologists. Our method overcomes the limitations of both standard algorithms and recent models that incorporate reciprocity through a pseudo-likelihood approximation. The inference of the model parameters is implemented by the efficient and scalable expectation-maximization algorithm, as it exploits the sparsity of the dataset. We provide an open-source implementation of the code online.

View on arXivView PDF

Code Implementations(1)

mcontisc/JointCRepOfficial100%
GPL-3.0

Probabilistic generative model for network analysis that takes into account community structure and reciprocity by specifying a closed-form joint distribution of a pair of network edges.

62Jupyter Notebook, PythonDec 14, 20212 years agoGPL-3.0

Similar Papers

Cite this paper

@article{contisciani2021community,
  title  = {Community detection and reciprocity in networks by jointly modeling pairs of edges},
  author = {Martina Contisciani and Hadiseh Safdari and Caterina De Bacco},
  year   = {2021},
  eprint = {2112.10436},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.10436}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.10436.svg)](https://codeofpaper.com/paper/2112.10436)

Discussion