Introduction
Standard Graph Neural Networks (GNNs) typically operate in Euclidean space ($\mathbb{R}^n$), treating node and edge features as simple real-valued vectors. While successful, this approach often necessitates high-dimensional weight matrices to capture complex feature interactions, leading to substantial memory overhead and potential overfitting. Previous attempts to mitigate this using fixed hypercomplex algebras (e.g., complex numbers or quaternions) introduced useful weight-sharing inductive biases but were limited by rigid, predefined multiplication rules.
This work introduces Parameterized Hypercomplex Graph Neural Networks (PHC-GNNs). Instead of adhering to a fixed algebra, PHC-GNNs learn the underlying rules of feature interaction directly from the data. This flexibility allows the model to scale to any dimension $n$ and discover optimal algebraic structures for specific graph tasks, resulting in highly efficient and expressive representations.
The PHC-GNN Framework
The core of the architecture is the Parameterized Hypercomplex Multiplication (PHM) layer. In a standard GNN layer, a weight matrix $W$ transforms features. In a PHC-GNN, this matrix is replaced by a structured block-matrix $U$, constructed via a sum of Kronecker products:
$$U = \sum_{i=1}^n C_i \otimes W_i$$
Here, $W_i$ are learnable weight matrices, and $C_i$ are contribution matrices. Unlike traditional hypercomplex networks where $C_i$ are fixed (e.g., to represent the Hamilton product in quaternions), PHC-GNNs treat $C_i$ as learnable parameters. This allows the network to "learn the algebra" that best suits the dataset.
To ensure stability at higher dimensions $n$, the authors introduced a cyclic permutation initialization and $L_p$-norm regularization on the contribution matrices. These techniques prevent the learned algebra from becoming overly sparse or unstable during training.
Experimental Results
The PHC-GNN was evaluated against several benchmarks, including the Open Graph Benchmark (OGB) and the ZINC molecular dataset. The results demonstrate that PHC-GNNs can achieve state-of-the-art performance while significantly reducing the parameter budget.
As shown in the table above, on the ogbg-molpcba dataset, the PHC-4 model achieves a Precision-Recall (PR) score of 29.30% using only 0.99M parameters. This represents a ~70% reduction in memory footprint compared to the 3.15M parameters required by the PHC-1 baseline, while actually improving performance. On ogbg-molhiv, the PHC-4 variant achieved a top ROC-AUC of 79.34% with only 111K parameters.
On the ZINC dataset, PHC-models consistently outperformed real-valued baselines. For instance, at a 400K parameter budget, PHC-5 reached a Mean Absolute Error (MAE) of 0.164, compared to 0.178 for the standard baseline.
Discussion and Future Work
The success of PHC-GNNs stems from the implicit regularization provided by the Kronecker product structure. This weight-sharing mechanism forces the model to learn more generalizable features, leading to a smaller gap between training and test performance.
However, the increased complexity of computing multiple Kronecker products means that while the model is memory-efficient, it does not currently offer a speed advantage in terms of FLOPs. Future research will focus on developing optimized CUDA kernels for these operations and exploring the application of hypercomplex rules to the aggregation phase of message passing, potentially further increasing the expressivity of graph representations.
Summary updated