Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Heterogeneous Sheaf Neural Networks

About

Heterogeneous graphs, whose nodes and edges can belong to different types and feature spaces, arise in many real-world domains, including biology, recommendation, social networks, and computer systems. Existing heterogeneous graph neural networks typically handle this heterogeneity at the architectural level through relation-specific modules, meta-path machinery or type-aware attention, which often leads to increasingly specialised parameter-heavy designs. In this work, we propose HetSheaf, a framework for learning heterogeneous graphs through cellular sheaves. Instead of encoding heterogeneity solely in the architecture, HetSheaf represents it directly in the underlying data structure by assigning type-aware local feature spaces and learning restriction maps conditioned on node features, node types, and edge types. To support graph-level prediction, we further introduce SheafPool, a universal stalk-space readout that aggregates node representations while being invariant to local changes of basis, thereby making graph classification with sheaf networks well-defined and achieving an F1 Score up to 42 percentage points higher than mean pooling. Across a diverse suite of benchmarks (node classification, link prediction and graph classification). HetSheaf consistently achieves up to 2 percentage points higher performance (up to 94.97% Macro F1 Score on node classification and up to 99.62% on link prediction) on the Heterogeneous Graph Benchmark (HGB) framework against homogeneous (GCN, GAT, GIN, GraphSAGE), heterogeneous (R-GCN, HAT, HGT) and type-agnostic sheaf baselines, while reducing the number of parameters by up to 10$\times$.

Luke Braithwaite, Alessio Borgi, Gabriele Onorato, Kristjan Tarantelli, Francesco Restuccia, Fabrizio Silvestri, Pietro Li\`o• 2024

Related benchmarks

TaskDatasetResultRank
Graph ClassificationPROTEINS--
1252
Graph ClassificationMUTAG--
1103
Node ClassificationIMDB
Macro F1 Score0.6454
211
Link PredictionPubmed
AUC93.98
156
Node ClassificationACM
Macro F194.31
152
Node ClassificationDBLP
Macro F10.9497
37
Link PredictionAMAZON
ROC-AUC0.9171
33
Node ClassificationIMDb (20% train)--
28
Node ClassificationDBLP (20% train)--
28
Link PredictionLastFM
ROC-AUC0.9833
26
Showing 10 of 24 rows

Other info

Follow for update