Skip to main content
QUICK REVIEW

[Paper Review] ERGMs are Hard.

Michael J. Bannister, William E. Devanny|arXiv (Cornell University)|Dec 4, 2014
Complex Network Analysis TechniquesPhysics and Astronomy17 references5 citations
TL;DR

This paper establishes that computing the partition function in exponential random graph models (ERGMs)—a key component for estimating network probabilities—is #P-hard and inapproximable within an exponential ratio under standard complexity assumptions. It further proves that generating graphs close to a given ERGM distribution is impossible in randomized polynomial time, using sociologically grounded features like assortative mixing and triadic closure.

ABSTRACT

We investigate the computational complexity of the exponential random graph model (ERGM) commonly used in social network analysis. This model represents a probability distribution on graphs by setting the log-likelihood of generating a graph to be a weighted sum of feature counts. These log-likelihoods must be exponentiated and then normalized to produce probabilities, and the normalizing constant is called the \emph{partition function}. We show that the problem of computing the partition function is $\mathsf{\#P}$-hard, and inapproximable in polynomial time to within an exponential ratio, assuming $\mathsf{P} eq \mathsf{NP}$. Furthermore, there is no randomized polynomial time algorithm for generating random graphs whose distribution is within total variation distance $1-o(1)$ of a given ERGM. Our proofs use standard feature types based on the sociological theories of assortative mixing and triadic closure.

Motivation & Objective

  • To analyze the computational complexity of the partition function in exponential random graph models (ERGMs), which is essential for statistical inference in network analysis.
  • To determine whether the partition function can be approximated efficiently, given its role in normalizing the model’s probability distribution.
  • To investigate the feasibility of generating random graphs that closely match a given ERGM distribution using randomized polynomial-time algorithms.
  • To evaluate the complexity of ERGMs using standard sociological features such as assortative mixing and triadic closure, which are commonly used in empirical network modeling.

Proposed method

  • Reduction from known #P-complete problems to demonstrate that computing the ERGM partition function is #P-hard.
  • Use of standard ERGM features—assortative mixing and triadic closure—based on sociological theories to ground the computational hardness in real-world network models.
  • Application of complexity-theoretic assumptions (P ≠ NP) to establish inapproximability bounds for the partition function within an exponential ratio.
  • Proof via contradiction that no randomized polynomial-time algorithm can generate graphs within total variation distance 1−o(1) of a target ERGM distribution.
  • Leveraging the normalization of the ERGM likelihood function, which requires computing the partition function, to link statistical modeling to computational complexity.
  • Formal analysis of the normalizing constant (partition function) as the core computational bottleneck in ERGM inference and simulation.

Experimental results

Research questions

  • RQ1Is the partition function of an ERGM computable in polynomial time?
  • RQ2Can the partition function be approximated within an exponential ratio in polynomial time?
  • RQ3Is it possible to generate random graphs from an ERGM distribution using a randomized polynomial-time algorithm with high fidelity?
  • RQ4Do standard sociological features like assortative mixing and triadic closure contribute to the computational hardness of ERGMs?
  • RQ5What is the fundamental computational barrier to statistical inference and simulation in ERGMs?

Key findings

  • The problem of computing the partition function in ERGMs is proven to be #P-hard, indicating that exact computation is intractable for large networks.
  • The partition function cannot be approximated within an exponential ratio in polynomial time, assuming P ≠ NP.
  • There is no randomized polynomial-time algorithm that can generate graphs whose distribution is within total variation distance 1−o(1) of a given ERGM.
  • The computational intractability arises even when using standard sociologically motivated features such as assortative mixing and triadic closure.
  • The results imply that exact inference and reliable simulation in ERGMs are fundamentally limited by computational complexity.
  • These hardness results hold under standard complexity-theoretic assumptions, making them robust for theoretical and practical network modeling.

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.