Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hyperbolic Heterogeneous Graph Transformer

Updated 20 January 2026
  • Hyperbolic Heterogeneous Graph Transformer (HypHGT) is a graph neural network architecture that embeds heterogeneous graph data in hyperbolic space to capture hierarchical structures.
  • It employs relation-specific hyperbolic attention and kernelized feature mapping to eliminate frequent tangent-space transitions, enhancing efficiency and accuracy.
  • The model delivers scalable performance with reduced GPU memory usage and faster processing, outperforming previous GNNs on both real-world and synthetic datasets.

The Hyperbolic Heterogeneous Graph Transformer (HypHGT) is a graph neural network architecture designed to learn high-fidelity representations on heterogeneous graphs by operating entirely within hyperbolic space. Leveraging transformer-based mechanisms, HypHGT is distinguished by its relation-specific hyperbolic attention and its avoidance of frequent tangent-space mappings, resulting in improved hierarchical modeling performance, scalable computational characteristics, and enhanced efficiency compared to previous hyperbolic and message-passing-based GNNs (Park et al., 13 Jan 2026).

1. Lorentz Model and Hyperbolic Foundations

HypHGT bases its geometric framework on the Lorentz model of hyperbolic geometry, which is characterized by manifolds of constant negative curvature c<0c < 0. The Lorentz manifold Ln,c\mathcal{L}^{n,c} is defined as:

Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}

where x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s denotes the Lorentzian inner product, with xsx_s as the spatial and xtx_t as the time components. Tangent spaces at xx are given by:

TxLn,c={vRn+1v,xL=0}T_x\mathcal{L}^{n,c} = \{ v \in \mathbb{R}^{n+1} \mid \langle v,x \rangle_\mathcal{L} = 0 \}

Key operations include the exponential map expxc:TxLL\exp_x^c: T_x\mathcal{L} \rightarrow \mathcal{L} and the logarithm map logxc:LTxL\log_x^c: \mathcal{L} \rightarrow T_x\mathcal{L}, defined as:

Ln,c\mathcal{L}^{n,c}0

Ln,c\mathcal{L}^{n,c}1

HypHGT employs specialized modules:

  • Hyperbolic linear layer (HT): Given Ln,c\mathcal{L}^{n,c}2, Ln,c\mathcal{L}^{n,c}3, and Ln,c\mathcal{L}^{n,c}4, computes Ln,c\mathcal{L}^{n,c}5 in ambient space and then normalizes to curvature Ln,c\mathcal{L}^{n,c}6.
  • Hyperbolic residual/refinement (HR): Applies Euclidean transformations (e.g., dropout, LayerNorm, activations) to Ln,c\mathcal{L}^{n,c}7, then re-embeds to curvature Ln,c\mathcal{L}^{n,c}8.

2. Relation-Specific Hyperbolic Attention Mechanism

In HypHGT, heterogeneous graphs Ln,c\mathcal{L}^{n,c}9 with diverse relation types Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}0 are encoded in three hyperbolic spaces:

  • Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}1 for input features
  • Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}2 per relation for queries, keys, and values
  • Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}3 for output aggregation

Initialization: Embedding Euclidean features Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}4 via

Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}5

Dropout & Normalization: For each relation Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}6 and batch Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}7,

Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}8

Query, Key, Value Construction: Relation-specific transformations use Ln,c={xRn+1x,xL=1/c,xt>0}\mathcal{L}^{n,c} = \{ x \in \mathbb{R}^{n+1} \mid \langle x,x \rangle_\mathcal{L} = 1/c,\, x_t > 0\}9:

x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s0

Kernelized Feature Mapping: The spatial components are mapped by

x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s1

producing x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s2.

Linear-Time Attention: Rather than softmax, HypHGT deploys a kernel trick:

x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s3

where x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s4 is a vector of ones. For each source x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s5 and targets x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s6:

x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s7

Lorentz Vector Reconstruction:

x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s8

3. Aggregation, Output Computation, and Multi-Head Design

HypHGT aggregates information across relations and heads by transitioning from per-relation hyperbolic spaces to a unified output:

  • Relation-to-Output Transformation: For each x,yL=xtyt+xsys\langle x,y \rangle_\mathcal{L} = -x_t y_t + x_s^\top y_s9,

xsx_s0

  • Mean Aggregation in Tangent Space:

xsx_s1

  • Multi-Head Concatenation: For xsx_s2 heads,

xsx_s3

4. Computational Efficiency and Complexity Analysis

HypHGT achieves linear time complexity for attention and aggregation:

  • Core Block Complexity: xsx_s4 per head
  • Overall Heterogeneous GNN Complexity: xsx_s5, where xsx_s6 and xsx_s7 are node and edge counts
  • Total Model Complexity: xsx_s8, linear with respect to the graph size

This is realized by eschewing explicit xsx_s9 softmax normalization, instead replacing it with kernelization and leveraging direct manifold operations. All attention, linear transformations, residual refinements, and layer normalizations are performed on the Lorentz manifold via HT and HR layers, requiring only two xtx_t0 calls (initial input embedding and final output projection). This architectural choice eliminates frequent mapping distortions typical of tangent-space GCNs.

5. Empirical Outcomes and Performance Characteristics

HypHGT demonstrates notable empirical gains on real-world and synthetic datasets:

  • On ACM/DBLP/IMDB, surpasses MSGAT (second-best hyperbolic heterogeneous GNN) by 1–2 Macro-F1 points (e.g., 68.9→70.5 on IMDB, 94.5→95.7 on DBLP).
  • On DBLP, HypHGT requires approximately 50% less GPU memory and is 2–3× faster than MSGAT or GTN.
  • On synthetic data scaling to 5 million nodes, HypHGT exhibits near-linear growth in computation, whereas prior GNNs with quadratic attention mechanisms reach memory or time limits.
  • Ablation studies verify that relation-specific curvatures xtx_t1 adapt to each relation’s degree distribution, supporting differential modeling for relation types such as Author–Paper and Paper–Conference.

6. Significance and Modeling Advances

HypHGT's design circumvents limitations of prior hyperbolic heterogeneous GNNs—specifically, it effectively models both local and global dependencies through its transformer-inspired architecture. By performing “soft” attention entirely on hyperbolic manifolds, leveraging linear-time kernelization, and learning per-relation curvatures, HypHGT can capture and propagate the complex structural and semantic properties inherent in heterogeneous graphs. These methodological innovations contribute to substantial improvements in hierarchical representation quality, computational efficiency, and scalability for heterogeneous graph learning (Park et al., 13 Jan 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Hyperbolic Heterogeneous Graph Transformer (HypHGT).