arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.04318cs.LGcs.AI
收藏

使用TensorFlow-Keras实现图神经网络

Implementing graph neural networks with TensorFlow-Keras

Institute of Nanotechnology, Karlsruhe Institute of Technology (KIT)(卡尔斯鲁厄理工学院纳米技术研究所);Institute of Theoretical Informatics, Karlsruhe Institute of Technology (KIT)(卡尔斯鲁厄理工学院理论信息学研究所)

Patrick Reiser, Andre Eberhard, Pascal Friederich

AI总结:

本报告介绍了一个基于TensorFlow-Keras的图神经网络实现,通过RaggedTensor支持小批量处理,并开发了kgcnn包提供易用的Keras图卷积与池化层。

摘要:

图神经网络是一种多功能的机器学习架构,近年来受到了广泛关注。在本技术报告中,我们提出了针对TensorFlow-Keras模型的卷积层和池化层的实现,该实现能够无缝且灵活地集成到标准Keras层中,以函数式方式构建图模型。这意味着将小批量(mini-batches)作为第一个张量维度,这可以通过TensorFlow中最新且最适合图数据的RaggedTensor类来实现。我们开发了基于TensorFlow-Keras的Keras图卷积神经网络Python包kgcnn,该包提供了一组用于图网络的Keras层,其重点在于层之间传递的透明张量结构以及易用性的设计理念。

英文摘要:

Graph neural networks are a versatile machine learning architecture that received a lot of attention recently. In this technical report, we present an implementation of convolution and pooling layers for TensorFlow-Keras models, which allows a seamless and flexible integration into standard Keras layers to set up graph models in a functional way. This implies the usage of mini-batches as the first tensor dimension, which can be realized via the new RaggedTensor class of TensorFlow best suited for graphs. We developed the Keras Graph Convolutional Neural Network Python package kgcnn based on TensorFlow-Keras that provides a set of Keras layers for graph networks which focus on a transparent tensor structure passed between layers and an ease-of-use mindset.

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

↑