Hyperbolic Graph Neural Networks Under the Microscope: The Role of Geometry–Task Alignment

Dionisia Naddeo, Jonas Linkerhägner, Nicola Toschi, Geri Skenderi, Veronica LachiNeurIPS 2026

TL;DR

For years, the rule of thumb in graph machine learning has been simple: if your network looks like a branching tree, use a Hyperbolic Graph Neural Network (HGNN). This paper shows that tree-like data isn't enough—hyperbolic space only helps if the task itself cares about preserving graph distances, a principle the authors call geometry–task alignment. Before reaching for exotic non-Euclidean math, we shouldn't just ask "Is the graph hyperbolic?", we also need to ask, "Does my prediction target actually follow that geometry?"

What Problem Does This Paper Address?

Imagine trying to flatten an orange peel onto a table without tearing it; you can't, because the geometries don't match. Similarly, trees expand exponentially with depth—a tree with branching factor 5 has $5^d$ nodes at depth $d$. Flat (Euclidean) space only grows polynomially in volume, forcing tree embeddings to warp and crowd together. Hyperbolic space, which has constant negative curvature (like a saddle that frills out infinitely), expands exponentially, allowing trees to fit with almost zero distortion.

This mathematical elegance birthed Hyperbolic Graph Neural Networks (HGNNs). Researchers assumed that whenever an input graph has low Gromov $\delta$-hyperbolicity (a measure of how "tree-like" a graph is, where $\delta = 0$ is a pure tree), HGNNs should beat standard Euclidean GNNs. Yet in practice, results have been perplexingly mixed. Why do HGNNs sometimes flop on literal trees?

The authors identify a missing piece in the narrative: early embedding methods explicitly optimized to preserve graph distances, whereas modern GNNs optimize end-to-end for a specific downstream label. Just because hyperbolic space can preserve a tree's distances doesn't mean a supervised task wants it to.

Figure 1: Geometry–Task Alignment. Different tasks induce different levels of alignment between the latent geometries and the predicted outcomes. The columns indicate latent spaces with increasing curvature magni- tude. The rows plot labels y against predictions ˆy for targets T1&T2. Increasing curvature improves perfor- mance for T1, whose targets align with the underlying input geometry, but not T2, despite identical inputs.

Methods

To put HGNNs under the microscope, the authors decompose a GNN into an encoder (which maps nodes into a geometric space) and a solver/decoder (which maps those coordinates to predictions), testing two main hyperbolic flavors—tangent-space models (HGCN, using the Poincaré ball) and fully hyperbolic models (HyboNet, using the Lorentz hyperboloid)—against Euclidean baselines (GCN, GAT, and MLP).

What's new here is their diagnostic toolkit:

  • Pairwise Distance Prediction (PDP): A synthetic task trained with stress loss (borrowed from multidimensional scaling) to test whether supervised message passing can recover true shortest-path distances when explicitly asked to.
  • Theoretical Model Distortion: Formalizing geometry–task alignment in node regression, they define model distortion—a condition number measuring how the entire encoder-plus-linear-readout pipeline stretches or compresses the graph metric, revealing a "boundary-compression" trap when linear solvers read Poincaré coordinates near the edge of the ball.
  • Fair Re-benchmarking & Feature Noise: They clean up standard benchmarks (fixing data leakage in Airport and splitting bugs in Disease), compute exact $\delta$-hyperbolicity, and inject Gaussian noise into node features during link prediction to separate genuine geometric learning from models simply coasting on informative features.

Datasets

  • Newly constructed synthetic probes: Balanced trees ($781$ nodes; and a root-heavy $800+$-node variant for node regression) vs. a $28 \times 28$ 2D Euclidean Grid ($784$ nodes), paired with target-permutation controls (shuffling labels to break geometric alignment while keeping the graph identical).
  • Standard real-world benchmarks: Disease ($\delta=0$), Airport ($\delta=2$), Cora ($\delta=4$), Pubmed ($\delta=4.5$), and Citeseer ($\delta=6.5$).

Key Insights and Ideas

  • Hyperbolic space shines under low-capacity metric supervision—until Euclidean space buys more dimensions: When the task explicitly demands distance preservation (PDP) on a tree, HGNNs crush Euclidean models in low dimensions ($d=3$). However, echoing Nash's embedding theorems, cranking the dimension up to $d=128$ lets Euclidean GNNs brute-force a low-distortion fit and close the gap. On a 2D grid, the tables turn completely in favor of flat space.
