Hostname: page-component-74656f9884-7drmj Total loading time: 0 Render date: 2026-11-04T18:07:30.396Z Has data issue: false hasContentIssue false

Faster MCMC for Gaussian latent position network models

Published online by Cambridge University Press:  22 February 2022

Neil A. Spencer*
Affiliation:
Harvard University, Boston, MA 02115, USA
Brian W. Junker
Affiliation:
Carnegie Mellon University, Pittsburgh, PA 15213, USA
Tracy M. Sweet
Affiliation:
University of Maryland College Park, College Park, MD 20742, USA
*
*Corresponding author. Email: nspencer@hpsh.harvard.edu
Rights & Permissions [Opens in a new window]

Abstract

Latent position network models are a versatile tool in network science; applications include clustering entities, controlling for causal confounders, and defining priors over unobserved graphs. Estimating each node’s latent position is typically framed as a Bayesian inference problem, with Metropolis within Gibbs being the most popular tool for approximating the posterior distribution. However, it is well-known that Metropolis within Gibbs is inefficient for large networks; the acceptance ratios are expensive to compute, and the resultant posterior draws are highly correlated. In this article, we propose an alternative Markov chain Monte Carlo strategy—defined using a combination of split Hamiltonian Monte Carlo and Firefly Monte Carlo—that leverages the posterior distribution’s functional form for more efficient posterior computation. We demonstrate that these strategies outperform Metropolis within Gibbs and other algorithms on synthetic networks, as well as on real information-sharing networks of teachers and staff in a school district.

Information

Type
Research Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Table 1. A summary of the simulation design for Study 1. The first three columns specify the number of nodes, the link function parameter $\gamma^2$, and the link function parameter $\tau$ used to generate each of the synthetic networks. The edge density column reports the fraction of dyads exhibiting edges in each network. The final two columns report the tuned values of hyperparameters for the algorithms

Figure 1

Figure 1. A depiction of the relationship between the number of nodes in the synthetically generated networks ($\tau = 0.2, 0.8, \gamma^2 = 0.2, 1.0$) for Empirical Study 1 and the relative efficiency of the five posterior computation algorithms. For each algorithm, relative efficiency (vertical axis) is quantified as the median across 500 dyads in the synthetic network of the relative Markov chain efficiency compared to Metropolis within Gibbs as a baseline. Note that the vertical axis is on the log scale.

Figure 2

Figure 2. A depiction of the relationship between the number of nodes in the synthetically generated networks ($\tau = 0.2, 0.8, \gamma^2 = 0.2, 1.0$) for Empirical Study 1 and the relative efficiency (compared to Metropolis within Gibbs) of the five FlyMC posterior computation algorithms. The solid black baseline is included for easy comparison to Metropolis within Gibbs. Note that the vertical axis is on the log scale.

Figure 3

Figure 3. Boxplots showing the relative efficiency of Split HMC + FlyMC and Split HMC relative to Metropolis within Gibbs across 500 dyads in each network.

Figure 4

Table 2. A summary of the data configurations for Study 2

Figure 5

Figure 4. Boxplots depicting the relative efficiency (in terms of effective sample size per second) of split HMC (both with and without FlyMC) compared to Metropolis within Gibbs. The six different data/model configuration described above are considered. For each configuration, the relative speed-up in effective sample size per second is provided for computing the posterior log probability of a random subset of dyads in the network. Note that the horizontal axis is provided on the log scale.

Figure 6

Table 3. A summary of the six model configurations and fits for Study 2. For each model, the Dataset column reports the network data which the model is fit, the $x_{ij1}$ and $x_{ij2}$ columns report the indicators used to form the link function covariate, and the $\hat{\gamma}_{\text{EAP}}^2$ and $\hat{\tau}_{\text{EAP}}$ columns report the expectations a posteriori of link function parameters $\gamma^2$ and $\tau$, respectively. Note that a different value of $\tau$ is fit for each level of the covariate

Figure 7

Figure 5. The top panels depict point estimates of the teachers’ latent positions for Models 2 and 3 (i.e. the one year, all schools models both with and without the same school covariate). These point estimates are obtained via multi-dimensional scaling on the posterior expectation of the matrix of squared latent distances. The shape/color combinations are assigned according to the teacher’s school. The edges indicate information-sharing relationships. The bottom two panels depict posterior distribution contours for the latent positions for two teachers (one from school 1, one from school 14).

Supplementary material: PDF

Spencer et al. supplementary material

Spencer et al. supplementary material

Download Spencer et al. supplementary material(PDF)
PDF 440.8 KB