Sampling and Inference for Beta Neutral-to-the-Left Models of Sparse Networks

Benjamin Bloem-Reddy, Adam Foster, Emile Mathieu, Yee Whye Teh

Introduction

Real-world networks, such as social graphs and citation webs, are typically sparse and exhibit heavy-tailed degree distributions. Mathematically, these distributions often follow a power law where the proportion of vertices with degree $d$ is proportional to $d^{-\eta}$. Modeling such networks presents a significant challenge: traditional exchangeable models are often too restrictive, limited to power-law exponents $1 < \eta < 2$ and linear growth of average degrees. Conversely, flexible non-exchangeable models like Preferential Attachment (PA) can achieve $\eta > 2$ but suffer from intractable inference because the arrival order of nodes—which dictates the graph's structure—is usually hidden.

This paper presents a solution using Beta Neutral-to-the-Left (BNTL) models. By leveraging the "left-neutrality" property, the authors develop efficient inference and sampling algorithms that bridge the gap between mathematical tractability and the flexibility required to model diverse real-world network topologies.

The BNTL Framework and Neutral-to-the-Left Property

The core of the proposed approach is the Neutral-to-the-Left (NTL) property. In a BNTL model, a network is generated through a sequence of vertex arrival times and a size-biased reinforcement mechanism for edges. Unlike exchangeable models where the order of elements is irrelevant, BNTL models are "left-neutral," meaning the relative weights of existing nodes are independent of the weight of the next arriving node.

This property allows for a factorized likelihood: conditioned on arrival times, the joint probability of a graph factorizes over its vertices. This factorization is the "secret sauce" that enables efficient computation, even when the model is non-exchangeable.

Inference Methodology

The authors provide a suite of tools for different observational scenarios. When the full edge sequence is observed (temporal data), Maximum Likelihood Estimation (MLE) and Maximum a Posteriori (MAP) techniques can be employed, scaling linearly with the number of edges.

In the more common scenario where only a static, unlabeled graph is observed, the arrival order of nodes is a latent variable. The authors developed a Gibbs sampler to explore the space of possible arrival orders.

Latent variables associated with different levels of graph observation.

As shown in the table above, the complexity of the inference task depends on what is observed. The BNTL framework's factorized likelihood makes swapping the latent order of adjacent vertices computationally inexpensive, allowing the Gibbs sampler to remain efficient for networks with thousands of vertices.

Empirical Evaluation

The methodology was tested on both synthetic data and large-scale real-world networks from the Stanford Network Analysis Project (SNAP).

Real-world network datasets used for evaluation, ranging from thousands to millions of edges.

Key Results

  • Scalability: The MLE approach successfully scaled to the Stack Overflow dataset, processing over 2.6 million vertices and 63 million edges.
  • Model Fitness: The researchers observed that "dense" networks (e.g., EU email) were better fit by models related to the Pitman-Yor Process ($\eta < 2$), while social interaction networks (e.g., Stack Exchange sites) were better fit by BNTL models with approximately linear arrival times ($\eta > 2$).
  • Inference Accuracy: Synthetic tests confirmed that the Gibbs sampler accurately recovers the true power-law exponent ($\alpha$) and the latent arrival structure as network size increases.

Conclusion and Future Work

BNTL models provide a powerful framework for modeling sparse networks with arbitrary power-law exponents. While the MLE approach scales to massive datasets, the Gibbs sampler for unlabeled graphs currently hits a bottleneck at thousands of vertices. Future research directions include exploring Variational Inference as a faster alternative to MCMC and developing more sophisticated Metropolis-Hastings moves to navigate the space of vertex permutations more effectively.

Summary updated

BibTeX
@inproceedings{bloemreddy2018sampling,
  author = {Benjamin Bloem-Reddy and Adam Foster and Emile Mathieu and Yee Whye Teh},
  title = {{Sampling and Inference for Beta Neutral-to-the-Left Models of Sparse Networks}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=wAoV00K0gh},
}
Figure