arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.04670cs.LG
收藏

Sheaf-MPNN:作为消息传递的层状神经网络库

Sheaf-MPNN: A Library for Sheaf Neural Networks as Message Passing

University of Cambridge(剑桥大学);Sapienza University of Rome(罗马第一大学);University of Trento(特伦托大学);KTH Royal Institute of Technology(皇家理工学院);University of Amsterdam(阿姆斯特丹大学);ETH Zürich(苏黎世联邦理工学院);NVIDIA(英伟达);University of Oxford(牛津大学)
Alessio Borgi, Mario Severino, Luke Braithwaite, Steve Azzolin, Rémi Bourgerie, Olga Zaghen, Emanuele Mule, Riccardo Ali, Leo Minh Kustermann, Edoardo Coppola, … 展开作者

Alessio Borgi, Mario Severino, Luke Braithwaite, Steve Azzolin, Rémi Bourgerie, Olga Zaghen, Emanuele Mule, Riccardo Ali, Leo Minh Kustermann, Edoardo Coppola, Antonio Purificato, Stefano Fiorini, Christopher Irwin, Filippo Spiga, Ling Guo, Fabrizio Silvestri, Michael Bronstein, Pietro Liò

AI总结:

Sheaf-MPNN是基于PyTorch Geometric的库,将层状扩散重新表述为局部关联传输与聚合,实现15类SNN,支持多图设置,提供基准套件,确立理论等价性,为层状架构提供统一基础。

摘要:

标准图神经网络(GNN)隐含假设相邻节点共享相同的特征空间,这会导致过平滑问题并在异质图上表现不佳。层状神经网络(SNN)通过为每个节点和边赋予独立的向量空间,并学习在邻居间传递特征的限制映射,消除了这一假设。这些映射定义了驱动图上扩散的层状拉普拉斯矩阵,但现有实现通常将其显式组装为全局稀疏块矩阵,这会增加内存和计算开销,且可能阻碍可扩展性。本文中,我们推出Sheaf-MPNN,一个PyTorch Geometric库,它将层状扩散重新表述为局部关联的传输与聚合,无需构建全局拉普拉斯矩阵。Sheaf-MPNN在统一的消息传递框架下实现了15类SNN,每类均支持同质与异质图、有向与无向设置,包含对角、通用、正交和低秩限制映射以及基于注意力的预测器。我们还提供了统一的基准测试套件,涵盖节点级和图级任务、异质图学习及计算效率,支持跨架构的系统且可复现的比较。我们确立了这些消息传递公式与其原始对应公式的理论等价性,并确定了保留其传播动态所需的架构机制。这一统一视角为在标准图学习框架内实现、比较和扩展基于层状的架构提供了原则性基础。源代码可在该https URL获取。

英文摘要:

Standard Graph Neural Networks (GNNs) implicitly assume that neighboring nodes share the same feature space, which contributes to oversmoothing and poor performance on heterophilic graphs. Sheaf Neural Networks (SNNs) remove this assumption by giving each node and edge its own vector space and learning restriction maps that transform features as they move between neighbors. These maps define a sheaf Laplacian that drives diffusion over the graph, but existing implementations often assemble it explicitly as a global sparse block matrix, which adds memory and computational overhead and can hinder scalability. In this paper, we introduce Sheaf-MPNN, a PyTorch Geometric library that reformulates sheaf diffusion as local incidence-wise transport and aggregation, eliminating the need to construct the global Laplacian. Sheaf-MPNN implements fifteen families of SNNs under a unified message-passing framework, each supporting both homogeneous and heterogeneous graphs, and directed and undirected settings, with diagonal, general, orthogonal, and low-rank restriction maps and attention-based predictors. We further provide a unified benchmarking suite covering node- and graph-level tasks, heterogeneous graph learning, and computational efficiency, enabling systematic and reproducible comparisons across architectures. We establish theoretical equivalence between these message-passing formulations and their original counterparts and identify the architectural mechanisms needed to preserve their propagation dynamics. This unified perspective provides a principled foundation for implementing, comparing, and extending sheaf-based architectures within standard graph learning frameworks. Source code is available at https://github.com/alessioborgi/sheaf-mpnn.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