» Articles » PMID: 34315920

Fast and Scalable Likelihood Maximization for Exponential Random Graph Models with Local Constraints

Overview
Journal Sci Rep
Specialty Science
Date 2021 Jul 28
PMID 34315920
Citations 13
Authors
Affiliations
Soon will be listed here.
Abstract

Exponential Random Graph Models (ERGMs) have gained increasing popularity over the years. Rooted into statistical physics, the ERGMs framework has been successfully employed for reconstructing networks, detecting statistically significant patterns in graphs, counting networked configurations with given properties. From a technical point of view, the ERGMs workflow is defined by two subsequent optimization steps: the first one concerns the maximization of Shannon entropy and leads to identify the functional form of the ensemble probability distribution that is maximally non-committal with respect to the missing information; the second one concerns the maximization of the likelihood function induced by this probability distribution and leads to its numerical determination. This second step translates into the resolution of a system of O(N) non-linear, coupled equations (with N being the total number of nodes of the network under analysis), a problem that is affected by three main issues, i.e. accuracy, speed and scalability. The present paper aims at addressing these problems by comparing the performance of three algorithms (i.e. Newton's method, a quasi-Newton method and a recently-proposed fixed-point recipe) in solving several ERGMs, defined by binary and weighted constraints in both a directed and an undirected fashion. While Newton's method performs best for relatively little networks, the fixed-point recipe is to be preferred when large configurations are considered, as it ensures convergence to the solution within seconds for networks with hundreds of thousands of nodes (e.g. the Internet, Bitcoin). We attach to the paper a Python code implementing the three aforementioned algorithms on all the ERGMs considered in the present work.

Citing Articles

Mapping job fitness and skill coherence into wages: an economic complexity analysis.

Aufiero S, De Marzo G, Sbardella A, Zaccaria A Sci Rep. 2024; 14(1):11752.

PMID: 38783004 PMC: 11116373. DOI: 10.1038/s41598-024-61448-x.


Entropy-based detection of Twitter echo chambers.

Pratelli M, Saracco F, Petrocchi M PNAS Nexus. 2024; 3(5):pgae177.

PMID: 38737768 PMC: 11086943. DOI: 10.1093/pnasnexus/pgae177.


Sustainable development goals as unifying narratives in large UK firms' Twitter discussions.

Patuelli A, Saracco F Sci Rep. 2023; 13(1):7017.

PMID: 37120611 PMC: 10148845. DOI: 10.1038/s41598-023-34024-y.


Circulation of a digital community currency.

Mattsson C, Criscione T, Takes F Sci Rep. 2023; 13(1):5864.

PMID: 37041351 PMC: 10088680. DOI: 10.1038/s41598-023-33184-1.


Quantifying the complexity and similarity of chess openings using online chess community data.

De Marzo G, Servedio V Sci Rep. 2023; 13(1):5327.

PMID: 37005474 PMC: 10067813. DOI: 10.1038/s41598-023-31658-w.


References
1.
Squartini T, van Lelyveld I, Garlaschelli D . Early-warning signals of topological collapse in interbank networks. Sci Rep. 2013; 3:3357. PMC: 3842548. DOI: 10.1038/srep03357. View

2.
Caldarelli G, De Nicola R, Petrocchi M, Pratelli M, Saracco F . Flow of online misinformation during the peak of the COVID-19 pandemic in Italy. EPJ Data Sci. 2021; 10(1):34. PMC: 8258478. DOI: 10.1140/epjds/s13688-021-00289-4. View

3.
Squartini T, Fagiolo G, Garlaschelli D . Randomizing world trade. I. A binary network analysis. Phys Rev E Stat Nonlin Soft Matter Phys. 2011; 84(4 Pt 2):046117. DOI: 10.1103/PhysRevE.84.046117. View

4.
ROBERTS E, Coolen A . Unbiased degree-preserving randomization of directed binary networks. Phys Rev E Stat Nonlin Soft Matter Phys. 2012; 85(4 Pt 2):046103. DOI: 10.1103/PhysRevE.85.046103. View

5.
Gabrielli A, Mastrandrea R, Caldarelli G, Cimini G . Grand canonical ensemble of weighted networks. Phys Rev E. 2019; 99(3-1):030301. DOI: 10.1103/PhysRevE.99.030301. View