Optimal Bayesian estimation for random dot product graphs

Fangzheng Xie, Yanxun Xu

TL;DR

This paper introduces Posterior Spectral Embedding (PSE), a fully likelihood-based Bayesian method for estimating the hidden structures (latent positions) of Random Dot Product Graphs. The authors prove that PSE is statistically "optimal"—achieving the theoretical minimax lower bound—and demonstrate that it significantly improves clustering accuracy in social and document networks compared to standard spectral methods.

What Problem Does This Paper Address?

In network science, we often model graphs using Random Dot Product Graphs (RDPGs). In this model, every person (vertex) in a social network is assigned a "latent position" vector in space. The probability that two people are friends is simply the dot product of their vectors.

The challenge is inverse: given only the list of friendships (the adjacency matrix), how do we accurately estimate everyone's latent position?

Existing "gold standard" methods like Adjacency Spectral Embedding (ASE) use Singular Value Decomposition (SVD) to find these positions. While ASE is fast, it treats the graph data like a generic matrix and ignores the fact that edges follow a Bernoulli distribution (they are either 0 or 1). This paper asks: Can we do better by using the actual likelihood of the data? And what is the absolute limit of how accurately these positions can be estimated?

Methods

The authors shift from a purely geometric approach to a Bayesian framework.

  1. Posterior Spectral Embedding (PSE): Instead of just doing a matrix decomposition, the authors use the Bernoulli likelihood of the observed edges to build a posterior distribution of the latent positions.
  2. Minimax Lower Bound: They mathematically prove a "speed limit" for estimation. They show that for a graph with $n$ vertices, the best possible average error any estimator can achieve is proportional to $1/n$.
  3. Optimality Proof: They demonstrate that their PSE method hits this $1/n$ limit, whereas the classical ASE method is slightly slower, hampered by an extra $\log n$ factor in its error rate.
  4. Computation: Because the Bayesian posterior is complex, they implement a Metropolis-Hastings sampler to draw samples and calculate the "Posterior Mean" of the latent positions.

Datasets

The researchers validated their approach using three distinct setups:

  • Synthetic Stochastic Block Models (SBM): Simulated graphs with 3, 5, and 7 distinct communities to test clustering performance.
  • Hardy-Weinberg Curve: A specialized simulation where latent positions fall on a specific 1D curve embedded in 3D space, testing the method's ability to recover non-linear structures.
  • Wikipedia Graph Data: A real-world network of 1,382 Wikipedia articles related to "Algebraic Geometry." The goal was to cluster these articles into 6 manual categories (People, Places, Dates, Things, Math, and Categories) based solely on their hyperlinks.

Key Insights and Ideas

  • The "Log" Gap Matters: Standard spectral methods have an error rate of $O(\log n / n)$. By using the full likelihood, PSE achieves $O(1/n)$. While a $\log n$ difference seems small, the authors show it has a massive impact on clustering: it reduces the number of mis-classified members from a growing number ($O(\log n)$) to a constant number ($O(1)$) as the network grows.
  • Respecting Boundaries: In RDPGs, latent positions must stay within a specific geometric space (the unit ball). PSE naturally enforces this through its prior distribution, whereas ASE often produces "impossible" estimates that fly outside the valid boundary.
  • Likelihood vs. Geometry: The "Aha!" moment is that while SVD is a great geometric approximation, it's a "sub-optimal" statistical tool for binary graph data because it doesn't account for the specific noise structure of Bernoulli trials.

Key Results

  • Superior Clustering: On the Wikipedia dataset, PSE achieved a Rand Index of 0.7451, outperforming ASE (0.7213).
  • Lower Error: In all simulations, the PSE point estimates had lower Frobenius norm errors than ASE and a "Gaussian" Bayesian alternative (GSE).
  • Visual Recovery: In the Hardy-Weinberg experiment, PSE was the only method that clearly reconstructed the original parabolic shape of the latent data; ASE and GSE produced much noisier, scattered results.

Limitations and Future Work

  • The Computational Bottleneck: The biggest drawback is speed. ASE uses SVD, which is incredibly fast even for large matrices. PSE requires MCMC sampling, which is computationally expensive and slow to converge as the number of vertices ($n$) grows into the tens of thousands.
  • Known Dimensions: The theory currently assumes we know the dimension ($d$) of the latent space. In practice, this is often guessed using "elbow plots" of singular values. The authors suggest that future work could involve "Reversible-jump MCMC" to let the model learn the dimension automatically.
  • Weighted Graphs: The current PSE is designed for binary (0/1) edges. Extending this to weighted graphs (where edges represent the frequency or strength of interaction) is a logical next step.

Summary updated

BibTeX
@inproceedings{xie2020optimal,
  author = {Fangzheng Xie and Yanxun Xu},
  title = {{Optimal Bayesian estimation for random dot product graphs}},
  booktitle = {Biometrika},
  year = {2020},
  doi = {10.1093/biomet/asaa031},
}
Figure