arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.16670cs.LG
收藏

PyTorch Geometric High Order:一个面向高阶图神经网络的统一库

PyTorch Geometric High Order: A Unified Library for High Order Graph Neural Network

Institute for Artificial Intelligence(人工智能研究院);Peking University(北京大学)

Xiyuan Wang, Muhan Zhang

AI总结:

本文提出统一高阶图神经网络库 PyGHO,通过标准化节点元组数据结构、数据处理工具和灵活算子简化 HOGNN 实现,在真实任务中实现最高 50% 加速并将代码量减少一个数量级。

摘要:

我们介绍 PyTorch Geometric High Order (PyGHO),这是一个面向高阶图神经网络(HOGNNs)的库,扩展了 PyTorch Geometric (PyG)。与在节点之间交换消息的普通消息传递神经网络(MPNNs)不同,HOGNNs(包括子图 GNNs 和 k-WL GNNs)对节点元组进行编码,这一方法此前缺乏标准化框架,通常需要复杂编码。PyGHO 的主要目标是为各种 HOGNNs 提供统一且用户友好的接口。它通过精简的节点元组数据结构、全面的数据处理工具以及面向高阶 GNN 方法的一套灵活算子来实现这一目标。在这项工作中,我们对 PyGHO 进行了详细介绍,并在真实世界任务上将使用 PyGHO 实现的 HOGNNs 与其官方实现进行了比较。PyGHO 实现了高达 $50\%$ 的加速,并将实现所需代码量减少了一个数量级。我们的库可在 \url{https://github.com/GraphPKU/PygHO} 获取。

英文摘要:

We introduce PyTorch Geometric High Order (PyGHO), a library for High Order Graph Neural Networks (HOGNNs) that extends PyTorch Geometric (PyG). Unlike ordinary Message Passing Neural Networks (MPNNs) that exchange messages between nodes, HOGNNs, encompassing subgraph GNNs and k-WL GNNs, encode node tuples, a method previously lacking a standardized framework and often requiring complex coding. PyGHO's main objective is to provide an unified and user-friendly interface for various HOGNNs. It accomplishes this through streamlined data structures for node tuples, comprehensive data processing utilities, and a flexible suite of operators for high-order GNN methodologies. In this work, we present a detailed in-depth of PyGHO and compare HOGNNs implemented with PyGHO with their official implementation on real-world tasks. PyGHO achieves up to $50\%$ acceleration and reduces the code needed for implementation by an order of magnitude. Our library is available at \url{https://github.com/GraphPKU/PygHO}.

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

↑