Figure 2: Test Stress Loss (↓) vs. embedding dimension for the PDP task. Markers show mean over 10 seeds; shaded regions indicate standard deviation.
  • Shuffling the labels kills the hyperbolic advantage: Take the exact same $\delta=0$ tree, randomly permute the target values across nodes, and the HGNN advantage vanishes. Input hyperbolicity is useless without task alignment.
  • Link Prediction is naturally geometry-aligned; Node Classification usually isn't: Link prediction with a distance decoder asks "are these two nodes close?", directly rewarding metric faithfulness. Node classification uses cross-entropy to separate discrete, permutation-invariant classes—encouraging representation collapse into tidy blobs rather than preserving shortest-path trees.
  • Curvature can fight your readout: In tangent-space models like HGCN, if the manifold curves too aggressively, points bunch up near the Poincaré ball boundary in Euclidean coordinates, making life miserable for a linear decoder unless curvature is kept small.
Left: HGCN hits a sweet spot at mild curvature before degrading. Middle/Right: Hyperbolic embeddings preserve graph distances (lower stress) during Link Prediction on low-delta graphs, whereas Node Classification fails to preserve distances across the board.

Key Results

  • Node Regression (MAE $\downarrow$): On the aligned synthetic tree ($d \le 128$), fully hyperbolic HyboNet achieves 0.07 MAE and HGCN hits 0.08, handily beating GCN (0.47) and GAT (0.21). On the shuffled control, every model stalls around 1.16–1.23. On the Euclidean grid at $d=3$, GAT gets 0.41 while HyboNet struggles at 1.85.
  • Link Prediction (ROC AUC $\uparrow$): On tree-like graphs, HGNNs beat the best Euclidean GNNs by +4.74 points on Disease (97.99% vs. 93.25%) and +1.57 on Airport (98.15% vs. 96.58%). On less hyperbolic Citeseer ($\delta=6.5$), Euclidean GCN wins (hyperbolic gain of -1.56). When Gaussian noise degrades node features on Disease and Airport, MLP collapses while HyboNet maintains the highest AUC and lowest embedding distortion.
  • Node Classification (Macro F1 $\uparrow$): Under fair tuning, HGNN gains evaporate across standard datasets: -1.54 on Airport, -1.99 on Cora, -0.16 on Pubmed, -1.87 on Citeseer, and a noisy +1.01 on Disease (90.51% vs. 89.50%, well within the $\sim 4\%$ standard deviations).

Limitations and Future Work

The authors' theoretical framework currently covers univariate node regression with linear decoders in Euclidean ambient spaces (leaving out Minkowski-space models like HyboNet and distance-based link prediction decoders from exact proofs). Furthermore, there is no plug-and-play quantitative score yet to measure geometry–task alignment before training on an arbitrary dataset. Finally, the field lacks real-world hyperbolic node-regression benchmarks—an open gap where HGNNs should theoretically thrive.

Summary updated

Abstract

Many complex networks exhibit hierarchical, tree-like structures, making hyperbolic space a natural candidate wherein to learn representations of them. Based on this observation, Hyperbolic Graph Neural Networks (HGNNs) have been widely adopted as a principled choice for representation learning on tree-like graphs. In this work, we question this paradigm by proposing the additional condition of geometry–task alignment, i.e., whether the metric structure of the target follows that of the input graph. We theoretically and empirically demonstrate the capability of HGNNs to recover low-distortion representations on regression problems, and show that their geometric inductive bias becomes helpful when the problem requires preserving metric structure. By jointly analyzing predictive performance and embedding distortion, we further show that HGNNs gain an advantage on link prediction, a naturally geometry-aligned task, whereas this advantage largely disappears on standard node classification benchmarks, which are typically not geometry-aligned. Overall, our findings shift the focus from only asking *Is the graph hyperbolic?* to also questioning *Is the task aligned with hyperbolic geometry?*, showing that HGNNs consistently outperform Euclidean models under such alignment, while their advantage vanishes otherwise.
BibTeX
@inproceedings{naddeo2026hyperbolic,
  author = {Dionisia Naddeo and Jonas Linkerhägner and Nicola Toschi and Geri Skenderi and Veronica Lachi},
  title = {{Hyperbolic Graph Neural Networks Under the Microscope: The Role of Geometry–Task Alignment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=e6asnq38T9},
}
Figure