图神经网络(GNN)最近受到了广泛的欢迎,这要归功于它们对量子化学、药物发现和高能物理等图形相关问题的广泛适用性。然而,由于开发高效的加速器和快速创建新的GNN模型之间的差距,同时满足对新的GNN模型和快速推理的需求是具有挑战性的。现有技术集中于加速特定类别的GNN,例如图卷积网络(GCN),但缺乏支持广泛范围的现有或新的GNN模型的一般性。此外,大多数作品依赖于图的预处理,以利用数据的局部性,使他们不适合实时的【形】应用程序。为了解决这些限制,在这项工作中,我们提出了一个通用的GNN加速架构,名为FlowGNN,它可推广到大多数消息传递GNN。贡献是三方面的。首先,我们提出了一种新颖的和可扩展的的GNN架构,它通常支持广泛的GNN模型与消息传递机制。该架构具有一个可配置的并行优化,用于同时计算节点嵌入,边缘嵌入和消息传递,这通常适用于所有模型。我们还提出了一个丰富的模型特定的组件库。其次,我们提供了超快的实时的【形】GNN推理,而无需任何图形预处理,使其与动态变化的图形结构无关。第三,我们在Xilinx Alveo U 50 FPGA板上验证了我们的架构,并测量了板上端到端性能。我们在CPU(6226 R)上实现了高达24- 254倍的加速,在GPU(A6000)上实现了1.3- 477倍的加速(批量大小为1到1024);我们还在四个数据集上以1.26倍的加速和1.55倍的能效优于SOTA GNN加速器I-GCN。我们的实现代码和板载测量在GitHub上公开。
英文摘要:
Graph neural networks (GNNs) have recently exploded in popularity thanks to their broad applicability to graph-related problems such as quantum chemistry, drug discovery, and high energy physics. However, meeting demand for novel GNN models and fast inference simultaneously is challenging due to the gap between developing efficient accelerators and the rapid creation of new GNN models. Prior art focuses on accelerating specific classes of GNNs, such as Graph Convolutional Networks (GCN), but lacks generality to support a wide range of existing or new GNN models. Furthermore, most works rely on graph pre-processing to exploit data locality, making them unsuitable for real-time applications. To address these limitations, in this work, we propose a generic dataflow architecture for GNN acceleration, named FlowGNN, which is generalizable to the majority of message-passing GNNs. The contributions are three-fold. First, we propose a novel and scalable dataflow architecture, which generally supports a wide range of GNN models with message-passing mechanism. The architecture features a configurable dataflow optimized for simultaneous computation of node embedding, edge embedding, and message passing, which is generally applicable to all models. We also propose a rich library of model-specific components. Second, we deliver ultra-fast real-time GNN inference without any graph pre-processing, making it agnostic to dynamically changing graph structures. Third, we verify our architecture on the Xilinx Alveo U50 FPGA board and measure the on-board end-to-end performance. We achieve a speed-up of up to 24-254x against CPU (6226R) and 1.3-477x against GPU (A6000) (with batch sizes 1 through 1024); we also outperform the SOTA GNN accelerator I-GCN by 1.26x speedup and 1.55x energy efficiency over four datasets. Our implementation code and on-board measurement are publicly available on GitHub.
FLARE: A Dataflow-Aware and Scalable Hardware Architecture for Neural-Hybrid Scientific Lossy Compression
University of Texas at Arlington(德克萨斯大学阿灵顿分校);Texas A&M University(得克萨斯农工大学);Argonne National Laboratory(阿贡国家实验室);University of Maryland, College Park(马里兰大学帕克分校);Oakland University(奥克兰大学);University of Kentucky(肯塔基大学);University of Nebraska Omaha(内布拉斯加大学奥马哈分校);Temple University(天普大学);PNNL(太平洋西北国家实验室)