Projections of Model Spaces for Latent Graph Inference

Haitz Sáez de Ocáriz Borde, Álvaro Arroyo, Ingmar Posner

TL;DR

This paper enhances latent graph inference for Graph Neural Networks (GNNs) by utilizing stereographic projections of hyperbolic and spherical model spaces. By moving from standard Riemannian manifolds to their projected counterparts (like the Poincaré ball), the authors provide a numerically stable framework that avoids coordinate divergence when the learned curvature of the latent space approaches zero.

What Problem Does This Paper Address?

Graph Neural Networks rely heavily on the quality of the input graph. However, real-world graphs are often noisy, incomplete, or simply not the optimal structure for message passing. Latent Graph Inference (LGI) attempts to solve this by learning a hidden graph structure directly from node features.

A common approach in LGI is to embed nodes into non-Euclidean manifolds (like the hyperboloid for hierarchical data or the hypersphere for cyclical data) and connect nodes that are "close" in that geometry. The challenge is that standard model spaces are numerically brittle: as the learned curvature ($K$) tends toward zero (becoming flat/Euclidean), the coordinates can diverge or "blow up." This makes it difficult for a model to smoothly learn the optimal geometry of the data.

Methods

The authors build upon the discrete Differentiable Graph Module (dDGM) framework. Their key innovation is replacing standard model spaces with their stereographic projections:

  1. The Poincaré Ball Model: A stereographic projection of the hyperboloid. It maps infinite hyperbolic space into a finite disk.
  2. Projected Hypersphere: A similar projection for spherical geometry.
  3. Product Manifolds: To capture complex data structures, they combine these spaces into "product manifolds" (e.g., a space that is part Euclidean, part Poincaré ball, and part projected sphere).

The workflow is as follows:

  • GNN layer activations are projected onto these manifolds using an exponential map.
  • Distances between nodes are calculated using the specific geodesic distance formulas for these projected spaces.
  • A latent graph is sampled using the Gumbel Top-k trick, which allows the graph structure to be optimized alongside the GNN parameters via backpropagation.
A visualization of the grid of geodesics in a Poincaré ball, showing how distances warp as you move toward the edge.

Datasets

The researchers evaluated their approach on three types of benchmarks:

  • Homophilic Graphs: Cora and CiteSeer (where similar nodes connect).
  • Heterophilic Graphs: Squirrel and Chameleon (where dissimilar nodes often connect).
  • Real-World Medical Data: The TadPole dataset.

Key Insights and Ideas

  • Numerical Grace: The primary "aha" moment is that stereographic projections are mathematically "well-behaved" at $K=0$. Unlike the hyperboloid, the Poincaré ball's metric tensor smoothly becomes Euclidean as curvature vanishes, preventing training instability.
  • The Manifold Hypothesis in Action: The paper reinforces that high-dimensional data often lies on lower-dimensional, non-Euclidean manifolds. By discretizing these manifolds into graphs, GNNs can better capture the underlying structure of the data.
  • Diversity of Geometry: Using projected spaces allows for more diverse "manifold signatures"—combinations of different geometries—without increasing computational complexity.

Key Results

The experiments (summarized in Figure 2) show that projected model spaces achieve performance comparable to or better than their non-projected counterparts while offering better theoretical guarantees.

  • Homophilic Performance: On the Cora dataset, the GCN-dDGM-EPP model (Euclidean + two Poincaré balls) achieved 85.96% accuracy, outperforming the standard GCN baseline of 83.11%.
  • Real-World Success: On the TadPole dataset, the GAT-dDGM*-EHS model reached a top accuracy of 92.68%.
  • Stability: The authors noted that the projected spaces provided a more stable training regime, particularly when the model needed to "decide" between Euclidean and non-Euclidean geometries.
Table 1: Results for benchmark homophilic, heterophilic, and real-world graph datasets. The First, Second, and Third best models for each dataset are highlighted in each table. k denotes the number of connections per node when implementing the Gumbel Top-k sampling algorithm.

Limitations and Future Work

  • Signature Selection: While the paper proves that different manifold combinations work well, there is currently no principled way to automatically choose the best "signature" (e.g., how many hyperbolic vs. spherical components to use) for a given dataset. This remains a manual search process.
  • Sampling Instability: The Gumbel Top-k trick, while differentiable, can be unstable during training. The authors suggest that developing more robust edge-sampling algorithms is a vital next step.
  • Curvature Learning: While the framework supports learning curvature, the authors note that future research should focus on more sophisticated ways to infer the geometric signature of the latent space automatically.

Summary updated

BibTeX
@inproceedings{borde2023projections,
  author = {Haitz Sáez de Ocáriz Borde and Álvaro Arroyo and Ingmar Posner},
  title = {{Projections of Model Spaces for Latent Graph Inference}},
  booktitle = {Physics4ML @ ICLR},
  year = {2023},
  url = {https://openreview.net/forum?id=Eu42jQQgDc},
}
Figure