Skip to main content
QUICK REVIEW

[Paper Review] Fast and scalable likelihood maximization for Exponential Random Graph Models

Nicolò Vallarano, Matteo Bruno|arXiv (Cornell University)|Jan 29, 2021
Complex Network Analysis TechniquesPhysics and Astronomy5 citations
TL;DR

This paper proposes and benchmarks three algorithms—Newton’s method, a quasi-Newton method, and a fixed-point recipe—for likelihood maximization in Exponential Random Graph Models (ERGMs), addressing accuracy, speed, and scalability. The fixed-point method enables convergence in seconds for large networks with hundreds of thousands of nodes, outperforming others on scalability while maintaining high accuracy.

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.

Motivation & Objective

  • Address the computational challenges of likelihood maximization in Exponential Random Graph Models (ERGMs), which involve solving O(N) nonlinear, coupled equations.
  • Improve the scalability of ERGM inference for large networks, such as the Internet or Bitcoin, where traditional methods become intractable.
  • Evaluate and compare the performance of three numerical optimization algorithms—Newton’s method, a quasi-Newton method, and a fixed-point recipe—on binary and weighted, directed and undirected ERGMs.
  • Provide a practical, open-source implementation in Python to support reproducibility and adoption in network science research.

Proposed method

  • Implement Newton’s method for likelihood maximization in ERGMs, using second-order derivatives to achieve fast local convergence on small to moderate networks.
  • Apply a quasi-Newton method to approximate the Hessian matrix, reducing computational cost while maintaining reasonable convergence speed.
  • Adopt a recently proposed fixed-point iterative recipe that avoids Hessian computation and enables stable convergence on large-scale networks.
  • Formulate the likelihood maximization problem as solving a system of O(N) nonlinear equations derived from the gradient of the log-likelihood function.
  • Test all three algorithms on diverse ERGMs with binary and weighted constraints across directed and undirected network topologies.
  • Release a Python implementation of all three algorithms for all considered ERGMs to ensure reproducibility and usability.

Experimental results

Research questions

  • RQ1How do Newton’s method, the quasi-Newton method, and the fixed-point recipe compare in terms of convergence speed and accuracy for ERGM likelihood maximization?
  • RQ2Which algorithm scales best to large networks with hundreds of thousands of nodes, such as the Internet or Bitcoin?
  • RQ3Can the fixed-point recipe achieve reliable convergence within seconds for large-scale ERGMs where Newton’s method becomes computationally prohibitive?
  • RQ4What is the trade-off between computational cost and convergence quality across the three algorithms in both binary and weighted network models?
  • RQ5How does the performance of each algorithm vary across directed versus undirected network configurations?

Key findings

  • Newton’s method achieves the highest accuracy and fastest convergence for relatively small networks, but its computational cost scales poorly with network size.
  • The fixed-point recipe enables convergence to the solution within seconds for networks with hundreds of thousands of nodes, such as the Internet or Bitcoin.
  • The fixed-point method outperforms Newton’s and quasi-Newton methods in terms of scalability, maintaining stable convergence on large-scale ERGMs.
  • For large networks, the fixed-point recipe provides a practical alternative to Newton’s method, avoiding expensive Hessian computations while ensuring numerical stability.
  • The proposed Python implementation supports all tested ERGMs, including binary and weighted, directed and undirected models, enabling broad reproducibility and application.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.