Skip to main content
QUICK REVIEW

[论文解读] Graph Neural Networks in TensorFlow and Keras with Spektral

Daniele Grattarola, Cesare Alippi|arXiv (Cornell University)|Jun 22, 2020
Advanced Graph Neural NetworksComputer Science被引用 62
一句话总结

Spektral 是一个 TensorFlow/Keras 库,提供多种图神经网络层(消息传递和聚合)以及基准数据集,便于构建和原型化 GNN,以用于节点、图和图级任务。

ABSTRACT

In this paper we present Spektral, an open-source Python library for building graph neural networks with TensorFlow and the Keras application programming interface. Spektral implements a large set of methods for deep learning on graphs, including message-passing and pooling operators, as well as utilities for processing graphs and loading popular benchmark datasets. The purpose of this library is to provide the essential building blocks for creating graph neural networks, focusing on the guiding principles of user-friendliness and quick prototyping on which Keras is based. Spektral is, therefore, suitable for absolute beginners and expert deep learning practitioners alike. In this work, we present an overview of Spektral's features and report the performance of the methods implemented by the library in scenarios of node classification, graph classification, and graph regression.

研究动机与目标

  • 提供一个易于访问、用户友好的库,用于在 TensorFlow 和 Keras 中构建 GNN。
  • 调研并实现包括消息传递和聚合在内的广泛 GNN 层。
  • 在节点分类、图分类和图回归任务上展示性能。
  • 提供数据集和工具,以简化图数据处理与实验。

提出的方法

  • 将 15 种消息传递层(如 GCN、ChebNets、GraphSAGE、GAT、APPNP、GIN)实现为 Keras 层。
  • 提供 10 种聚合方法(如 DiffPool、MinCut、Top-K、SAGPool)以及六种全局聚合策略。
  • 使用与 Keras/TensorFlow 数据结构兼容的邻接矩阵、节点特征和边特征来表示图。
  • 支持多种数据模式(单一、分离、批量、混合),以实现灵活的图批处理与处理。
  • 包括数据集工具,用于加载如 Cora、Citeseer、Pubmed、PPI、Reddit、QM9、MNIST-8N 和图核数据集等基准数据集。
  • 基准测试并比较 Spektral 在节点分类、图分类和图回归任务上的性能。

实验结果

研究问题

  • RQ1在 TensorFlow 中可以实现为 Keras 层的图神经网络方法的广度有多大?
  • RQ2不同的消息传递和聚合策略在标准的节点和图级任务上表现如何?
  • RQ3Spektral 是否能够在 TensorFlow 生态系统中提供一个用户友好、适合生产的构建与评估 GNN 的工作流程?
  • RQ4在功能、兼容性和性能方面,所实现的方法与现有库相比如何?

主要发现

  • Spektral 在 TensorFlow 与 Keras 中实现了 15 种消息传递层和 10 种聚合层。
  • 该库支持多种图任务,包括节点分类、图分类和图回归,使用标准基准数据集。
  • 全局聚合方法和图聚合层在不同数据集上呈现出与任务相关的性能差异。
  • 该框架强调易用性和快速原型开发,与 Keras 的设计原则一致。
  • 与其他库相比,Spektral 在 TensorFlow 生态系统内的核心 GNN 组件方面提供了功能对等性,且性能具竞争力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。