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レイヤーを調査し、実装する。
  • ノード分類、グラフ分類、グラフ回帰タスクにおける性能を実証する。
  • グラフデータ処理と実験を効率化するデータセットとユーティリティを提供する。

提案手法

  • G13 15 message-passing layers(例:GCN、ChebNets、GraphSAGE、GAT、APPNP、GIN)をKerasレイヤーとして実装する。
  • DiffPool、MinCut、Top-K、SAGPool などの10のプーリング手法と、6つのグローバルプーリング戦略を提供する。
  • 隣接行列、ノード特徴、エッジ特徴を、Keras/TensorFlow のデータ構造と互換性のある形でグラフとして表現する。
  • 柔軟なグラフバッチ処理のため、単一、分離、バッチ、混合といった複数のデータモードをサポートする。
  • Cora、Citeseer、Pubmed、PPI、Reddit、QM9、MNIST-8N、およびグラフカーネルデータセットのようなベンチマークをロードするデータセットユーティリティを含む。
  • ノード分類、グラフ分類、グラフ回帰タスクにおける Spektral の性能をベンチマークし、比較する。

実験結果

リサーチクエスチョン

  • RQ1TensorFlow 内で Keras レイヤーとして実装できるグラフニューラルネットワーク手法の幅はどれくらいか。
  • RQ2標準的なノードおよびグラフレベルのタスクで、異なるメッセージパッシングとプーリング戦略はどのように性能を発揮するか。
  • RQ3Spektral は TensorFlow エコシステムで、使いやすく生産性の高いワークフローを提供できるか。
  • RQ4実装された手法は、機能、互換性、性能の観点で既存のライブラリとどう比較されるか。

主な発見

  • Spektral は TensorFlow と Keras 内で 15 のメッセージパッシングレイヤーと 10 のプーリングレイヤーを実装している。
  • このライブラリは、標準ベンチマークを用いたノード分類、グラフ分類、グラフ回帰といったさまざまなグラフタスクをサポートする。
  • グローバルプーリング手法とグラフプーリング層は、データセット間でタスク依存の性能変動を示す。
  • このフレームワークは使いやすさと迅速なプロトタイピングを重視し、Keras の設計原則と合致している。
  • 他のライブラリと比較して、Spektral は TensorFlow エコシステム内のコア GNN コンポーネントと機能的対等性を提供し、競争力のある性能を示す。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。