TL;DR
This paper introduces HKConv, a novel hyperbolic convolution layer that effectively captures local geometric patterns in hyperbolic spaces, a capability lacking in previous hyperbolic neural networks. By correlating local features with fixed kernel points and aggregating them, HKConv achieves state-of-the-art results across various tasks, including node classification and graph classification, demonstrating its power and generality.
What Problem Does This Paper Address?
Hyperbolic neural networks (HNNs) have shown great promise due to their ability to represent hierarchical data structures. However, a key limitation has been the difficulty in adapting standard Euclidean operations like convolution to the hyperbolic space. Existing HNNs often rely on linear layers, which lack the inductive bias for local pattern extraction, or use Euclidean convolutions that don't respect hyperbolic geometry. Some attempts at hyperbolic convolution either miss crucial properties like permutation equivariance or are limited to specific data structures. This paper addresses the challenge of designing a generic, effective hyperbolic convolution that can capture local geometric information while being compatible with various hyperbolic models and data types.
Methods
The core contribution is the Hyperbolic Kernel Convolution (HKConv) layer. It operates in three main steps:
- Relative Feature Transformation: For an input node
xand its neighborsN(x), HKConv first computes relative features by translating neighbors into the tangent space atx, then transporting them to the origin, and finally projecting them back to the hyperbolic space. This is achieved using hyperbolic "translation" operations. - Kernel Correlation and Aggregation: Learnable hyperbolic linear layers transform these relative features. The correlation between these transformed features and pre-defined, fixed hyperbolic kernel points is then computed. This correlation is used as weights to aggregate the transformed features. The paper proposes two aggregation methods: point-correlation (using distance to kernel points) and self-correlation (using distance between transformed features and kernel points).
- Neighborhood Aggregation: The aggregated features from all neighbors are then combined to produce the final output feature for
x. This step can utilize standard neighborhood aggregation methods, including learnable attention.
A key aspect is the fixed kernel points, which are pre-determined by minimizing a loss function that balances expressivity (kernel points far from each other) and gradient stability (kernel points not too far from the origin). This avoids numerical instability issues associated with training kernel points directly in the hyperbolic space. HKConv is designed to be generic, working with different hyperbolic models like Lorentz and Poincaré ball.
Datasets
The paper evaluates HKConv on several datasets for different tasks:
- Node Classification: WebKB (Cornell, Texas, Wisconsin), Wikipedia Network (Chameleon, Squirrel), and Actor Co-occurrence Network (Actor).
- Graph Classification: Chemical graphs (PTC, ENZYMES, PROTEIN) and social graphs (IMDB-B, IMDB-M). Additional experiments on ogbg-molhiv and ogbg-molpcba datasets are also reported.
- Link Prediction: Disease, Airport, and PubMed datasets.
- Non-Graph Task (Machine Translation & Dependency Tree Probing): IWSLT'14 and WMT'14 English-German datasets.
Key Insights and Ideas
- The Power of Fixed Kernel Points: Pre-defining kernel points by solving an optimization problem is crucial for numerical stability and avoids training complexities in hyperbolic spaces. This allows HKConv to focus on learning transformations of input features relative to these fixed geometric anchors.
- Generic Framework: HKConv's design is independent of the specific hyperbolic model (Lorentz, Poincaré, Klein), making it a versatile tool for various hyperbolic deep learning applications.
- Equivariance and Invariance: HKConv is shown to be equivariant to permutations of input features and invariant to local translations in the hyperbolic space, properties that are essential for robust geometric deep learning.
- Capturing Local Geometry: Unlike many previous hyperbolic methods that focus on topology or global structure, HKConv explicitly leverages local geometric relationships between features and kernel points, leading to improved performance.
- Trade-off in Kernel Points: The number of kernel points is a critical hyperparameter. Too few limits expressivity, while too many can lead to overfitting and computational challenges, highlighting a trade-off between model complexity and performance.
Key Results
- State-of-the-Art Performance: HKConv-based networks (HKNs) achieve state-of-the-art results on node classification, graph classification, and link prediction tasks across multiple datasets.
- Node Classification: HKNs, particularly SKN, consistently outperform both Euclidean and other hyperbolic baselines, with significant improvements (e.g., ~8% on PTC, ~15% on ENZYMES for graph classification).
- Graph Classification: SKN demonstrates a substantial advantage over other methods, achieving the best performance across all tested graph classification datasets.
- Link Prediction: SKN performs best on the Airport dataset and is comparable to other hyperbolic methods on Disease and PubMed.
- Machine Translation: SKN outperforms strong baselines like DynamicConv and BiBERT on both machine translation and dependency tree probing tasks.
- Ablation Studies: The results strongly validate the importance of the proposed methods: fixed kernel points (minimizing a specific loss), hyperbolic translation, and the self-correlation aggregation method. Randomly sampling kernel points or using direct translation leads to significant performance degradation.
Limitations and Future Work
- Parameter Growth: The number of parameters in HKConv grows with the number of kernels, which can lead to overfitting on small datasets and pose memory challenges for large graphs.
- Future Work: The authors suggest exploring sampling regimes for kernel points to reduce model complexity and address computational challenges on large graphs. They also mention investigating further applications of HKConv to non-graph tasks.
Summary updated