arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.09142cs.DC
收藏

图神经网络在点云应用中的性能表现

Performance of Graph Neural Networks for Point Cloud Applications

Dhruv Parikh, Bingyi Zhang, Rajgopal Kannan, Viktor Prasanna, Carl Busart

AI总结:

本文针对点云应用中基于EdgeConv的动态图神经网络进行性能剖析,发现kNN动态图构建占GPU延迟95%以上,并提出准动态图神经网络qDGNN在特定深度后停止图更新,以大幅降低延迟并保持精度。

摘要:

图神经网络(GNNs)由于具备在非结构化图数据上学习的能力,近年来获得了显著的发展势头。动态图神经网络(DGNNs)是当前点云应用的最先进技术;此类应用(如自动驾驶)需要在边缘端进行实时处理,并面临严格的延迟和内存约束。因此,对此类DGNN进行性能分析成为评估网络适用性的关键任务。本文提出了针对应用于点云输入的基于EdgeConv的DGNN的剖析分析。我们在最先进的CPU和GPU平台上评估了它们的推理性能,包括端到端延迟和内存消耗。EdgeConv层包含两个阶段:(1)使用k近邻(kNN)进行动态图生成,以及(2)节点特征更新。与在每个层中使用相同静态图的网络相比,在每个(EdgeConv)层中通过kNN添加动态图生成增强了网络性能;然而,这种性能提升是以与动态图生成阶段(通过kNN算法)相关的额外计算成本为代价的。理解其成本对于识别性能瓶颈和探索硬件加速的潜在途径至关重要。为此,本文旨在阐明基于EdgeConv的DGNN在点云输入上的性能特征。我们在一个用于分类的最先进EdgeConv网络上进行的性能分析表明,通过kNN进行的动态图构建在GPU上占网络延迟的95%以上,在CPU上几乎占90%。此外,我们提出了一种准动态图神经网络(qDGNN),它在网络内达到特定深度后停止动态图更新,从而显著降低CPU和GPU上的延迟,同时保持与原始网络相当的推理精度。

英文摘要:

Graph Neural Networks (GNNs) have gained significant momentum recently due to their capability to learn on unstructured graph data. Dynamic GNNs (DGNNs) are the current state-of-the-art for point cloud applications; such applications (viz. autonomous driving) require real-time processing at the edge with tight latency and memory constraints. Conducting performance analysis on such DGNNs, thus, becomes a crucial task to evaluate network suitability. This paper presents a profiling analysis of EdgeConv-based DGNNs applied to point cloud inputs. We assess their inference performance in terms of end-to-end latency and memory consumption on state-of-the-art CPU and GPU platforms. The EdgeConv layer has two stages: (1) dynamic graph generation using k-Nearest Neighbors (kNN) and, (2) node feature updation. The addition of dynamic graph generation via kNN in each (EdgeConv) layer enhances network performance compared to networks that work with the same static graph in each layer; such performance enhancement comes, however, at the added computational cost associated with the dynamic graph generation stage (via kNN algorithm). Understanding its costs is essential for identifying the performance bottleneck and exploring potential avenues for hardware acceleration. To this end, this paper aims to shed light on the performance characteristics of EdgeConv-based DGNNs for point cloud inputs. Our performance analysis on a state-of-the-art EdgeConv network for classification shows that the dynamic graph construction via kNN takes up upwards of 95% of network latency on the GPU and almost 90% on the CPU. Moreover, we propose a quasi-Dynamic Graph Neural Network (qDGNN) that halts dynamic graph updates after a specific depth within the network to significantly reduce the latency on both CPU and GPU whilst matching the original networks inference accuracy.

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

↑