Joint Embedding of Graphs

Shangsi Wang, Jesús Arroyo, Joshua T. Vogelstein, Carey E. Priebe · DOI

Abstract

Feature extraction and dimension reduction for networks is critical in a wide variety of domains. Efficiently and accurately learning features for multiple graphs has important applications in statistical inference on graphs. We propose a method to jointly embed multiple undirected graphs. Given a set of graphs, the joint embedding method identifies a linear subspace spanned by rank one symmetric matrices and projects adjacency matrices of graphs into this subspace. The projection coefficients can be treated as features of the graphs, while the embedding components can represent vertex features. We also propose a random graph model for multiple graphs that generalizes other classical models for graphs. We show through theory and numerical experiments that under the model, the joint embedding method produces estimates of parameters with small errors. Via simulation experiments, we demonstrate that the joint embedding method produces features which lead to state of the art performance in classifying graphs. Applying the joint embedding method to human brain graphs, we find it extracts interpretable features with good prediction accuracy in different tasks.

The Multi-Network Analysis Challenge

In fields ranging from neuroscience to social media analysis, researchers often deal with "populations" of graphs—for example, a set of brain connectivity networks from different individuals. Standard approaches typically fall into two traps: ignoring topology by treating every edge as a raw feature (like in standard PCA), or inconsistency by embedding graphs individually (using methods like Adjacency Spectral Embedding), which makes comparison difficult as each embedding lives in its own coordinate system.

This paper addresses the challenge of jointly learning from multiple vertex-matched graphs—where nodes represent the same entities across the set—to extract features that are both statistically principled and computationally efficient.

Methods

The core contribution is a two-part framework consisting of a new statistical model and an optimization algorithm.

Multiple Random Eigen Graphs (MREG)

The authors propose MREG, a generative model for multiple graphs. In this model, the probability of an edge between two nodes is determined by a set of shared "latent positions" (vertex features) and a set of graph-specific "loadings." This generalizes existing models like the Stochastic Block Model (SBM) and the Random Dot Product Graph (RDPG) to the multi-graph setting. MREG acts as a universal approximator; it is a semi-parametric model capable of representing any distribution on binary graphs, provided the dimension $d$ is large enough.

Joint Embedding (JE) Algorithm

To estimate the parameters of the MREG model, the authors develop the Joint Embedding algorithm. The goal is to minimize the reconstruction error between the observed adjacency matrices and their low-dimensional projections into a subspace spanned by rank-one symmetric matrices ($h_k h_k^T$).

Since the problem is non-convex, the authors employ an Alternating Descent Algorithm. This is a greedy, iterative approach that solves for one latent dimension at a time, alternating between updating vertex features (using gradient descent) and graph loadings (using least squares).

The Joint Embedding algorithm iteratively updates latent positions and loadings to minimize reconstruction error.

Key Results and Applications

Simulation and Convergence

Using simulated MREG data, the authors demonstrated the algorithm's ability to recover true parameters. As the number of graphs ($m$) increases, the bias and error in the estimates of the latent positions ($h$) decrease significantly, confirming the statistical consistency of the method.

Bias and convergence of latent position estimates (h) as a function of the number of graphs in the population.

Real-World Performance

  • Brain Fingerprinting: On the HNU1 brain graph dataset (DTI scans of 30 subjects), JE achieved near-perfect subject classification accuracy. It reached high accuracy with far fewer dimensions and parameters than PCA, suggesting it captures true biological variability more effectively. The discovered latent dimensions corresponded to clear anatomical structures, such as hemispheric separation.
  • Wikipedia Clustering: On hyperlink networks from English and French Wikipedia, joint embedding successfully combined information from both language graphs to produce better clustering results than analyzing either language in isolation.
  • Classification Superiority: In simulations, Joint Embedding significantly outperformed Adjacency Spectral Embedding (ASE), Laplacian Eigenmaps (LE), and PCA once the number of available graphs exceeded 10.

Discussion

While individual graphs in a population might look different, they often share a common underlying "geometry." By forcing the embedding to share vertex positions ($h_k$), the model becomes much more parsimonious and interpretable. Compared to PCA, Joint Embedding uses significantly fewer parameters ($O(dn)$ vs $O(dn^2)$), making it more stable for large networks.

Currently, the method requires graphs to be vertex-matched. Future work may extend this framework to directed graphs (using in- and out-positions) or weighted graphs by adapting the noise distribution.

Summary updated

BibTeX
@article{wang2017joint,
  author = {Shangsi Wang and Jesús Arroyo and Joshua T. Vogelstein and Carey E. Priebe},
  title = {{Joint Embedding of Graphs}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2017},
  doi = {10.1109/tpami.2019.2948619},
}
Figure